T09 · Insecure Skill Coding Practices
- Location
SKILL.md:6- Finding
Unbounded Automatic Cryptocurrency Payments Using a Wallet Private Key
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed paid BTC price lookup, but it asks agents to use a raw wallet private key for automatic paid calls without spending limits or strong user controls.
Install only with a dedicated low-balance wallet on Base, never a primary wallet key. Set external rate limits and budgets before enabling agent use, especially for polling or automated workflows, because repeated calls can spend funds automatically.
SKILL.md:6Unbounded Automatic Cryptocurrency Payments Using a Wallet Private Key
The skill declares EVM_PRIVATE_KEY as a required environment secret for a function that only retrieves a BTC price tick, creating an unnecessary request for highly sensitive signing material. Even if intended for x402 micropayments, exposing a blockchain private key to an agent skill materially increases the chance of wallet misuse, unauthorized spending, or key exfiltration if the skill or its dependencies are compromised.
The documentation says payment authorization is handled automatically and demonstrates passing a private key directly into the client, but it does not prominently warn that each invocation can spend funds and that the supplied key is extremely sensitive. In an agent context, this is dangerous because users may enable unattended polling loops or broad tool access, leading to repeated charges or unsafe secret exposure without informed consent.
No suspicious patterns detected.