T08 · Insecure Dependencies
Warning
- Location
- README.md:8
- Finding
- Unpinned Remote Installation Dependencies<![CDATA[ ## Vulnerability Details **File Location**: `README.md`, lines 8–14 **Vulnerability Type**: Unpinned and mutable third-party installation sources **Risk Level**: Medium ### Vulnerable Code ```bash npx skills add https://github.com/wpank/Agentic-Uniswap/tree/main/.ai/skills/design-integration ``` ```bash npx clawhub@latest install design-integration ``` ### Technical Analysis The documented installation commands rely on remotely sourced tooling and mutable upstream content: - `npx clawhub@latest` explicitly resolves and executes the package version currently associated with the `latest` distribution tag. That version can change after this Skill has been reviewed. - The GitHub installation source refers to the mutable `main` branch rather than a reviewed commit SHA. - The commands provide no checksum, lockfile, signature verification, or other integrity constraint for the downloaded components. This creates a supply-chain trust gap between the audited files and the content users may receive later. Although the reviewed project contains no confirmed malicious payload, compromise of the relevant package registry account, npm package, GitHub repository, or maintainer credentials could cause a future installation to execute or install attacker-controlled content. ### Attack Path 1. An attacker compromises a relevant package publisher account, registry artifact, GitHub maintainer account, or upstream repository. 2. The attacker publishes a malicious `clawhub` release under the `latest` tag or modifies content reachable through the repository's `main` branch. 3. A user follows the installation instructions in `README.md`. 4. `npx` downloads and runs the remotely supplied package with the invoking user's permissions, or the installer retrieves modified Skill content from the mutable branch. 5. The malicious installer or installed content can access resources available to that user and can potentially alter the local Skill installation. ### Impact Ass ...[truncated 509 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Replace `@latest` with a specifically reviewed package version, for example `clawhub@x.y.z`. 2. Pin the GitHub source to an immutable commit SHA rather than the `main` branch. 3. Publish and document expected integrity hashes or signed release artifacts where the installation mechanism supports them. 4. Review the pinned installer and Skill revision before recommending them. 5. Advise users not to run installation commands with administrator or root privileges. 6. Establish a controlled update process in which new versions and commits are reviewed before the documentation is updated. ]]>
