扫描报告
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.
可以安装
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.
安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Hardcoded IP address in documentation 文档欺骗 | references/QUICKSTART.md:57 |
| 低危 | Undeclared shell WRITE for iptables 权限提升 | scripts/open_port.py:25 |
| 低危 | os.chdir() modifies process working directory 权限提升 | scripts/start_server.py:38 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | READ | ✓ 一致 | os.path.isdir/isfile checks, os.listdir for directory listing |
| 文件系统 | NONE | WRITE | ✓ 一致 | generate_index.py writes HTML files; start_server.py calls os.chdir() |
| 命令执行 | NONE | WRITE | ✓ 一致 | open_port.py:25 subprocess.run iptables; start_server.py:49,71 subprocess calls |
| 网络访问 | READ | READ | ✓ 一致 | http.server serves files on TCP port (inbound), no outbound network calls except… |
| 环境变量 | NONE | NONE | — | No access to os.environ for credentials |
1 高危 5 项发现
高危 IP 地址 硬编码 IP 地址
81.70.47.140 references/QUICKSTART.md:57 中危 外部 URL 外部 URL
http://your-server-ip:4000/ SKILL.md:74 中危 外部 URL 外部 URL
http://your-ip:8080/ SKILL.md:83 中危 外部 URL 外部 URL
https://netfilter.org/projects/iptables/ SKILL.md:210 中危 外部 URL 外部 URL
http://81.70.47.140:4000/ references/QUICKSTART.md:57 目录结构
6 文件 · 18.5 KB · 682 行 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
安全亮点
✓ 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