security-defense-line
Skill contains hardcoded API key in payment.py and undeclared network access for billing integration. While no malicious behavior observed, the hardcoded credential represents significant supply chain risk.
A valid-looking API key is hardcoded directly in payment.py line 12. This is a supply chain security risk as the key could be extracted and abused.
payment.py:12 Why this conclusion was reached
3/4 dimensions flagged2 undeclared or violating capabilities were inferred.
1 high-risk artifacts or egress signals were extracted.
The report includes 0 attack-chain steps and 1 severe findings.
1 dependency or supply-chain issues need attention.
What drove the risk score up
BILLING_API_KEY hardcoded at payment.py:12 with value 'sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2'
payment.py makes HTTP requests to skillpay.me but network:READ is not declared in SKILL.md capability map
SKILL.md mentions SkillPay but doesn't explicitly declare required network permissions
Most important evidence
Hardcoded API Key in Source Code
A valid-looking API key is hardcoded directly in payment.py line 12. This is a supply chain security risk as the key could be extracted and abused.
payment.py:12 Undeclared Network Access
The skill makes HTTP requests to external service skillpay.me but network access is not declared in SKILL.md capability declarations.
payment.py:26 Unpinned Dependencies
The skill uses requests library without version pinning. requests==2.31.0 is recommended.
payment.py:3 Declared capability vs actual capability
No file operations found payment.py:26-45 makes HTTP requests to skillpay.me SKILL.md shows bash examples but scripts use no shell:WRITE payment.py:60 reads SKILLPAY_USER_ID from os.environ Suspicious artifacts and egress
API_KEY = "sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2" payment.py:12
https://suspicious-site.com SKILL.md:106
https://skillpay.me payment.py:11
https://swcregistry.io/ references/contract-auditing.md:238
https://consensys.github.io/smart-contract-best-practices/ references/contract-auditing.md:239
https://docs.openzeppelin.com/contracts/ references/contract-auditing.md:240
https://www.certora.com/ references/contract-auditing.md:241
https://swcregistry.io/docs/SWC-107 scripts/contract_auditor.py:160
https://consensys.github.io/smart-contract-best-practices/attacks/reentrancy/ scripts/contract_auditor.py:161
https://swcregistry.io/docs/SWC-104 scripts/contract_auditor.py:164
https://swcregistry.io/docs/SWC-115 scripts/contract_auditor.py:167
https://docs.soliditylang.org/en/v0.8.0/080-breaking-changes.html scripts/contract_auditor.py:190
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| requests | * | pip | No | Version not pinned, no known vulnerabilities |
File composition
scripts/phishing_detector.py scripts/contract_auditor.py scripts/tx_validator.py scripts/multisig_manager.py scripts/wallet_guardian.py SKILL.md references/contract-auditing.md payment.py