扫描报告
45 /100
stock-prediction
自动化股票预测工作流
Skill executes undeclared shell commands via subprocess with hardcoded Administrator paths, posing significant risk of unintended system modification.
谨慎使用
This skill should either be rejected or require explicit user confirmation before any shell command execution. The hardcoded C:\Users\Administrator paths indicate targeting of a specific victim's machine.
安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Undeclared shell command execution 文档欺骗 | scripts/run_prediction.py:28 |
| 高危 | Hardcoded Administrator user paths indicate targeted attack privile_escalation | scripts/health_check.py:14 |
| 中危 | Auto-startup service mechanism without user consent 持久化 | scripts/health_check.py:36 |
| 中危 | Hidden network behavior 文档欺骗 | scripts/health_check.py:21 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | NONE | WRITE | ✗ 越权 | scripts/health_check.py:46 - subprocess.Popen starts service |
| 网络访问 | NONE | READ | ✗ 越权 | scripts/health_check.py:21 - urllib GET to localhost:8000 |
| 命令执行 | NONE | WRITE | ✗ 越权 | scripts/run_prediction.py:28 - subprocess.run with powershell |
| 环境变量 | NONE | READ | ✗ 越权 | scripts/model_switch.py - uses conda environment activation |
目录结构
4 文件 · 9.7 KB · 335 行 Python 3f · 238L
Markdown 1f · 97L
├─
▾
scripts
│ ├─
health_check.py
Python
│ ├─
model_switch.py
Python
│ └─
run_prediction.py
Python
└─
SKILL.md
Markdown
安全亮点
✓ No evidence of credential harvesting (no access to ~/.ssh, ~/.aws, .env)
✓ No base64 encoding or obfuscation detected
✓ No external IP communications (only localhost)
✓ No C2 infrastructure indicators
✓ No supply chain risks (no external dependencies beyond standard library)