T08 · Insecure Dependencies
- Location
SKILL.md:23- Finding
Unpinned Packages Are Downloaded and Executed Automatically
- Content
View full analysis
-s npm i -g clawhub ``` ### Technical Analysis The Skill invokes `npx -y` against a package without specifying an exact version. If the package is unavailable locally, `npx` can retrieve the currently resolved release from the package registry and execute it immediately. The `-y` option suppresses the normal confirmation prompt. The global installation commands are likewise not version-pinned. Consequently, the code executed during installation or startup can change after the Skill itself has been reviewed. The repository metadata identifies an apparently official Lark package, and there is no evidence that the current package is malicious. Nevertheless, the configuration does not bind execution to a reviewed artifact, version, or integrity digest. This creates a supply-chain exposure if the package registry account, upstream release pipeline, package namespace, or a transitive dependency is compromised. ### Attack Path 1. An attacker compromises the upstream package publisher, release pipeline, registry account, or a dependency included in a future package version. 2. The attacker publishes a malicious release under the expected package name. 3. A user installs or starts the Skill using the documented unpinned `npm` or `npx -y` command. ...[truncated 1111 chars]- Remediation
View remediation
