扫描报告
50 /100
melo-tts-metadata-creator
MeloTTS metadata.list generation tool for training/fine-tuning with Whisper auto-transcription
Skill silently installs multiple undeclared Python packages (torch, whisper, audio-separator, librosa) and executes shell commands (nvidia-smi, pip install) without disclosure in SKILL.md documentation.
谨慎使用
Add explicit declarations for all package installations, subprocess usage, network access to PyTorch/pypi mirrors, and virtual environment setup to SKILL.md. Alternatively, split installation into a separate documented pre-requisite step.
安全发现 5 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Undeclared silent package installation 文档欺骗 | scripts/generate_metadata_list.py:18 |
| 中危 | Undeclared subprocess shell execution 文档欺骗 | scripts/env_manager.py:79 |
| 中危 | Undeclared extensive package dependencies 文档欺骗 | scripts/env_manager.py:188 |
| 低危 | Unpinned package versions 供应链 | scripts/ensure_package.py:45 |
| 低危 | Undeclared network access for model downloads 文档欺骗 | scripts/generate_metadata_list.py:47 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | WRITE | ✗ 越权 | scripts/config.py:20 creates LOG_DIR.parent.mkdir |
| 命令执行 | NONE | WRITE | ✗ 越权 | scripts/env_manager.py:79 subprocess.check_call pip install |
| 网络访问 | NONE | READ | ✗ 越权 | scripts/env_manager.py:148 downloads from pytorch.org |
| 环境变量 | NONE | READ | ✗ 越权 | scripts/env_manager.py:45 reads os.getenv(RUNNING_IN_VENV) |
| 技能调用 | NONE | WRITE | ✗ 越权 | scripts/generate_metadata_list.py:18 ensure_package.pip() auto-installs |
3 项发现
中危 外部 URL 外部 URL
https://pypi.tuna.tsinghua.edu.cn/simple scripts/ensure_package.py:50 中危 外部 URL 外部 URL
https://download.pytorch.org/whl/cpu scripts/env_manager.py:148 中危 外部 URL 外部 URL
https://download.pytorch.org/whl/ scripts/env_manager.py:161 目录结构
8 文件 · 32.2 KB · 861 行 Python 5f · 567L
Markdown 2f · 254L
Ignore 1f · 40L
├─
▾
scripts
│ ├─
config.py
Python
│ ├─
ensure_package.py
Python
│ ├─
env_manager.py
Python
│ ├─
generate_metadata_list.py
Python
│ └─
logger_manager.py
Python
├─
.gitignore
Ignore
├─
README.md
Markdown
└─
SKILL.md
Markdown
依赖分析 7 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
openai-whisper | * | pip (auto-installed) | 否 | Silent installation at runtime, not declared in docs |
torch | * | pip (auto-installed) | 否 | Downloaded from pytorch.org |
torchaudio | * | pip (auto-installed) | 否 | Downloaded from pytorch.org |
audio-separator | * | pip (auto-installed) | 否 | Installed in env_manager.py but not required for core functionality |
librosa | * | pip (auto-installed) | 否 | Installed but not imported anywhere in the codebase |
pydub | * | pip (auto-installed) | 否 | Installed but not imported anywhere in the codebase |
huggingface-hub | * | pip (auto-installed) | 否 | Installed but not imported anywhere in the codebase |
安全亮点
✓ No evidence of credential theft or credential harvesting
✓ No reverse shell or C2 communication patterns detected
✓ No base64-encoded or obfuscated payloads
✓ No access to sensitive paths like ~/.ssh, ~/.aws, or .env files
✓ No malicious persistence mechanisms (cron, startup hooks, backdoors)
✓ Package installation uses reputable sources (pytorch.org, pypi.tuna.tsinghua.edu.cn)
✓ Whisper transcription logic is legitimate and matches stated purpose
✓ Virtual environment creation is a reasonable security practice for dependency isolation