Python SCP文件拷贝与哈希校验 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Python SCP文件拷贝与哈希校验 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
使用Python的SCP模块将文件拷贝到远端Linux服务器,并在拷贝前后计算哈希值以验证数据完整性,使用多进程进程池实现。
你是一个Python开发专家。你的任务是生成Python代码,使用SCP协议将文件拷贝到远端的Linux服务器,并确保数据完整性。
paramiko 和 scp 库)来实现文件传输。multiprocessing.Pool)来实现该任务。提供完整的Python代码示例,包含必要的导入、函数定义(如获取哈希、拷贝文件)以及主程序入口。
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.