self-evolution-engine
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.
Why this conclusion was reached
3/4 dimensions flagged1 undeclared or violating capabilities were inferred.
1 high-risk artifacts or egress signals were extracted.
The report includes 2 attack-chain steps and 1 severe findings.
2 dependency or supply-chain issues need attention.
Attack Chain
reconnaissance · payment.py:12
Impact · payment.py:44
What drove the risk score up
BILLING_API_KEY hardcoded as 'sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2' at payment.py:12
SKILL.md mentions SkillPay but does not clearly declare the network API calls or that payment.py contains billing logic with credentials
Makes HTTPS requests to skillpay.me API with authentication credentials not documented in capabilities
Skill does not appear to steal or exfiltrate user credentials; primary risk is unauthorized API usage
Most important evidence
Hardcoded API Key
A production API key for skillpay.me billing service is hardcoded in payment.py source file. This key could be extracted and used for unauthorized billing charges.
payment.py:12 Undeclared Network Communication
SKILL.md does not mention that the skill makes network requests to an external billing API (skillpay.me). This constitutes hidden functionality.
SKILL.md:1 Credential Stored in Version Control
If this repository is committed to version control, the hardcoded API key could be exposed in history.
payment.py:12 Billing Logic Auto-execution
The payment verification (require_payment()) could automatically charge users on every skill invocation if imported and called.
payment.py:67 Declared capability vs actual capability
Used for logs, backups, snapshots, evolution patches - declared in feature set payment.py:25-67 makes requests to skillpay.me API with API key - not declared in SKILL.md No subprocess or shell execution detected Reads SKILLPAY_USER_ID from environment for billing - legitimate use case Suspicious artifacts and egress
API_KEY = "sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2" payment.py:12
https://skillpay.me payment.py:11
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| requests | * | pip | No | Standard HTTP library, no specific vulnerabilities |
| python-dateutil | >=2.8.0 | pip | No | Version pinned |
| pandas | >=2.0.0 | pip | No | Optional dependency for advanced analysis |
| psutil | >=5.9.0 | pip | No | Optional dependency for monitoring |
| matplotlib | >=3.7.0 | pip | No | Optional dependency for reporting |
File composition
payment.py SKILL.md