T09 · Insecure Skill Coding Practices
- Location
SKILL.md:61- Finding
Wallet Private Key Exposed in Plaintext Conversation Output
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a coherent Solana integration, but it tells the agent to expose wallet private keys in chat and supports real-money mainnet actions without clear approval safeguards.
Review carefully before installing. Do not let an agent print or log wallet private keys, and do not use this for real Solana deposits, token launches, or trades unless you have an out-of-band way to secure secrets and approve every transaction with full details.
SKILL.md:61Wallet Private Key Exposed in Plaintext Conversation Output
SKILL.md:102Mainnet Financial Operations Lack Mandatory Transaction Confirmation and Safety Controls
The skill explicitly instructs the agent to print one-time credentials verbatim, including a wallet private key. In an LLM/agent setting, emitting secrets into chat output, logs, traces, or shared conversation history is highly dangerous because private keys enable irreversible theft of on-chain funds and full wallet compromise.
The skill mandates exact reproduction of sensitive credentials in the model's response, including a private key. This is a direct unsafe-output pattern: any secret reproduced by the assistant may be captured by UI history, telemetry, or other observers, resulting in permanent compromise of the wallet and associated assets.
The documentation requires printing one-time credentials, including a private key, without a clear safety boundary or secure handling procedure. Because model outputs are often visible to end users and retained in logs, this creates direct secret exfiltration risk and can immediately expose custody of the generated Solana wallet.
The rule 'Never truncate or summarize credentials — print them exactly as returned' overrides basic safe secret-handling practices and increases the chance of exposure. In this skill's financial/on-chain context, exact disclosure of API keys and private keys can grant transaction authority and allow immediate unauthorized actions.
The skill promotes live Solana mainnet registration, token launching, and trading without prominent warnings about irreversible transactions, volatility, scams, or fund loss. In the context of an autonomous agent skill, this is especially risky because users may trigger real financial operations without understanding the consequences or confirming intent.