T08 · Insecure Dependencies
- Location
SKILL.md:14- Finding
Unpinned Package Execution Through npx Installation Command
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 14–22
Vulnerability Type: Unpinned third-party package execution
Risk Level: MediumVulnerable Code
yaml openclaw: requires: tools: [filesystem] install: "npx clawhub install bicycle-maintenance-repair" --- # Bicycle Maintenance & Repair Keep your two-wheeled income machine running like new. This protocol turns any agent into your personal bike mechanic scheduler and parts researcher while you do the satisfying, embodied work of turning wrenches and test-riding. No more $80 flat repairs or three-day shop waits that cost you deliveries. `npx clawhub install bicycle-maintenance-repair`Technical Analysis
The documented installation procedure invokes
clawhubthroughnpxwithout specifying an audited version, lockfile, or package integrity hash. If the package is not already available in the local cache,npxcan retrieve it from the configured package registry and execute its CLI or package lifecycle behavior.Because the selected package release is mutable from the perspective of this repository, the code ultimately executed by the installation command may differ from the code that existed when
SKILL.mdwas reviewed. This creates a supply-chain trust boundary outside the audited artifact. Exploitation would require compromise or malicious control of the relevant package, publisher account, registry resolution, or configured package source.The repository contains no scripts or embedded executable code demonstrating that the package is currently malicious. The issue is the unsafe, unpinned dependency-execution pattern rather than a confirmed malicious payload.
Attack Path
- An attacker compromises the
clawhubpackage publisher, publication channel, registry account, or another component involved in resolving the package. - The attacker publishes a malicious release under the package name resolved ...[truncated 1126 chars]
- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Pin the installer to a specific, reviewed version, for example:
sh npx --yes clawhub@<reviewed-version> install bicycle-maintenance-repair - Record the package and transitive dependency versions in a lockfile and review changes before updating them.
- Verify package integrity using registry integrity metadata, cryptographic checksums, or signed provenance before execution.
- Explicitly configure and document the trusted package registry rather than relying on an ambient or user-modifiable registry configuration.
- Disable or tightly control dependency lifecycle scripts where the installation workflow permits it.
- Run the installer in a sandbox or least-privileged environment without unrelated credentials, sensitive environment variables, or unnecessary filesystem access.
- Establish a controlled update process that audits each new installer version before changing the pinned version.
- Pin the installer to a specific, reviewed version, for example:
