扫描报告
45 /100
video-to-text
免费视频转文字 API - 使用免费 Whisper API 将视频/音频转为文字
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.
谨慎使用
Update SKILL.md to declare subprocess/execSync usage and filesystem write operations. Consider rewriting tool.js to use safer child_process.spawn() instead of execSync with string joining.
安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Undeclared subprocess execution via execSync | tool.js:24 |
| 中危 | Command injection risk pattern | tool.js:24 |
| 低危 | Undeclared filesystem write to temp directory | index.js:44 |
| 低危 | Hidden credential parameter in Python script | scripts/video2text.py:64 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 网络访问 | READ | READ | ✓ 一致 | SKILL.md mentions API calls to api.myshell.ai and api.openai.com |
| 命令执行 | NONE | WRITE | ✗ 越权 | tool.js:24 - execSync(args.join(' ')) |
| 文件系统 | NONE | WRITE | ✗ 越权 | index.js:44 - fs.createWriteStream(tempFile), index.js:103 - fs.unlink() |
| 环境变量 | NONE | NONE | — | No os.environ access detected |
4 项发现
中危 外部 URL 外部 URL
https://api.myshell.ai/v1/audio/transcriptions SKILL.md:53 中危 外部 URL 外部 URL
https://api.assemblyai.com/v2/upload scripts/video2text.py:49 中危 外部 URL 外部 URL
https://api.assemblyai.com/v2/transcript scripts/video2text.py:58 中危 外部 URL 外部 URL
https://api.assemblyai.com/v2/transcript/ scripts/video2text.py:69 目录结构
6 文件 · 16.3 KB · 602 行 JavaScript 2f · 328L
Python 1f · 141L
JSON 2f · 70L
Markdown 1f · 63L
├─
▾
scripts
│ └─
video2text.py
Python
├─
_meta.json
JSON
├─
index.js
JavaScript
├─
package.json
JSON
├─
SKILL.md
Markdown
└─
tool.js
JavaScript
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
node | system | system | 否 | Required runtime, no vulnerability scanning applicable |
安全亮点
✓ No evidence of credential exfiltration or data theft
✓ No base64-encoded payloads or obfuscated code
✓ No attempts to access ~/.ssh, ~/.aws, or other sensitive paths
✓ No curl|bash remote script execution
✓ No hidden instructions in comments or HTML
✓ Legitimate video transcription functionality with documented API endpoints
✓ Proper file cleanup after processing (fs.unlink)