T08 · Insecure Dependencies
- Location
index.html:56- Finding
Unpinned Global npm Package Installation Instruction
- Content
View full analysis
$ npm i -g clawhub ``` ### Technical Analysis The bundled page presents a copyable command that installs the latest available `clawhub` npm package globally. The dependency is not pinned to an audited version and has no integrity constraint. npm installation can execute package lifecycle scripts with the invoking user's privileges. Because the package version is mutable, the code ultimately installed may differ from the code available when this Skill was reviewed. This creates a supply-chain risk if the package, its dependencies, its publisher account, or the package registry is compromised. The instruction is also unrelated to the functionality declared in `SKILL.md`, which describes a side-effect-free fixed-token responder requiring no network access, package installation, filesystem modification, or command execution. It therefore exceeds the minimum capabilities necessary for the declared Skill. The command is displayed as documentation and is not automatically executed by the submitted code. Exploitation requires a user or automation system to copy and run it. ### Attack Path 1. A user opens or otherwise trusts the bundled `index.html` page. 2. The page presents the copyable `npm i -g clawhub` command. 3. An attacker publishes a compromised release, compromises the publisher or registry, or introduces a malicious transitive dependency. 4. The user executes the unpinned command. 5. npm retrieves the then-current package and dependencies rather than a previously audited version. 6. Malicious package or lifecycle-script code executes with the permissions of the user running npm. 7. The package may modify user files, global Node.js tooling, shell- ...[truncated 851 chars]- Remediation
View remediation
