T08 · Insecure Dependencies
- Location
README.md:10- Finding
Unpinned npm CLI and Mutable Git Branch Used for Skill Installation
- Content
View full analysis
Vulnerability Details
File Location:
README.md:10
Vulnerability Type: Supply-chain exposure through unpinned executable dependencies and a mutable remote branch
Risk Level: MediumVulnerable Code
bash npx skills add https://github.com/wpank/Agentic-Uniswap/tree/main/.ai/skills/analyze-burn-economicsTechnical Analysis
This installation command has two mutable supply-chain components:
npx skillscan download and execute the currently resolved version of the third-partyskillsnpm package. No exact package version or verified integrity value is specified.- The skill is retrieved from the mutable GitHub
mainbranch rather than an immutable commit.
Consequently, the code executed or installed when a user follows the documentation can differ from the content reviewed during this audit. A compromised npm publisher, npm account, GitHub account, repository, or branch could substitute malicious code after review.
The command is documentation rather than code invoked automatically by this Skill. Exploitation therefore requires a user or automated installation system to run the documented command.
Attack Path
- An attacker compromises the npm package used by
npx, its publisher account, the referenced GitHub repository, or a maintainer account. - The attacker publishes a malicious package version or modifies content on the repository's
mainbranch. - A user follows the installation command in
README.md. npxresolves and executes the unpinned CLI, which retrieves the current mutable repository content.- The malicious package or skill content executes during installation or is installed for execution in later agent sessions.
Impact Assessment
Successful exploitation could execute commands with the privileges of the user running
npx, modify files accessible to that account, access environment variables or credentials available to the process, and install ma ...[truncated 188 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the npm CLI to an audited exact version instead of relying on implicit package resolution, for example using the package manager's supported exact-version syntax.
- Replace the GitHub
mainreference with a full, reviewed commit hash or a cryptographically verified signed release. - Verify the downloaded artifact against a published checksum or signature before installation.
- Run installation with minimal privileges in an isolated environment.
- Add automated dependency and provenance checks to ensure documented installation targets remain approved.
- Document the exact audited CLI version, repository commit, and expected artifact digest.
