T08 · Insecure Dependencies
- Location
SKILL.md:8- Finding
Unpinned Third-Party Package Execution and Successor Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 8
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumVulnerable Code Snippet:
text > `npx clawhub@latest install deepseekoracle/lygo-champion-council`Technical Analysis
The documented migration command instructs users to execute the mutable
latestrelease of the third-partyclawhubnpm package. It then installs a successor Skill whose contents are not included in this repository and were therefore outside the audited codebase.The
latesttag is not immutable. Its resolved package contents can change after this Skill has been reviewed. The command does not pin a package version, enforce a package integrity digest, identify an expected successor artifact hash, or require review before activation. Consequently, the effective code and Skill instructions executed by users may differ from those covered by this audit.This constitutes an unsafe supply-chain boundary. It is not evidence that the current external packages are malicious, but the installation method creates exposure if the npm package, publishing account, registry resolution, or successor Skill is compromised or unexpectedly changed.
Attack Path
- An attacker compromises the
clawhubpackage, its publisher account, its dependency chain, or another relevant distribution component. - The attacker publishes a modified release and causes the mutable
latesttag to resolve to it. - A user follows the migration command in
SKILL.md. npxdownloads and executes the package resolved byclawhub@latest.- The downloaded package can run with the invoking user's privileges and install an unaudited successor Skill.
- Malicious executable behavior or instructions may then affect the local environment or Agent.
Impact Assessment
Successful exploitation could permit code supplied through the package distribution chain to execute with the privileges of the user running
npx. The resu ...[truncated 533 chars]- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Replace
clawhub@latestwith a specific, reviewed package version. - Pin and verify the npm package integrity value through a lockfile or equivalent immutable integrity control.
- Publish and validate the expected cryptographic digest or signed provenance of the successor Skill before installation.
- Review the complete successor Skill, including its scripts, dependencies, hooks, and instructions, before activation.
- Avoid automatically trusting or enabling the installed Skill merely because installation completed successfully.
- Run installation with the minimum required privileges in an isolated environment where practical.
- Document a controlled upgrade process that requires explicit review whenever the package version or successor artifact digest changes.
- Replace
