T08 · Insecure Dependencies
- Location
SKILL.md:25- Finding
Unpinned Third-Party Wallet CLI Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 25-86 and 186-235
Vulnerability Type: Unpinned third-party dependency execution
Risk Level: HighVulnerable Code
bash npx @agntos/agentwallet keygen npx @agntos/agentwallet keygen --chain base npx @agntos/agentwallet keygen --chain solana npx @agntos/agentwallet keygen --json npx @agntos/agentwallet create --agent 0xYOUR_BASE_ADDRESS --agent-sol YOUR_SOLANA_PUBKEY npx @agntos/agentwallet create --agent 0xYOUR_BASE_ADDRESS --agent-sol YOUR_SOLANA_PUBKEY --unmanaged npx @agntos/agentwallet status 0xWALLET npx @agntos/agentwallet limits 0xWALLET --daily N --pertx N --reason "..." npx @agntos/agentwallet token-limit 0xWALLET --token 0x... --token-daily N --token-pertx N npx @agntos/agentwallet pause 0xWALLET --reason "..."Technical Analysis
The skill repeatedly directs the agent to execute
@agntos/agentwalletthroughnpxwithout pinning an exact package version or verifying package integrity. Depending on the local npm configuration and cache state,npxmay retrieve and execute the version currently resolved from the package registry.This creates a supply-chain trust boundary that is not represented by auditable code in the project. The repository contains only
SKILL.md; therefore, the implementation that generates private keys, creates wallets, and initiates financial operations cannot be reviewed from the supplied artifact.This is especially sensitive because the package is expected to handle private keys and wallet transactions. A compromised publisher account, malicious future release, registry compromise, or dependency compromise could change the executable payload after this skill has been reviewed.
Attack Path
- An attacker compromises the npm publisher, package, registry resolution path, or one of the package's transitive dependencies.
- The attacker publishes a malicious version under the same package ...[truncated 1085 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the CLI to a reviewed exact version rather than invoking an unversioned package.
- Install the dependency locally using a committed lockfile and integrity metadata, then invoke the locked local binary.
- Review and pin transitive dependencies; use automated dependency and provenance verification.
- Require npm provenance or equivalent signed release attestations and verify package integrity before execution.
- Publish or vendor the relevant source so the key-generation and transaction paths can be audited.
- Execute wallet tooling in a restricted environment with minimal filesystem, network, and environment-variable access.
- Separate key generation from network-enabled package execution where possible, using established offline cryptographic tooling.
- Do not approve package upgrades automatically for software that handles signing keys or financial transactions.
