T08 · Insecure Dependencies
- Location
README.md:37- Finding
Unpinned Third-Party CLI Execution During Installation
- Content
View full analysis
Vulnerability Details
File Location:
README.md:37
Vulnerability Type: Unpinned third-party package execution
Risk Level: MediumVulnerable Code
bash # Or via skills CLI npx skills add cm8421/pptx-notes-editorTechnical Analysis
The documented installation command invokes the npm-distributed
skillsCLI throughnpxwithout specifying an exact package version or integrity hash. If the package is not already installed locally,npxmay retrieve and execute the currently resolved package from the configured npm registry.Because the executed CLI implementation is outside this repository and is not version-pinned, its behavior can change after this skill has been reviewed. A compromised maintainer account, malicious package release, dependency compromise, registry manipulation, or unexpected package-resolution result could cause attacker-controlled code to run during installation.
This finding applies to the optional README installation method. The audited project itself contains no embedded executable scripts or malicious payloads.
Attack Path
- An attacker compromises the resolved
skillsnpm package, one of its executable dependencies, or its publication channel. - The attacker publishes a malicious version that retains plausible CLI behavior while adding an installation-time or runtime payload.
- A user follows the README and executes
npx skills add cm8421/pptx-notes-editor. npxresolves and downloads the mutable, unpinned package version.- The malicious package code executes with the privileges and environment of the user running the command.
Impact Assessment
Successful exploitation could provide arbitrary code execution under the installing user's account. Depending on that user's privileges and environment, the payload could read or modify accessible files, steal credentials available to the process, alter agent configuration, install additional componen ...[truncated 308 chars]
- An attacker compromises the resolved
- Remediation
View remediation
Remediation Suggestions
- Pin the CLI to a reviewed, exact version, for example:
bash npx --yes skills@<audited-version> add cm8421/pptx-notes-editor - Document the expected package publisher, registry, version, and package integrity digest so users can verify what will execute.
- Prefer the manual installation method that copies the reviewed
SKILL.mdwithout executing an unrelated package. - If a CLI remains recommended, audit and lock its full transitive dependency tree and update the pinned version only through a controlled review process.
- Advise users not to run installation commands with administrator or root privileges and to use a restricted environment where possible.
- Pin the CLI to a reviewed, exact version, for example:
