Scan Report
25 /100
mp4-to-mp3-extractor
批量将指定目录下的 .mp4 视频文件提取为 .mp3 音频文件
A legitimate MP4-to-MP3 converter with undocumented dynamic package installation and unpinned dependencies, but no malicious behavior detected.
Safe to install
Declare subprocess/shell:WRITE in SKILL.md permissions, pin all dependency versions, and document the ffmpeg auto-download and venv creation behaviors.
Findings 5 items
| Severity | Finding | Location |
|---|---|---|
| Medium | Undeclared subprocess usage Doc Mismatch | SKILL.md:1 |
| Medium | Undocumented dynamic package installation Doc Mismatch | scripts/extract.py:17 |
| Medium | Unpinned dependencies with third-party mirror Supply Chain | scripts/ensure_package.py:50 |
| Low | Undeclared ffmpeg binary download Doc Mismatch | scripts/extract.py:40 |
| Low | Undeclared virtual environment creation Doc Mismatch | scripts/config.py:22 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Shell | NONE | WRITE | ✗ Violation | scripts/extract.py:41-50 subprocess.run for ffmpeg |
| Shell | NONE | WRITE | ✗ Violation | scripts/ensure_package.py:49-52 pip install subprocess |
| Shell | NONE | WRITE | ✗ Violation | scripts/env_manager.py:67 venv.create and pip upgrade |
| Filesystem | READ | WRITE | ✗ Violation | scripts/env_manager.py:70 creates venv directory |
| Filesystem | READ | WRITE | ✗ Violation | scripts/logger_manager.py:32 writes rotating log files |
3 findings
Medium External URL 外部 URL
https://pypi.tuna.tsinghua.edu.cn/simple scripts/ensure_package.py:50 Medium External URL 外部 URL
https://download.pytorch.org/whl/cpu scripts/env_manager.py:148 Medium External URL 外部 URL
https://download.pytorch.org/whl/ scripts/env_manager.py:161 File Tree
8 files · 28.6 KB · 696 lines Python 5f · 556L
Markdown 2f · 96L
Ignore 1f · 44L
├─
▾
scripts
│ ├─
config.py
Python
│ ├─
ensure_package.py
Python
│ ├─
env_manager.py
Python
│ ├─
extract.py
Python
│ └─
logger_manager.py
Python
├─
.gitignore
Ignore
├─
README.md
Markdown
└─
SKILL.md
Markdown
Dependencies 4 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
tqdm | * | pip | No | Version not pinned |
ffmpeg-downloader | * | pip | No | Version not pinned |
pydub | * | pip | No | Version not pinned |
pytorch | * | pip (commented) | No | Code present but commented out |
Security Positives
✓ No credential harvesting - environment variable access is limited to internal recursion control (RUNNING_IN_VENV)
✓ No network exfiltration - all network requests are to legitimate package mirrors (PyPI, gyan.dev)
✓ No obfuscation - all code is plaintext Python with clear docstrings
✓ No reverse shell or C2 communication
✓ No access to sensitive paths (~/.ssh, ~/.aws, .env)
✓ subprocess usage is legitimate CLI tool invocation (ffmpeg, pip, venv) appropriate for the stated purpose
✓ Error handling present with try-except blocks