Scan Report
58 /100
income-lab
收入实验与执行系统 - A system for tracking income experiments and money-making methods
Hardcoded API key found in payment.py poses critical credential exposure risk. The skill implements legitimate billing integration but fails to follow secure credential management practices.
Do not install this skill
Remove hardcoded API key from source code and use environment variable SKILLPAY_API_KEY instead. The key is already referenced in _meta.json for environment variable lookup but not actually used.
Findings 4 items
| Severity | Finding | Location |
|---|---|---|
| Critical | Hardcoded API Key Exposed in Source Code | payment.py:12 |
| High | Inconsistent Credential Management | payment.py:16 |
| Medium | No Version Pinning in Dependencies | requirements.txt:1 |
| Low | Data Directory in User Home | scripts/experiment_tracker.py:19 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ,WRITE | READ,WRITE | ✓ Aligned | SKILL.md declares experiment_tracker.py; ~/.income-lab usage confirmed in script… |
| Network | READ | READ | ✓ Aligned | SKILL.md mentions billing system; payment.py makes requests to skillpay.me |
| Shell | NONE | NONE | — | No subprocess or os.system calls in any script |
| Environment | READ | READ | ✓ Aligned | payment.py reads SKILLPAY_USER_ID from os.environ |
| Skill Invoke | NONE | NONE | — | No skill invocation patterns found |
1 High 2 findings
High API Key 疑似硬编码凭证
API_KEY = "sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2" payment.py:12 Medium External URL 外部 URL
https://skillpay.me payment.py:11 File Tree
8 files · 38.7 KB · 1286 lines Markdown 3f · 632L
Python 3f · 626L
JSON 1f · 19L
Text 1f · 9L
├─
▾
references
│ ├─
income-methods.md
Markdown
│ └─
retrospective-framework.md
Markdown
├─
▾
scripts
│ ├─
experiment_tracker.py
Python
│ └─
weekly_reporter.py
Python
├─
_meta.json
JSON
├─
payment.py
Python
├─
requirements.txt
Text
└─
SKILL.md
Markdown
Dependencies 4 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
pandas | >=2.0.0 | pip | No | Version not pinned |
numpy | >=1.24.0 | pip | No | Version not pinned |
matplotlib | >=3.7.0 | pip | No | Version not pinned |
python-dateutil | >=2.8.0 | pip | No | Version not pinned |
Security Positives
✓ No shell execution vulnerabilities - no subprocess, os.system, or eval calls found
✓ No credential exfiltration - network requests only go to documented billing endpoint
✓ No suspicious base64 encoding or obfuscation
✓ No access to sensitive system paths like ~/.ssh, ~/.aws, or .env files
✓ No hidden functionality in HTML comments or other stealth channels
✓ No curl|bash or wget|sh remote script execution patterns
✓ Legitimate billing integration properly documented in SKILL.md
✓ Experiment tracking functionality matches declared capabilities