T08 · Insecure Dependencies
Warning
- Location
- README.md:68
- Finding
- Unpinned Remote Installation Command Creates a Supply-Chain Risk## Vulnerability Details **File Location**: `README.md:68` **Vulnerability Type**: Unpinned third-party installer and mutable repository reference **Risk Level**: Medium ### Vulnerable Code ```sh npx skills add AntreasAntoniou/plus-ultra ``` ### Technical Analysis The documented installation procedure uses `npx` without specifying a fixed version of the `skills` package. It also identifies the Skill repository by a mutable owner/repository reference rather than a reviewed commit SHA or immutable release artifact. Consequently, the code and installation behavior obtained when a user runs this command may differ from the content audited in this repository. A compromise of the npm package, its publisher account, or the upstream repository could cause later installations to retrieve or install attacker-controlled content. The repository itself does not contain code that automatically invokes this command, so exploitation requires a user to follow the documented installation procedure. ### Attack Path 1. An attacker compromises the npm package, package publisher account, or referenced upstream repository. 2. The attacker publishes a malicious package version or modifies the repository content reached through the mutable reference. 3. A user follows the README and runs the unpinned `npx skills add AntreasAntoniou/plus-ultra` command. 4. `npx` retrieves the currently published package rather than a previously audited version. 5. The compromised installer or repository content is installed or executed with the invoking user's privileges. ### Impact Assessment Successful exploitation could execute installation logic or install modified Skill content with the privileges of the user running `npx`. The resulting scope can include files, credentials, agent configuration, and repositories accessible to that user. This command does not request elevated operating-system privileges by itself, so its direct privilege scope is normal ...[truncated 35 chars]
- Remediation
- ## Remediation Suggestions - Pin the `skills` CLI to a reviewed version, such as `npx skills@<exact-version>`. - Pin the Skill repository to an immutable commit SHA or cryptographically signed release. - Publish expected checksums or signatures for release artifacts and document how users should verify them. - Provide a manual installation procedure that does not execute a remotely retrieved package. - Recommend reviewing the downloaded files before enabling hooks. - Use dependency lock files and automated supply-chain monitoring where an installer package is maintained.
