T08 · Insecure Dependencies
- Location
SKILL.md:11- Finding
Unpinned Third-Party Installation Commands Permit Supply-Chain Compromise
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 11-22
Vulnerability Type: Mutable and unverified third-party dependencies
Risk Level: MediumVulnerable Code
bash # Install all skills from repo npx skills add https://github.com/barneyjm/camino-skills # Or install specific skills npx skills add https://github.com/barneyjm/camino-skills --skill camino-queryVia clawhub:
bash npx clawhub@latest install camino-query # or: pnpm dlx clawhub@latest install camino-query # or: bunx clawhub@latest install camino-queryTechnical Analysis
The documented installation commands download and execute third-party content without pinning it to a reviewed package version, immutable Git commit, or integrity hash. The GitHub commands track mutable repository content, while the
@latestpackage selector explicitly resolves to whichever release is current at installation time.Consequently, the code executed by these commands can differ from the code that was originally reviewed. Exploitation requires compromise or malicious control of an upstream package, publisher account, repository, release process, or another relevant software-distribution component.
Attack Path
- An attacker compromises an upstream package, publisher account, repository, or release pipeline referenced by the installation instructions.
- The attacker publishes or commits a malicious version while retaining the expected package or repository identity.
- A user follows one of the documented commands.
npx,pnpm dlx,bunx, or the skill installer resolves and downloads the mutable upstream version.- Malicious installation logic or skill content executes with the permissions of the user running the command.
Impact Assessment
Successful exploitation could provide arbitrary code execution under the installing user's account. Depending on that user's privileges and environment, an attacker ...[truncated 363 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace
@latestwith an explicitly reviewed, exact package version. - Pin Git-based installations to a full immutable commit SHA rather than a mutable branch or repository head.
- Publish and verify cryptographic checksums or signatures for released packages and skill artifacts.
- Use package-manager lockfiles where applicable and enforce integrity metadata during installation.
- Review installation lifecycle scripts and downloaded skill contents before execution.
- Run installation with a non-privileged account in an isolated environment and avoid invoking these commands with elevated privileges.
- Establish a controlled update process that reviews and tests each new dependency version before changing the pinned reference.
- Replace
