T08 · Insecure Dependencies
- Location
SKILL.md:28- Finding
Unpinned Third-Party Package Execution and Automatic Upgrades
- Content
View full analysis
--poll ``` `references/check-status.md:6-9`: ```bash # Single query npx @aeon-ai-pay/x402-card status --order-no # Poll until terminal status (SUCCESS or FAIL) npx @aeon-ai-pay/x402-card status --order-no --poll ``` `references/wallet-setup.md:10`: ```bash npx @aeon-ai-pay/x402-card setup --private-key 0x... ``` ### Technical Analysis Every sensitive operation executes `@aeon-ai-pay/x402-card` through `npx` without specifying an exact version. Consequently, the code executed during a future invocation may differ from the version that was reviewed. The mandatory background update check and subsequent `upgrade` instruction add another mutable code-delivery path. This dependency has access to an EVM private key and participates in financial transactions. A compromised npm publisher account, malicious release, dependency compromise, or compromised update channel could therefore execute arbitrary code under the account running the Agent. The audited project contains no package lockfile, integrity hash, vendored implementation, or signature-verification mechanism that would constrain the resolved payload. The package itself was not included ...[truncated 1546 chars]- Remediation
View remediation
