T08 · Insecure Dependencies
- Location
SKILL.md:14- Finding
Unpinned Package Execution in Installation Command
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 14
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumVulnerable Code Snippet:
yaml install: "npx clawhub install howtousehumans/difficult-conversations"Technical Analysis
The installation command invokes
clawhubthroughnpxwithout specifying a reviewed package version or integrity value. Depending on the local npm configuration and cache state,npxcan retrieve and execute the package version currently resolved by the configured registry.This creates a supply-chain trust dependency on the package registry, the
clawhubpackage, its maintainers, and its transitive dependencies. If any component is compromised or unexpectedly changed after review, the command can execute code that was not included in this audited project. The project does not provide a lockfile, package hash, registry restriction, or other mechanism for reproducing and verifying the installed executable.Attack Path
- An attacker compromises the resolved
clawhubpackage, one of its dependencies, its publishing account, or the configured package registry. - The attacker publishes a malicious version that is selected by the unpinned
npx clawhubinvocation. - A user or deployment process runs the installation command from the skill metadata.
npxdownloads and executes the attacker-controlled package.- The malicious package operates with the privileges of the account running the installer.
Impact Assessment
Successful exploitation could permit arbitrary command execution under the installing user's privileges. Depending on those privileges, the payload could read or modify accessible files, obtain environment variables and credentials, alter installed skills, or install additional software. The scope is limited by the operating-system permissions and sandboxing applied to the installation process.
- An attacker compromises the resolved
- Remediation
View remediation
Remediation Suggestions
- Pin
clawhubto an explicitly reviewed version rather than allowing dynamic resolution. - Use a trusted, explicitly configured package registry.
- Verify package provenance and integrity through registry signatures, checksums, or an equivalent integrity mechanism.
- Lock and audit all transitive dependencies used by the installer.
- Execute installation in a restricted environment without administrative privileges or unnecessary credentials.
- Re-review the resolved package whenever the pinned version is updated.
- Pin
