扫描报告
45 /100
self-evolution-engine
自我进化引擎 - AI Skill自我分析、自我改进、自我学习能力
Skill contains a hardcoded API key for billing integration that is not properly declared in documentation, representing undeclared credential handling with potential for unauthorized charges.
谨慎使用
Replace hardcoded API key with environment variable reference (SKILLPAY_API_KEY). Add clear documentation about billing integration and network API calls in SKILL.md.
攻击链 2 步
⬡
提权 Attacker examines skill and extracts hardcoded API key from payment.py
payment.py:12◉
影响 Attacker uses extracted API key to make unauthorized charges to skillpay.me billing API
payment.py:44安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Hardcoded API Key | payment.py:12 |
| 中危 | Undeclared Network Communication | SKILL.md:1 |
| 低危 | Credential Stored in Version Control | payment.py:12 |
| 提示 | Billing Logic Auto-execution | payment.py:67 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | NONE | WRITE | ✓ 一致 | Used for logs, backups, snapshots, evolution patches - declared in feature set |
| 网络访问 | NONE | READ | ✗ 越权 | payment.py:25-67 makes requests to skillpay.me API with API key - not declared i… |
| 命令执行 | NONE | NONE | — | No subprocess or shell execution detected |
| 环境变量 | NONE | READ | ✓ 一致 | Reads SKILLPAY_USER_ID from environment for billing - legitimate use case |
1 高危 2 项发现
高危 API 密钥 疑似硬编码凭证
API_KEY = "sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2" payment.py:12 中危 外部 URL 外部 URL
https://skillpay.me payment.py:11 目录结构
9 文件 · 56.0 KB · 1662 行 Python 5f · 1300L
Markdown 2f · 329L
JSON 1f · 19L
Text 1f · 14L
├─
▾
references
│ └─
architecture.md
Markdown
├─
▾
scripts
│ ├─
error_analyzer.py
Python
│ ├─
evolution_generator.py
Python
│ ├─
performance_monitor.py
Python
│ └─
version_manager.py
Python
├─
_meta.json
JSON
├─
payment.py
Python
├─
requirements.txt
Text
└─
SKILL.md
Markdown
依赖分析 5 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
requests | * | pip | 否 | Standard HTTP library, no specific vulnerabilities |
python-dateutil | >=2.8.0 | pip | 否 | Version pinned |
pandas | >=2.0.0 | pip | 否 | Optional dependency for advanced analysis |
psutil | >=5.9.0 | pip | 否 | Optional dependency for monitoring |
matplotlib | >=3.7.0 | pip | 否 | Optional dependency for reporting |
安全亮点
✓ No shell/subprocess execution detected - legitimate Python-only implementation
✓ No sensitive path access (no ~/.ssh, ~/.aws, .env file reading for theft)
✓ No base64 encoded commands or obfuscated payloads
✓ No data exfiltration mechanisms detected
✓ Version management includes backup/restore with human approval for changes
✓ Evolution system requires --confirm flag for applying patches
✓ No eval() or dangerous code execution patterns