T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Global Installation from Mutable Third-Party Sources
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:15-22
Vulnerability Type: Unpinned third-party dependency and mutable supply-chain source
Risk Level: MediumVulnerable Code
markdown ## Installation ```bash npx skills add nexscope-ai/eCommerce-Skills --skill product-description-generator -gFor Amazon listings, use our dedicated skill with Cosmo algorithm optimization:
bash npx skills add nexscope-ai/Amazon-Skills --skill amazon-listing-optimization -gtext ### Technical Analysis The documented installation commands invoke the `skills` package through `npx` without pinning a package version. They also install Skills from GitHub repositories without specifying an immutable commit hash, signed release, checksum, or other integrity constraint. Both the npm-resolved command and repository contents are therefore mutable after this Skill has been reviewed. The use of the global installation option (`-g`) increases the scope of any compromised content because it can make the installed Skill available outside the current project or session. This is a supply-chain weakness rather than evidence that the currently referenced repositories are malicious. Exploitation depends on compromise or unauthorized modification of an upstream package, repository, release process, or maintainer account. ### Attack Path 1. An attacker compromises the npm package used by `npx`, one of the referenced GitHub repositories, or an authorized maintainer account. 2. The attacker publishes altered package behavior or replaces Skill content on the mutable branch. 3. A user follows the installation command after the upstream content has changed. 4. `npx` resolves the unpinned package, and the installation command obtains the current repository content rather than the audited revis ...[truncated 718 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsCLI to an explicitly reviewed version, for example by using an exact npm package version rather than allowingnpxto resolve the latest release. - Reference each GitHub-hosted Skill by an immutable commit hash or a signed, versioned release.
- Publish and verify cryptographic checksums or signatures before installation.
- Remove
-gunless global installation is operationally necessary; prefer a project-scoped installation with restricted permissions. - Record the exact reviewed CLI version, repository revision, and integrity value in the installation documentation.
- Use dependency monitoring and repeat the security review before updating any pinned version.
- Pin the
