video-to-text
The skill has significant doc-to-code mismatch with undeclared shell execution via execSync and undeclared filesystem writes, though the underlying functionality appears legitimate for video transcription.
为什么得出这个结论
1/4 个维度触发发现 2 项声明之外的能力或越权行为。
提取到 4 个一般风险产物,需要结合上下文判断。
没有形成明确的恶意路径。
依赖结构存在,但暂未看到明显高危告警。
风险分是怎么被拉高的
SKILL.md does not mention execSync usage in tool.js; only declares the video_to_text tool interface
Downloads files to os.tmpdir() without declaring filesystem:WRITE capability
execSync(args.join(' ')) pattern is dangerous; args are joined to string before execution
Python script accepts --api-key for AssemblyAI but not declared in SKILL.md
最关键的证据
Undeclared subprocess execution via execSync
tool.js uses child_process.execSync() to execute shell commands but SKILL.md only declares the tool interface without mentioning this implementation detail.
tool.js:24 Command injection risk pattern
The execSync(args.join(' ')) pattern joins array elements into a single string before execution. While currently safe (URLs are passed as separate array items), this pattern is fragile and could become exploitable if parameters are modified.
tool.js:24 Undeclared filesystem write to temp directory
index.js downloads files to os.tmpdir() using fs.createWriteStream but this filesystem:WRITE usage is not declared in SKILL.md.
index.js:44 Hidden credential parameter in Python script
scripts/video2text.py accepts --api-key parameter for AssemblyAI but this capability is not documented in SKILL.md.
scripts/video2text.py:64 声明能力 vs 实际能力
SKILL.md mentions API calls to api.myshell.ai and api.openai.com tool.js:24 - execSync(args.join(' ')) index.js:44 - fs.createWriteStream(tempFile), index.js:103 - fs.unlink() No os.environ access detected 可疑产物与外联
https://api.myshell.ai/v1/audio/transcriptions SKILL.md:53
https://api.assemblyai.com/v2/upload scripts/video2text.py:49
https://api.assemblyai.com/v2/transcript scripts/video2text.py:58
https://api.assemblyai.com/v2/transcript/ scripts/video2text.py:69
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| node | system | system | 否 | Required runtime, no vulnerability scanning applicable |
文件构成
index.js scripts/video2text.py SKILL.md tool.js