T08 · Insecure Dependencies
- Location
SKILL.md:40- Finding
Unpinned Third-Party Package Execution Through npx
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 40-42
Vulnerability Type: Insecure dependency and supply-chain usage
Risk Level: MediumComplete Code Snippet:
bash npx clawhub@latest install deepseekoracle/lyra-open-claw npx clawhub@latest install deepseekoracle/lygo-openclaw npx clawhub@latest install deepseekoracle/lyra-brainTechnical Analysis
The installation instructions invoke
npx clawhub@latest. The@latesttag is mutable and does not pin the executable package to a specific reviewed version or integrity hash. Consequently, following these instructions can retrieve and execute a future npm release whose contents differ from those available when this skill was audited.The invoked tool also installs three remotely sourced skills. Two of those related skills are not included in this repository, so their code, instructions, permissions, and transitive dependencies are outside the audited scope. Project names, publisher names, signatures displayed in documentation, and repository URLs do not cryptographically verify the npm package or downloaded skill contents.
This creates a supply-chain trust boundary in which compromise of the npm package, its dependencies, its publisher account, or a remotely installed skill could cause unreviewed content to execute or become active on the operator's system.
Attack Path
- An attacker compromises the
clawhubnpm publisher, a relevant dependency, or the distribution channel, or causes a malicious release to receive thelatesttag. - Alternatively, an attacker compromises one of the remote skill packages referenced by the installation commands.
- An operator follows the documented command using
npx clawhub@latest. npxdownloads and executes the mutable package without enforcing a project-specified version or integrity digest.- The compromised installer or skill executes malicious code or introduces malicious instruction ...[truncated 819 chars]
- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Replace
clawhub@latestwith an exact, reviewed package version. - Commit and enforce an npm lockfile containing integrity metadata where the installation workflow permits it.
- Publish expected package checksums or signatures through a separately trusted channel and verify them before execution.
- Pin each related skill to a reviewed immutable version, commit, or content digest rather than installing a mutable release.
- Download and inspect packages before activation instead of combining retrieval and execution in a single
npxoperation. - Run installation with minimal privileges in an isolated environment that has no production secrets or sensitive wallet material.
- Document the expected npm publisher identity and establish a release-verification and dependency-review process.
- Replace
