T08 · Insecure Dependencies
- Location
SKILL.md:14- Finding
Unpinned Remote Skill Installation Creates Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 14 and 522
Vulnerability Type: Unpinned remote dependencies installed with global scope
Risk Level: MediumComplete Code Snippets
At line 14:
bash npx skills add nexscope-ai/eCommerce-Skills --skill ecommerce-ppc-strategy-planner -gAt line 522:
bash npx skills add nexscope-ai/Amazon-Skills --skill amazon-ppc-campaign -gTechnical Analysis
The documented commands use
npxwithout pinning the CLI package to a specific version and install Skill content from mutable remote repositories. Neither command identifies a reviewed commit hash, immutable release, checksum, or cryptographic signature.The
-goption requests global installation, increasing the scope and lifetime of any compromised content. The content retrieved when a user runs either command may therefore differ from the content that was reviewed during this audit.This is a supply-chain weakness rather than evidence that the currently audited file contains a malicious payload. Exploitation depends on compromise or malicious modification of an upstream npm package, repository, release process, or maintainer account.
Attack Path
- An attacker compromises the unpinned
skillspackage, one of the referenced repositories, or an associated maintainer account. - The attacker publishes or commits modified Skill content containing malicious instructions or executable components.
- A user follows the installation command from
SKILL.md. npxand the Skill installer retrieve the current remote versions instead of a previously reviewed immutable version.- The altered Skill is installed globally.
- The malicious content can affect subsequent Agent sessions in which the installed Skill is loaded or invoked.
Impact Assessment
Successful exploitation could install attacker-controlled Skill content with global user-level scope. Depending on the capabilities of the upstream installer and the conte ...[truncated 539 chars]
- An attacker compromises the unpinned
- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsCLI to an explicitly reviewed version rather than invoking an unversioned package throughnpx. - Pin each remote Skill repository to an immutable Git commit or signed release tag.
- Publish and verify cryptographic checksums or signatures for all retrieved files before installation.
- Remove
-gunless global installation is strictly required; prefer a project-local or otherwise isolated installation. - Review the complete dependency tree and remotely retrieved Skill content before installation.
- Use a lockfile or equivalent manifest that records exact package and repository revisions.
- Execute installation in a least-privileged sandbox without credentials or sensitive filesystem access.
- Document the expected files and hashes so users can detect unexpected upstream changes.
- Pin the
