T08 · Insecure Dependencies
- Location
README.md:39- Finding
Unpinned ClawHub Package Installation Enables Supply-Chain Substitution
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 39-43; duplicated inSKILL.md, lines 123-129
Vulnerability Type: Unpinned third-party package installation
Risk Level: LowVulnerable Code
bash # Install from ClawHub npx clawhub install sleep-health-assistantThe documented installation command identifies the package only by name. It does not pin a package version, release digest, commit, or integrity hash. Consequently, the code installed by a user can differ from the version represented by the audited project files.
npxmay also retrieve and run theclawhubcommand from the configured npm registry when it is not already installed locally. This adds another mutable dependency to the installation path.Technical Analysis
The effective installation chain depends on the current registry entries for both
clawhubandsleep-health-assistant. If either registry account, package, release process, or configured registry is compromised, a malicious release could be served after this audit without modifying the reviewed repository.The reviewed Python implementation itself contains no remote download or execution logic. The risk is limited to the documented installation process and therefore requires a user or administrator to execute the command.
Attack Path
- An attacker compromises a relevant registry publisher account, release pipeline, registry mirror, or package namespace.
- The attacker publishes a malicious version under
clawhuborsleep-health-assistant. - A user follows the documented unpinned installation command.
- The package manager resolves the mutable package name to the attacker-controlled release.
- The malicious package executes with the permissions available to the installing user or is loaded by OpenClaw as an installed skill.
Impact Assessment
Successful exploitation could allow attacker-controlled package code to execute with the privi ...[truncated 413 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the
clawhubCLI to a reviewed version rather than allowingnpxto resolve an arbitrary current release. - Pin the skill to an immutable version, release digest, or verified commit.
- Publish and verify cryptographic checksums or package signatures before installation.
- Prefer a lockfile-backed installation workflow with integrity metadata.
- Document the expected package publisher and trusted registry.
- Avoid automatically accepting newly published versions; require review before updating.
- Apply the same changes to the duplicated installation instructions in
SKILL.mdand the packagedsleep-health-assistant-v1.0.0/directory.
- Pin the
