T08 · Insecure Dependencies
- Location
skill.md:16- Finding
Unpinned npm Dependencies Execute in a Wallet-Sensitive Environment
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent Solana SDK guide, but it asks agents to use a raw wallet private key and perform irreversible blockchain writes without enough safety scoping or warnings.
Review this skill before installing if you plan to give the agent wallet access. Use a low-value delegated wallet, keep private keys out of general agent environments when possible, prefer external signing or skipSend flows, pin and review npm dependencies, and require explicit human confirmation before transfers, metadata deletion, immutable metadata writes, or other on-chain mutations.
skill.md:16Unpinned npm Dependencies Execute in a Wallet-Sensitive Environment
The skill instructs users to load a Solana private key directly from the SOLANA_PRIVATE_KEY environment variable and materialize it into a Keypair for write operations, but it provides no warning about secret handling, least-privilege use, or the risk of exposing a hot wallet to an agent runtime. In the context of an agent skill, this is especially dangerous because the same agent that reads the skill may also gain access to the environment and can then perform irreversible on-chain actions or exfiltrate the key if the surrounding system is compromised or prompt-injected.
The skill documents state-changing and destructive operations such as metadata updates, deletion, ownership transfer, and wallet changes without an explicit warning that these actions are irreversible or security-sensitive. In an agent-skill setting, this increases the chance that an autonomous or prompt-influenced agent invokes high-impact blockchain operations without human confirmation, potentially causing asset loss, ownership changes, or permanent metadata damage.
No suspicious patterns detected.