T08 · Insecure Dependencies
- Location
SKILL.md:50- Finding
Mutable ClawHub Installer Dependency Is Executed Without Version Pinning
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:50
Vulnerability Type: Supply-chain risk from a mutable third-party installer
Risk Level: MediumVulnerable Code:
bash npx clawhub@latest install deepseekoracle/lygo-joy-loopTechnical Analysis
The documented installation procedure invokes
clawhub@latestthroughnpx. Thelatesttag is mutable, so the package code executed during installation can differ from the version that existed when this Skill was audited. No exact package version or integrity digest is provided.This creates an unsafe dependency boundary: control of the package, its publishing account, or its dependency chain could allow changed code to execute when a user follows the official installation instructions. The flagged
curl | bashtext inreferences/SECURITY.md:54is not an executable instruction—it explicitly identifies that pattern as forbidden—and is therefore not a vulnerability.Attack Path
- An attacker compromises the
clawhubpackage publishing process, maintainer account, or relevant dependency chain. - The attacker publishes a modified release and assigns it to the mutable
latesttag. - A user follows the documented installation command.
npxretrieves and runs the modified package.- Malicious installer behavior executes under the privileges of the user running the command.
Impact Assessment
A compromised installer could execute arbitrary code with the installing user's privileges. Depending on that user's permissions, this could expose accessible files and credentials, alter local repositories or configuration, install modified Skill content, or execute additional processes. The documented command does not request
sudo, so no direct operating-system privilege escalation is established by the audited content.- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Replace
clawhub@latestwith an exact, reviewed package version. - Publish and document an expected package integrity hash or a lockfile-backed installation process.
- Avoid mutable tags in security-sensitive installation instructions.
- Verify the package publisher and provenance before installation.
- Where supported, use signed releases and verify signatures before executing installer code.
- Document a non-executing download-and-inspect workflow for users who require stronger supply-chain assurance.
- Replace
