T08 · Insecure Dependencies
- Location
README.md:24- Finding
Unpinned Third-Party Installer Executes Mutable Remote Content
- Content
View full analysis
Vulnerability Details
File Location:
README.md:24
Vulnerability Type: Supply-chain risk from an unpinned executable dependency
Risk Level: Mediumbash npx skills add https://github.com/op7418/Humanizer-zh.gitTechnical Analysis
The recommended installation command invokes the unversioned
skillsnpm package throughnpx. If the package is not already available locally,npxcan retrieve and execute its currently resolved release. The package version is not pinned, and the referenced Git repository is not fixed to a reviewed commit or verified with a cryptographic hash.Consequently, the code and Skill content executed or installed by this command can differ from the content reviewed during this audit. This exceeds the privileges required to install a documentation-only Skill because installation could instead be performed by reviewing and copying the two Markdown files without executing a mutable third-party installer.
No evidence was found that the currently audited files contain a malicious payload. The vulnerability is the unsafe trust boundary created by the documented installation process.
Attack Path
- An attacker compromises the npm account, package publication pipeline, GitHub account, or referenced repository.
- The attacker publishes a malicious version of the
skillspackage or modifies the repository's default branch. - A user follows the recommended installation command.
npxresolves and executes the unreviewed package version with the user's local privileges.- The compromised installer may execute arbitrary actions available to that user or install modified Skill instructions.
- The altered Skill content may subsequently affect agent sessions whenever the installed Skill is activated.
Impact Assessment
Successful exploitation could provide code execution under the account running
npx, subject to that account's operating-system permissions. Potential ...[truncated 430 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the npm CLI to an explicitly reviewed version, for example by using
npx skills@<reviewed-version>. - Pin the Git repository to a reviewed immutable commit rather than its mutable default branch.
- Publish and verify cryptographic hashes for the installed
SKILL.mdandREADME.mdfiles. - Prefer a manual installation procedure that downloads, reviews, and copies the Markdown files without executing third-party installer code.
- If an installer remains necessary, run it in a restricted environment without credentials or access to sensitive user files.
- Document the exact expected package version, repository commit, file hashes, and verification commands.
- Avoid labeling an unpinned
npxcommand as the recommended installation method.
- Pin the npm CLI to an explicitly reviewed version, for example by using
