T08 · Insecure Dependencies
- Location
SKILL.md:35- Finding
Unpinned Third-Party Tool Execution and Overbroad Skill Updates
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 35–43
Vulnerability Type: Supply-chain exposure through mutable dependencies
Risk Level: MediumVulnerable Code
bash npx -y clawhub@latest install github-api npx -y clawhub@latest install vercel npx -y clawhub@latest install netlify npx -y clawhub@latest install domain-dns-ops npx -y clawhub@latest install api-gateway npx -y clawhub@latest update --allTechnical Analysis
The documented commands use
npx -y clawhub@latest, which downloads and executes the package version currently associated with the mutablelatesttag. The project provides no lockfile, integrity hash, signature requirement, or fixed package version to ensure that the executed package is the same version that was previously reviewed.Although the skill documentation identifies inspected versions of its upstream skills, the installation commands do not pin those versions. Consequently, users may install later and materially different releases without an intervening security review.
The
update --allcommand further expands the trust boundary by updating every installed skill rather than only the dependencies required by this skill. This can modify unrelated Agent capabilities and increases exposure to compromised, malicious, or unexpectedly changed upstream components.Attack Path
- An attacker compromises the
clawhubnpm package, its publishing account, the mutablelatestrelease, or an upstream skill release. - A user follows the installation instructions in
SKILL.md. npxretrieves and executes the attacker-controlled or unexpectedly modified package without an interactive confirmation because of the-yoption.- The installation process installs modified skills or performs malicious package lifecycle behavior with the privileges of the invoking user.
- If
update --allis executed, unrelated installed skills may also be replaced with unreviewed versions. - The compromised pac ...[truncated 715 chars]
- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Replace
clawhub@latestwith an exact, reviewed version:bash npx -y clawhub@<reviewed-exact-version> install ... - Pin each installed skill to the exact versions recorded as inspected, where the CLI supports version selection.
- Verify npm package integrity through a committed lockfile, trusted registry configuration, integrity hashes, or package signatures.
- Remove
npx -y clawhub@latest update --allfrom the standard installation workflow. - Update only the explicitly required skills, one at a time, after reviewing their version changes.
- Run installation with the least-privileged account available and avoid exposing unrelated credentials to the installation process.
- In controlled environments, mirror approved package artifacts in a trusted registry and permit only reviewed versions.
- Document a review and rollback procedure for dependency upgrades.
- Replace
