T08 · Insecure Dependencies
- Location
README.md:153- Finding
Unpinned Package Execution with a Mismatched Skill Identifier
- Content
View full analysis
Vulnerability Details
File Location:
README.md:153
Vulnerability Type: Insecure third-party dependency execution and Skill identifier mismatch
Risk Level: MediumVulnerable Code
bash npx --yes clawhub@latest install great-people-hedge-fund-smsThe requested Skill identifier conflicts with the project metadata in
_meta.json:3:json "slug": "great-people-hedge-fund"Technical Analysis
The installation command uses
npxto retrieve and executeclawhub@latest. Becauselatestis a mutable package tag rather than an exact reviewed version, the code executed at installation time can differ from the code available when this project was audited. No package integrity hash or signature is specified.The
--yesoption automatically accepts installation prompts, reducing the opportunity for users to inspect the package version and requested actions before execution.In addition, the command requests
great-people-hedge-fund-sms, while the audited package metadata declares the sluggreat-people-hedge-fund. The mismatched identifier may cause the installer to retrieve a different Skill that is not represented by the files reviewed in this audit.Attack Path
- A user copies and runs the ClawHub installation command from
README.md. npxresolves the mutableclawhub@latestpackage from the configured npm registry.- The package is downloaded and executed locally without an explicit confirmation prompt because
--yesis present. - The installer requests
great-people-hedge-fund-sms, which differs from the audited project slug. - If either the mutable npm release or the separately identified Skill is compromised or attacker-controlled, its unreviewed installation logic runs in the user's environment.
Impact Assessment
Successful exploitation could execute arbitrary installation logic with the privileges of the user running
npx. Depending on those privileges and the behavior of the retrieved packa ...[truncated 555 chars]- A user copies and runs the ClawHub installation command from
- Remediation
View remediation
Remediation Suggestions
- Replace
clawhub@latestwith an exact, reviewed package version. - Verify the package through a trusted registry and provide an integrity hash or signature where supported.
- Remove
--yesso users can inspect and approve installation actions. - Correct the requested Skill identifier to match
_meta.json:bash npx clawhub@<reviewed-exact-version> install great-people-hedge-fund - Document the expected package publisher, registry, exact version, and Skill identifier.
- Prefer an installation workflow that does not execute remotely retrieved package code, or require users to download and inspect the installer before execution.
- Add release verification procedures to ensure the documentation, metadata slug, and registry artifact remain consistent.
- Replace
