T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:50- Finding
Mutable npm Package Is Retrieved and Executed in a Wallet-Signing Workflow
- Content
View full analysis
/dev/null || npx @aomi-labs/client@latest --version` ``` Equivalent mutable installation and execution instructions also appear in `references/workflows.md:9-14` and `templates/aomi-workflow.sh:30-45`. ### Technical Analysis The Skill directs the Agent to retrieve and execute the mutable npm tag `@aomi-labs/client@latest`. The reviewed project does not pin an exact package version, provide an integrity digest, include a lockfile, or verify a signed package attestation. As a result, the code that runs after installation is not necessarily the code corresponding to the stated audited version `0.1.42`. The effective payload can change whenever the npm publisher updates the `latest` tag. This is especially sensitive because the dependency operates in a cryptocurrency workflow with access to wallet-signing material, authentication tokens, transaction calldata, and local Aomi state. Although the Skill documentation acknowledges the supply-chain risk, that acknowledgement does not technically constrain or verify the retrieved package. ### Attack Path 1. An attacker compromises the npm publisher account, package build pipeline, or ...[truncated 1377 chars]- Remediation
View remediation
