skill-security-vet
Undeclared computer-wide filesystem scanning and auto-quarantine capabilities discovered - SKILL.md only mentions skill scanning but code includes full drive scanning mode.
为什么得出这个结论
2/4 个维度触发发现 2 项声明之外的能力或越权行为。
提取到 2 个一般风险产物,需要结合上下文判断。
报告包含 4 步攻击链,另有 2 项高危或严重发现。
依赖结构存在,但暂未看到明显高危告警。
攻击链
初始入口 · SKILL.md:1
reconnaissance · vet.ts:219
reconnaissance · vet.ts:239
最终危害 · vet.ts:160
风险分是怎么被拉高的
SKILL.md describes only skill scanning, but vet.ts has 'local' and 'full' modes scanning entire computer drives
Automatic file quarantine and removal without explicit user consent per operation
Scans all directories up to depth 5, examining all script file types across the entire system
Skill-scanning should not require full computer filesystem access
最关键的证据
Undeclared local/full computer scanning mode
vet.ts contains 'local' and 'full' scanning modes that recursively scan entire system drives (C:, D:, E:, F: on Windows, / on Unix) up to depth 5, examining 10,000+ files. SKILL.md only describes scanning installed skills in ~/.opencode/skill.
vet.ts:219 Automatic file quarantine without consent
The tool automatically quarantines (copies and deletes) or removes files identified as dangerous without prompting for user consent per operation. Configured via --auto flag.
vet.ts:160 Undocumented VirusTotal API integration
Code integrates with VirusTotal API to submit file hashes for scanning. While the SKILL.md mentions VirusTotal, it doesn't detail the API endpoint or that file hashes are sent externally.
vet.ts:127 Suspicious file pattern matching
Tool scans for credential-related patterns including decodeURIComponent with password/token, keyloggers, remote connection attempts (SSH/RDP). While legitimate for security scanning, combined with undeclared full drive access this could be used for credential harvesting.
vet.ts:50 Broad exclusion list suggests awareness of sensitive areas
The excludeSet includes AppData/Local/Temp, Windows, Program Files, etc. This suggests the tool is aware of and avoids Windows system areas while potentially targeting user data areas.
vet.ts:239 声明能力 vs 实际能力
vet.ts:219-263 (scanLocalComputer function scans entire drives) vet.ts:127-154 (VirusTotal API calls not mentioned in docs) No shell execution found 可疑产物与外联
https://virustotal.com SKILL.md:46
https://www.virustotal.com/api/v3/files/$ vet.ts:127
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| bun | bundled | system | 否 | Bun runtime required |
文件构成
vet.ts SKILL.md