self-evolution-engine
The skill contains a hardcoded billing API key, undeclared external network calls to skillpay.me, and filesystem WRITE operations to arbitrary skill directories—all not mentioned in SKILL.md—with significant doc-to-code mismatch.
为什么得出这个结论
3/4 个维度触发发现 3 项声明之外的能力或越权行为。
提取到 1 个高危 IOC 或外联信号。
报告包含 5 步攻击链,另有 3 项高危或严重发现。
发现 5 项需要关注的依赖或供应链线索。
攻击链
初始入口 · SKILL.md:1
权限提升 · payment.py:59
权限提升 · payment.py:12
权限提升 · evolution_generator.py:39
最终危害 · requirements.txt:1
风险分是怎么被拉高的
payment.py:12 contains sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2 — credential exposed in source code
payment.py makes requests to https://skillpay.me without any mention in SKILL.md or capability declarations
evolution_generator.py and version_manager.py write to /root/.openclaw/workspace/skills — not declared in SKILL.md
SKILL.md omits: billing/payment system, external network calls, file system modifications, version management, evolution generation
最关键的证据
Hardcoded billing API key in source
A private API key for the SkillPay billing system is hardcoded in plain text at payment.py:12. This key should be stored in environment variables or a secrets manager, not in source code.
payment.py:12 Undeclared external network calls to billing API
The skill makes HTTP requests to https://skillpay.me (payment processing) on every invocation via require_payment(). SKILL.md makes no mention of network access or billing behavior.
payment.py:59 Filesystem WRITE operations not declared in SKILL.md
evolution_generator.py and version_manager.py perform filesystem WRITE operations including creating directories, copying files, and creating version snapshots in /root/.openclaw/workspace/skills. SKILL.md only mentions 'performance monitoring' and 'execution log tracking'.
evolution_generator.py:39 All dependencies use unpinned versions
requirements.txt uses >= version constraints for all packages (python-dateutil>=2.8.0, pandas>=2.0.0, numpy>=1.24.0, psutil>=5.9.0, matplotlib>=3.7.0). This allows supply chain attacks via malicious updated packages.
requirements.txt:1 SKILL.md lacks critical feature disclosures
SKILL.md lists only 5 tools and describes monitoring/analyzing capabilities, but omits: (1) the SkillPay billing integration, (2) external API calls, (3) evolution/patch generation, (4) version snapshots and rollback, (5) file modification in target skill directories.
SKILL.md:1 Hardcoded workspace path references /root
Both evolution_generator.py and version_manager.py hardcode workspace_dir = '/root/.openclaw/workspace/skills'. This is Linux-specific and references a privileged path.
evolution_generator.py:22 声明能力 vs 实际能力
evolution_generator.py:39 (mkdir), version_manager.py:43 (shutil.copy2), version_manager.py:87 (create_snapshot) payment.py:26,32,52 (requests.get/post to https://skillpay.me) No subprocess/os.system calls found payment.py:59 (os.environ.get('SKILLPAY_USER_ID')) 可疑产物与外联
API_KEY = "sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2" payment.py:12
https://skillpay.me payment.py:11
https://clawhub.ai/user/shenmeng skill-card.md:7
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| python-dateutil | >=2.8.0 | pip | 否 | Version not pinned — could install malicious latest version |
| pandas | >=2.0.0 | pip | 否 | Version not pinned |
| numpy | >=1.24.0 | pip | 否 | Version not pinned |
| psutil | >=5.9.0 | pip | 否 | Version not pinned |
| matplotlib | >=3.7.0 | pip | 否 | Version not pinned |
文件构成
payment.py SKILL.md skill-card.md requirements.txt