Scan Report
25 /100
file-download-server
快速搭建临时文件下载服务器,支持HTTP下载、美观的下载页面、防火墙端口自动开放
A legitimate HTTP file download server with hardcoded IP address in documentation but no malicious code or hidden behavior detected.
Safe to install
Remove the hardcoded IP address (81.70.47.140) from QUICKSTART.md and replace with a placeholder. Otherwise, the skill's functionality is straightforward and its capabilities are properly documented.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Medium | Hardcoded IP address in documentation Doc Mismatch | references/QUICKSTART.md:57 |
| Low | Undeclared shell WRITE for iptables Priv Escalation | scripts/open_port.py:25 |
| Low | os.chdir() modifies process working directory Priv Escalation | scripts/start_server.py:38 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ | READ | ✓ Aligned | os.path.isdir/isfile checks, os.listdir for directory listing |
| Filesystem | NONE | WRITE | ✓ Aligned | generate_index.py writes HTML files; start_server.py calls os.chdir() |
| Shell | NONE | WRITE | ✓ Aligned | open_port.py:25 subprocess.run iptables; start_server.py:49,71 subprocess calls |
| Network | READ | READ | ✓ Aligned | http.server serves files on TCP port (inbound), no outbound network calls except… |
| Environment | NONE | NONE | — | No access to os.environ for credentials |
1 High 5 findings
High IP Address 硬编码 IP 地址
81.70.47.140 references/QUICKSTART.md:57 Medium External URL 外部 URL
http://your-server-ip:4000/ SKILL.md:74 Medium External URL 外部 URL
http://your-ip:8080/ SKILL.md:83 Medium External URL 外部 URL
https://netfilter.org/projects/iptables/ SKILL.md:210 Medium External URL 外部 URL
http://81.70.47.140:4000/ references/QUICKSTART.md:57 File Tree
6 files · 18.5 KB · 682 lines Python 3f · 347L
Markdown 2f · 330L
JSON 1f · 5L
├─
▾
references
│ └─
QUICKSTART.md
Markdown
├─
▾
scripts
│ ├─
generate_index.py
Python
│ ├─
open_port.py
Python
│ └─
start_server.py
Python
├─
_meta.json
JSON
└─
SKILL.md
Markdown
Security Positives
✓ No obfuscation detected — all code is plain, readable Python
✓ No credential theft or environment variable enumeration
✓ No base64, eval, or anti-analysis techniques
✓ No external dependencies — uses only Python standard library (no supply chain risk)
✓ All core functionality (HTTP server, HTML generation, firewall config) is declared in SKILL.md
✓ No network exfiltration or C2 communication in code
✓ Server binds to 0.0.0.0 (standard for file serving) and serves only the specified directory
✓ Download links in SKILL.md use placeholders (your-server-ip) rather than hardcoded IPs