skill-security-vet
安全扫描工具存在重大文档-行为差异:vet.ts 支持扫描整个本地驱动器、自动隔离/删除文件,但 SKILL.md 完全未声明这些能力
vet.ts 的 scanLocalComputer 函数实现对整个系统驱动器(C:/D:/E:/F: 或 /)的递归扫描(深度5层,最大10000文件),但 SKILL.md 完全未声明此功能
vet.ts:152 Why this conclusion was reached
2/4 dimensions flagged1 undeclared or violating capabilities were inferred.
2 lower-risk artifacts were extracted and still need context.
The report includes 0 attack-chain steps and 2 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
What drove the risk score up
vet.ts 的 scanLocalComputer 函数可扫描 C:/D:/E:/F: 或 /,深度5层,最大10000文件,但 SKILL.md 仅描述技能目录扫描
quarantineFile/removeFile 功能可自动删除/隔离文件(配置 autoRemove=true),文档未声明
SYSTEM_DRIVES 定义暴露系统驱动器扫描意图
~/.opencode/config/ 和 quarantine 目录的读写操作未在文档说明
Most important evidence
未声明的本地驱动器完整扫描能力
vet.ts 的 scanLocalComputer 函数实现对整个系统驱动器(C:/D:/E:/F: 或 /)的递归扫描(深度5层,最大10000文件),但 SKILL.md 完全未声明此功能
vet.ts:152 未声明的自动隔离/删除功能
quarantineFile 和 removeFile 函数可自动删除或隔离文件,但 SKILL.md 未声明此文件操作能力
vet.ts:179 深度递归扫描可能影响系统性能
scanLocalComputer 支持 depth > 5 递归扫描,最多 10000 个文件,在大驱动器上可能消耗大量资源
vet.ts:159 config.autoRemove 与 whitelist 机制存在绕过风险
whitelist 在扫描循环中被检查,但如果 config.autoRemove=true,危险技能会被自动删除而不经过 whitelist 检查
vet.ts:246 Declared capability vs actual capability
vet.ts:179-193 quarantineFile vet.ts:127 VirusTotal API startup-scan.ts:24 Bun.env.HOME 无 shell 执行 Suspicious artifacts and egress
https://virustotal.com SKILL.md:46
https://www.virustotal.com/api/v3/files/$ vet.ts:127
Dependencies and supply chain
There are no structured dependency warnings.
File composition
vet.ts SKILL.md