T08 · Insecure Dependencies
- Location
SKILL.md:21- Finding
Mutable Installation Dependency Executed Through npx
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:21
Vulnerability Type: Unpinned third-party package execution
Risk Level: MediumVulnerable Code:
bash npx clawhub@latest install deepseekoracle/lygo-smart-disk-agentTechnical Analysis
The documented installation procedure invokes the mutable
latestrelease of the third-partyclawhubpackage.npxmay download and execute that package during installation. No exact version, integrity hash, lockfile, or provenance verification is specified.Consequently, the code executed by this command can change after the Skill has been audited. This is a supply-chain weakness rather than evidence that the currently referenced package is malicious.
Attack Path
- An attacker compromises the upstream package publisher, package registry account, release workflow, or distribution channel.
- The attacker publishes a modified package under the version selected by the
latesttag. - A user follows the installation command from
SKILL.md. npxdownloads and executes the modified package.- The malicious package runs with the permissions of the user performing the installation.
Impact Assessment
Successful exploitation could provide arbitrary code execution under the installing user's account. Depending on that account's permissions, the compromised dependency could read or modify user-accessible files, access credentials available to the process, alter the installed Skill, or establish additional unauthorized behavior.
The reviewed project does not itself request elevated operating-system privileges, so the direct scope is normally limited to the installing user's privileges unless the command is run from an elevated shell.
- Remediation
View remediation
Remediation Suggestions
- Replace
clawhub@latestwith a reviewed, exact package version. - Publish and verify a cryptographic integrity digest or signed provenance statement for the installer.
- Use a lockfile or equivalent dependency-resolution record where supported.
- Document that installation should be performed as an unprivileged user.
- Review and update the pinned version deliberately rather than allowing automatic selection of mutable releases.
- Consider separating package download from execution so users can verify the artifact before running it.
- Replace
