T08 · Insecure Dependencies
- Location
README.md:49- Finding
Unpinned Third-Party Skill Installation Through npx
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 49-55
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumVulnerable Code
bash npx clawhub install a-stock-trading-assistant --dir skills npx clawhub install a-stock-market --dir skills npx clawhub install china-stock-analysis --dir skills npx clawhub install china-a-stock-trader --dir skills npx clawhub install a-share-signal --dir skillsTechnical Analysis
The installation instructions execute
clawhubthroughnpxwithout pinning the CLI to a reviewed version. They also install five third-party skills without specifying immutable versions, commit identifiers, integrity hashes, signatures, or verified publishers.As a result, the content executed or installed when a user follows these instructions may differ from the content that existed when this project was reviewed. An attacker who compromises the package distribution channel, a publisher account, the
clawhubpackage, or one of the named skill packages could introduce malicious code into a subsequent release. Package installation may execute lifecycle code, while an installed skill may later execute with the capabilities granted to the Agent environment.The external dependencies are not included in this repository, so their implementation and behavior could not be audited as part of this assessment. The repository itself contains no confirmed malicious executable payload.
Attack Path
- An attacker compromises or gains control of the
clawhubpackage or one of the five referenced skill packages. - The attacker publishes a malicious release under the expected package or skill name.
- A user follows the documented installation instructions.
- Because no immutable versions or integrity values are specified,
npxorclawhubretrieves the attacker-controlled release. - Malicious installation hooks or skill code execute under the invoking user's a ...[truncated 949 chars]
- An attacker compromises or gains control of the
- Remediation
View remediation
Remediation Suggestions
- Pin the
clawhubCLI to a specific reviewed version instead of invoking an unspecified latest release throughnpx. - Pin every referenced skill to an immutable reviewed version or commit identifier.
- Publish and verify cryptographic checksums or signatures for the CLI and each installed skill.
- Use a trusted, access-controlled registry and verify package publisher identities before installation.
- Maintain a lockfile or vendor reviewed dependency artifacts so installations are reproducible.
- Audit the complete source and installation behavior of every external skill before recommending it to users.
- Perform installation and execution in a sandbox with minimal filesystem, credential, and network access.
- Avoid running the installation commands with administrative privileges.
- Document the exact approved versions and an update-review process so dependency upgrades receive a new security assessment.
- Pin the
