T08 · Insecure Dependencies
- Location
SKILL.md:41- Finding
Unpinned Third-Party Installer Permits Supply-Chain Code Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 41
Vulnerability Type: Unpinned executable dependency and mutable remote Skill source
Risk Level: MediumVulnerable Code:
sh npx skills add powmcp/skills --skill preflight-retailer-bound-epubTechnical Analysis
The documented setup command invokes
npxwithout pinning theskillspackage to an audited version. Depending on the local environment and cache state,npxmay download and execute the package currently published under that name.The
powmcp/skillssource is also identified by a mutable repository reference rather than an immutable commit. Therefore, both the installer behavior and installed Skill content can change after this project has been audited.This creates a supply-chain trust boundary in which externally controlled code or instructions may execute with the invoking user's permissions. No evidence shows that the current dependencies are malicious; the vulnerability is the absence of integrity and version controls capable of preventing future substitution.
Attack Path
- An attacker compromises the npm publisher account, package distribution channel, or mutable
powmcp/skillsrepository. - The attacker publishes a malicious version of the installer or modifies the remotely retrieved Skill content.
- A user follows the documented setup instruction.
npxdownloads and executes the current package, or the installer retrieves the modified Skill source.- The malicious installer runs with the user's current privileges or installs attacker-controlled instructions for subsequent Agent use.
Impact Assessment
Successful exploitation could execute arbitrary commands with the privileges of the user running
npx. Depending on that user's access, the attacker could read or modify accessible files, obtain environment variables or credentials, make network requests, alter installed Agent instructions, or inst ...[truncated 355 chars]- An attacker compromises the npm publisher account, package distribution channel, or mutable
- Remediation
View remediation
Remediation Suggestions
- Pin the npm installer to an exact audited version, for example by using
npx --package=skills@<exact-version>. - Pin
powmcp/skillsto an immutable commit identifier rather than a mutable branch or default repository reference. - Record and verify cryptographic hashes for downloaded installation artifacts and Skill content.
- Review npm lifecycle scripts and prefer an installation method that does not execute unnecessary scripts.
- Use lockfiles and integrity metadata where the installation mechanism supports them.
- Execute installation in a restricted environment without production credentials or access to confidential publishing assets.
- Document the expected package version, repository commit, publisher identity, and verification procedure so users can detect unexpected upstream changes.
- Pin the npm installer to an exact audited version, for example by using
