T09 · Insecure Skill Coding Practices
- Location
SKILL.md:31- Finding
Wallet Private Key Exposed Through Standard Output
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly a legitimate OpenBytes API guide, but it includes unsafe credential-handling instructions that could expose wallet private keys, API keys, or session tokens.
Review this skill before installing. Do not let an agent generate or display wallet private keys, do not paste unredacted API responses into chat, and confirm any API-key creation, revocation, top-up, or parent-wallet linking action before running the suggested commands.
SKILL.md:31Wallet Private Key Exposed Through Standard Output
SKILL.md:131API Key Placed in Shell Environment and Potentially Shell History
SKILL.md:270Troubleshooting Guidance Requests Unredacted API Responses
The skill goes beyond describing OpenBytes API usage by instructing users or agents to create a new wallet and print its private key to stdout. In an agent-driven environment, terminal output, logs, chat history, or tool traces may expose the private key, enabling full compromise of funds and account control.
The documentation tells users to print newly generated private keys and later handle API keys, but does not warn about exposure through shell history, terminal scrollback, CI logs, agent transcripts, or observability systems. In an AI-agent context, this greatly increases the chance that highly sensitive credentials are captured and replayed by unintended parties.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -sS -X POST "<BASE_URL>/v1/auth/wallet/verify" \
-H "Content-Type: application/json" \
-d '{
"wallet_address": "<EVM_WALLET_ADDRESS>",
The documented parent/child wallet-linking capability materially expands the skill beyond the manifest description, increasing available account-control functionality without clear declaration. Undeclared privileged actions make it easier for an agent or user to invoke sensitive wallet-relationship changes unexpectedly, which can lead to misconfiguration or unauthorized account linkage.
No suspicious patterns detected.