扫描报告
15 /100
system-controller
Control Windows desktop software, hardware, and IoT devices
A legitimate Windows system control skill with well-documented capabilities; one unused shell:WRITE function (run_cmd with shell=True) exists as a latent risk but poses no active threat since it is never invoked by any module.
可以安装
Remove or lock down the unused run_cmd() function in scripts/common.py (shell=True + no argument validation). Otherwise the skill is safe to use for its stated purpose.
安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 低危 | Unused shell=True execution path in common.py | scripts/common.py:44 |
| 低危 | Generic HTTP client accepts arbitrary URLs | scripts/iot_controller.py:89 |
| 提示 | Auto-install of pip packages without version pinning | scripts/iot_controller.py:23 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 命令执行 | WRITE | WRITE | ✓ 一致 | All scripts use subprocess.run/powershell — declared in SKILL.md Execution Model |
| 文件系统 | NONE | READ | ✓ 一致 | gui_controller.py:49 — screenshots written to screenshots/ subdir; not declared … |
| 网络访问 | READ | READ | ✓ 一致 | iot_controller.py makes HTTP GET/POST to user-supplied Home Assistant URLs; decl… |
| 浏览器 | NONE | NONE | — | N/A — no browser automation present |
| 数据库 | NONE | NONE | — | N/A |
| 剪贴板 | NONE | NONE | — | N/A |
| 环境变量 | NONE | READ | ✓ 一致 | common.py:29 os.environ.copy() — only used to inject PYTHONIOENCODING; not used … |
| 技能调用 | NONE | NONE | — | N/A |
3 项发现
中危 外部 URL 外部 URL
http://192.168.1.100:8123 references/command_reference.md:170 中危 外部 URL 外部 URL
http://192.168.1.50:8080 references/command_reference.md:190 中危 外部 URL 外部 URL
http://192.168.1.50/api scripts/iot_controller.py:14 目录结构
9 文件 · 95.0 KB · 2758 行 Python 7f · 2274L
Markdown 2f · 484L
├─
▾
references
│ └─
command_reference.md
Markdown
├─
▾
scripts
│ ├─
common.py
Python
│ ├─
gui_controller.py
Python
│ ├─
hardware_controller.py
Python
│ ├─
iot_controller.py
Python
│ ├─
process_manager.py
Python
│ ├─
serial_comm.py
Python
│ └─
window_manager.py
Python
└─
SKILL.md
Markdown
依赖分析 5 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
requests | * | pip | 否 | Version not pinned; auto-installed by iot_controller.py |
pyserial | * | pip | 否 | Version not pinned; auto-installed by serial_comm.py |
pyautogui | * | pip | 否 | Version not pinned; auto-installed by gui_controller.py |
pillow | * | pip | 否 | Version not pinned; auto-installed by gui_controller.py |
pytesseract | * | pip | 否 | Optional; version not pinned; used for OCR in gui_controller.py |
安全亮点
✓ All six modules' capabilities fully match SKILL.md declarations — no hidden functionality
✓ Process kill, shutdown, restart, and network adapter disable all require explicit user confirmation per SKILL.md safety rules
✓ No credential harvesting from ~/.ssh, ~/.aws, .env, or similar sensitive paths
✓ No base64-encoded payloads, reverse shells, eval() calls, or obfuscated code
✓ No remote script download (curl|bash, wget|sh patterns absent)
✓ No data exfiltration to external IPs — IoT calls go to user-supplied local URLs
✓ os.environ access is minimal (only PYTHONIOENCODING injection) with no sensitive key enumeration
✓ Input escaping present for PowerShell strings (replace "'", "''") to prevent injection