T08 · Insecure Dependencies
- Location
SKILL.md:17- Finding
Unpinned Third-Party Packages and Repository Content Installed Globally
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:17andSKILL.md:420
Vulnerability Type: Unpinned third-party dependencies and mutable repository content
Risk Level: MediumVulnerable Code
At
SKILL.md:17:bash npx skills add nexscope-ai/eCommerce-Skills --skill ecommerce-marketing-strategy-builder -gAt
SKILL.md:420:bash npx skills add nexscope-ai/eCommerce-Skills --skill ecommerce-ppc-strategy-planner -gTechnical Analysis
Both documented commands invoke
npxwithout pinning theskillspackage to a reviewed version. They also reference Skill content through a mutable repository identifier rather than an immutable commit or verified release.Consequently, the commands may retrieve and execute content that differs from the content reviewed in this audit. The
-goption installs the selected Skill globally, increasing its availability and potential effect beyond the current project.This is a supply-chain exposure rather than evidence that the current repository contains a malicious payload. Exploitation depends on compromise or malicious modification of the npm package, its distribution path, the referenced repository, or another upstream component used during installation.
Attack Path
- An attacker compromises the unpinned npm package, the referenced repository, or an associated upstream distribution account.
- The attacker publishes a malicious package version or modifies the mutable Skill content.
- A user follows one of the documented
npx skills addcommands. npxobtains the currently available package rather than a specifically reviewed version.- The installer retrieves and installs the attacker-controlled Skill content globally.
- Any malicious behavior supplied by the compromised upstream component may execute during installation or when the installed Skill is later invoked.
Impact Assessment
Successful exploitation could execute upstream-controlled code with the privileges o ...[truncated 528 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to an explicitly reviewed version instead of allowingnpxto select mutable upstream content. - Pin the repository dependency to an immutable commit hash or a cryptographically verified release.
- Publish and verify integrity hashes or signatures for distributed Skill artifacts.
- Review the resolved package and Skill contents before installation, including lifecycle scripts and transitive dependencies.
- Remove
-gunless global installation is operationally necessary; prefer project-scoped or otherwise isolated installation. - Run installation with a minimally privileged account in a sandbox or disposable environment.
- Use lockfiles, trusted registries, dependency allowlists, and automated supply-chain scanning where the tooling supports them.
- Document the exact package version and repository revision that were reviewed so users can reproduce the audited installation.
- Pin the
