T08 · Insecure Dependencies
- Location
README.md:6- Finding
Unpinned Third-Party Package Execution in Installation Instructions
- Content
View full analysis
Vulnerability Details
File Location:
README.md:6
Vulnerability Type: Supply-chain risk caused by executing a mutable package release
Risk Level: MediumVulnerable Code Snippet:
bash npx clawhub@latest install hiking-trackerTechnical Analysis
The documented installation command instructs users to download and execute the
latestrelease of the third-party npm packageclawhub. Thelatesttag is mutable and does not identify a specific, audited package version or integrity hash. Consequently, the code executed by this command may change after the Skill has been reviewed.npxcan download and run package code as the current user. If the package publisher account, npm distribution channel, or a future package release is compromised, following the documented installation procedure could execute attacker-controlled code. The repository provides no lockfile, checksum, signature-verification procedure, or pinned version that would allow users to verify the fetched package against a known-good artifact.This finding establishes an unsafe dependency-execution pattern; it does not establish that the current
clawhubpackage is malicious.Attack Path
- An attacker compromises the npm publisher account, package distribution path, or release process for
clawhub. - The attacker publishes a malicious release and assigns it the mutable
latesttag. - A user follows the installation command documented in
README.md. npxretrieves the attacker-controlled package release.- Package lifecycle behavior or the invoked CLI executes with the privileges of the user running the command.
- The malicious package can access or modify resources available to that user before or while processing the Skill installation.
Impact Assessment
Successful exploitation could provide arbitrary code execution under the installing user's account. The attainable scope includes reading user-accessi ...[truncated 465 chars]
- An attacker compromises the npm publisher account, package distribution path, or release process for
- Remediation
View remediation
Remediation Suggestions
-
Replace
@latestwith an explicitly reviewed and pinned package version, for example:bash npx clawhub@<reviewed-version> install hiking-tracker -
Verify the selected package version and publisher before documenting it.
-
Record and validate the expected package integrity hash or use a lockfile-backed installation workflow where applicable.
-
Prefer a trusted internal registry or an independently verifiable signed release when the installation tooling supports it.
-
Configure CI or dependency-monitoring controls to review version changes rather than automatically following mutable tags.
-
Document that users should not run the installation command with administrative privileges.
-
