T08 · Insecure Dependencies
- Location
SKILL.md:26- Finding
Unpinned Third-Party Package and Skill Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 26–30 and 35
Vulnerability Type: Unpinned supply-chain dependency execution
Risk Level: HighVulnerable Code
bash npx -y clawhub@latest install apollo-api npx -y clawhub@latest install linkedin-api npx -y clawhub@latest install yc-cold-outreach npx -y clawhub@latest install cold-email npx -y clawhub@latest update --allThe same unpinned package is subsequently invoked for verification:
bash npx -y clawhub@latest listTechnical Analysis
The documented commands use
npx -yto download and executeclawhub@latest. Thelatesttag is mutable, so the code executed at installation time may differ from the version reviewed when this skill was published. The-yoption suppresses the normal installation confirmation, further reducing opportunities for operator review.Although the document records specific inspected versions of the four upstream skills, the installation commands do not pin those versions. Consequently, later or compromised releases may be installed without a review of their code, instructions, permissions, or dependency trees.
The command
update --allbroadens the effect beyond this skill’s four declared dependencies. It may replace unrelated locally installed skills with newer, unreviewed releases. No checksum, signature, lockfile, trusted digest, or post-download integrity check is required by the documented workflow.This is a supply-chain weakness rather than evidence that the currently referenced packages are malicious.
Attack Path
- An attacker compromises the package registry account, publication pipeline, mutable distribution tag, or one of the referenced skill releases.
- The attacker publishes a modified package or skill under the version selected by
latestor by an unversioned installation request. - An agent or operator follows the commands in
SKILL.md. npx -ydownloads and executes the modifiedclawhubpackage with ...[truncated 1424 chars]
- Remediation
View remediation
Remediation Suggestions
-
Replace
clawhub@latestwith a specifically reviewed version:bash npx -y clawhub@<reviewed-version> install ... -
Pin every required skill to its inspected version rather than relying on an unversioned installation:
apollo-apiversion1.0.5linkedin-apiversion1.0.2yc-cold-outreachversion1.0.1cold-emailversion1.0.5
Use the package manager’s supported exact-version syntax.
-
Remove
update --allfrom the installation workflow. Update only the explicitly required skills, one at a time, after reviewing release changes. -
Verify package and skill integrity using trusted signatures or published cryptographic digests. Fail closed if verification cannot be completed.
-
Maintain a lockfile or signed dependency manifest containing exact versions and integrity hashes.
-
Separate installation from normal skill execution. Require explicit operator approval for dependency upgrades rather than allowing an agent to upgrade automatically.
-
Run installation in a sandbox or least-privileged environment with no production credentials in the process environment.
-
Review new releases and their transitive dependencies before changing pinned versions. Document the reviewed digest alongside each version.
-
Use a trusted internal mirror or allowlisted registry where practical, and monitor package ownership or publication changes.
-
