T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:48
- Finding
- Mutable Third-Party Packages and Skills Installed Without Integrity Verification<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 48–56 **Vulnerability Type**: `T08: Insecure Dependencies` **Risk Level**: Medium ### Vulnerable Code ```bash ## Recommended ClawHub skills to install alongside ```bash npx clawhub@latest install biz-reporter # Financial KPI reporting npx clawhub@latest install arc-security-audit # SOC 2 / PCI-DSS audit npx clawhub@latest install agent-audit-trail # Tamper-evident transaction logs npx clawhub@latest install arc-trust-verifier # Counterparty verification npx clawhub@latest install firm-orchestration # A2A orchestration backbone npx clawhub@latest install firm-delivery-export # Output → report / ticket ``` ``` ### Technical Analysis The documented commands invoke `npx clawhub@latest`, which resolves and executes a mutable version of the `clawhub` package. They then install six additional skills without pinned versions, integrity hashes, signature requirements, or references to reviewed source revisions. Consequently, the code executed by these commands can differ from the content available when this project was audited. A registry compromise, maintainer-account compromise, malicious package update, dependency confusion event, or compromise of one of the recommended skills could introduce attacker-controlled behavior. These commands are recommendations rather than an automatic installation routine, so exploitation requires a user or agent to follow the documented instructions. ### Attack Path 1. An attacker compromises the `clawhub` package, its distribution channel, a transitive dependency, or one of the six recommended skills. 2. The attacker publishes a modified version under the mutable version or skill identifier referenced by the documentation. 3. A user follows the documented `npx clawhub@latest install ...` instructions. 4. `npx` downloads and executes the currently resolved package under the invoking user's privileges. 5. The compromise ...[truncated 864 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Replace `@latest` with an exact, reviewed version of the CLI. 2. Pin exact versions or immutable revisions for every recommended skill. 3. Record and verify package integrity hashes or cryptographic signatures before installation. 4. Use a trusted registry with namespace controls, package provenance, and mandatory multifactor authentication for publishers. 5. Review each skill and its transitive dependencies before recommending installation. 6. Execute installation in an isolated, least-privileged environment without production credentials or sensitive financial data. 7. Generate and retain a lockfile or equivalent dependency manifest. 8. Add an explicit user-confirmation step describing the external code that will be downloaded and executed. 9. Continuously monitor pinned dependencies for compromise and security advisories rather than automatically adopting new releases. ]]>
