T08 · Insecure Dependencies
- Location
SKILL.md:45- Finding
Execution of an Unpinned npm Package Using the Mutable latest Tag
- Content
View full analysis
npx daxiapi-cli@latest news sentiment -c-p 30 npx daxiapi-cli@latest news notice -c-p 20 -i 1 npx daxiapi-cli@latest news report -c-p 25 -i 1 -b -e ``` ### Technical Analysis The Skill instructs the Agent to execute `daxiapi-cli` through `npx` using the mutable `@latest` tag. When the package is not already available locally, `npx` can download and immediately execute package-controlled code. The package version executed during a future Skill invocation may therefore differ from the version available when the Skill was reviewed. The project provides no exact version constraint, lockfile, integrity hash, vendored dependency, or package-provenance verification. A malicious package update or compromised publisher account could consequently turn an otherwise legitimate command into arbitrary code execution. The dependency is also used for API-token configuration. A malicious release executing in that context could potentially access the supplied token, inherited environment variables, files readable by the invoking account, and available network resources. ### Attack Path 1. An attacker compromises the npm publisher account, package publication pipeline, or another component capable of publishing a new `daxiapi-cli` release. 2. The attacker publishes a malicious version and causes it to resolve through the `latest` distribution tag. 3. A user or Agent follows the Skill instructions and invokes an `npx daxi ...[truncated 1208 chars]- Remediation
View remediation
