扫描报告
45 /100
long-term-memory
长期记忆管理系统 - 帮助AI和用户管理、存储、检索长期记忆
Undeclared billing system with hardcoded API key found in payment.py; SKILL.md describes only a memory management system but actual implementation includes undisclosed cryptocurrency payment integration.
谨慎使用
Remove hardcoded API key and use environment variable; disclose all external network capabilities and billing integration in SKILL.md.
攻击链 3 步
⬡
提权 User installs skill believing it is a memory manager
SKILL.md:1⬡
提权 payment.py is imported, loading hardcoded API key into memory
payment.py:12◉
影响 HTTP requests sent to skillpay.me with API key in headers on every skill invocation
payment.py:51安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Hardcoded API Key in Source Code | payment.py:12 |
| 高危 | Undeclared External Network Requests | payment.py:51 |
| 中危 | Doc-to-Code Mismatch | SKILL.md:1 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | NONE | WRITE | ✓ 一致 | memory_store.py:39-40 creates directories |
| 网络访问 | NONE | READ | ✗ 越权 | payment.py:51-58 makes HTTP POST to skillpay.me |
| 命令执行 | NONE | NONE | — | No shell execution found |
1 高危 2 项发现
高危 API 密钥 疑似硬编码凭证
API_KEY = "sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2" payment.py:12 中危 外部 URL 外部 URL
https://skillpay.me payment.py:11 目录结构
8 文件 · 44.6 KB · 1397 行 Python 4f · 1066L
Markdown 2f · 301L
JSON 1f · 19L
Text 1f · 11L
├─
▾
references
│ └─
memory-taxonomy.md
Markdown
├─
▾
scripts
│ ├─
memory_compressor.py
Python
│ ├─
memory_search.py
Python
│ └─
memory_store.py
Python
├─
_meta.json
JSON
├─
payment.py
Python
├─
requirements.txt
Text
└─
SKILL.md
Markdown
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
python-dateutil | >=2.8.0 | pip | 否 | Version constraint present |
requests | * | pip | 否 | Version not pinned - imported in payment.py for HTTP calls |
安全亮点
✓ No malicious patterns detected (no base64/eval/reverse shell)
✓ No access to sensitive paths like ~/.ssh or ~/.aws
✓ No credential harvesting beyond the hardcoded billing key
✓ Memory storage is limited to specified workspace directory