T08 · Insecure Dependencies
- Location
SKILL.md:42- Finding
Unpinned Third-Party Package Receives Financial Credentials and Live-Trading Authority
- Content
View full analysis
' | duola autopilot onboard \ --name --private-key-stdin --profile balanced --sync-limit 200 ``` ### Technical Analysis The Skill directs operators to install the latest available `duola` npm package globally without pinning an audited version, verifying an integrity digest, using a lockfile, or validating package provenance. Running `npm view duola version` only reports registry metadata and does not establish that the package or a newly published release is trustworthy. A mutable package version can change after the Skill has been reviewed. npm installation may also execute package lifecycle scripts. The resulting executable is later supplied with a wallet private key and authorized to perform live financial trades, substantially increasing the consequences of a dependency compromise. This finding does not establish that the current `duola` package is malicious. It identifies an unsafe supply-chain trust model in which a compromised publisher account, malicious release, registry compromise, or package substitution could place attacker-controlled code in a privileged financial workflow. ### Attack Path 1. An attacker compromises the npm publisher account, registry distribution path, or a future `duola` release. 2. The attacker publishes a modified package containing a malicious lifecycle script or runtime behavior. 3. An operator follows the Skill and runs `npm install -g duola`. 4. The malicious code executes during installation or when the CLI is invoked. 5. Dur ...[truncated 1116 chars]- Remediation
View remediation
