T08 · Insecure Dependencies
- Location
README.md:9- Finding
Unpinned Third-Party Installation Commands Permit Supply-Chain Substitution
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 9–17
Vulnerability Type: Unpinned and mutable third-party dependencies
Risk Level: Mediumbash npx skills add https://github.com/wpank/Agentic-Uniswap/tree/main/.ai/skills/bridge-tokensOr via Clawhub:
bash npx clawhub@latest install bridge-tokensTechnical Analysis
The documented installation procedure retrieves and executes third-party tooling through
npx. Theclawhub@latestreference is mutable and can resolve to a different package version whenever the command is run. Similarly, the GitHub installation URL references the movingmainbranch rather than a reviewed commit.The project provides no exact package versions, commit hashes, integrity digests, signatures, or lockfiles that would bind installation to audited content. Consequently, the effective package manager, installer behavior, and installed skill content may change after this audit without any modification to the reviewed files.
This is an insecure supply-chain practice rather than evidence that the currently referenced upstream projects are malicious.
Attack Path
- An attacker compromises the relevant npm publisher account, registry distribution path, GitHub repository, or upstream maintainer account.
- The attacker publishes a malicious version under the mutable
latesttag or modifies content reachable through themainbranch. - A user follows one of the installation commands in
README.md. npxdownloads and runs the resolved third-party CLI using the user's local privileges.- The malicious installer or retrieved content executes or is installed without being cryptographically bound to the version originally reviewed.
- Depending on the user's permissions, the payload could access or modify files and credentials available to that user or alter the installed agent skill.
Impact Assessment
Successful exploitation may provide ...[truncated 565 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace
clawhub@latestwith an exact, reviewed version. - Pin GitHub-hosted content to a full commit hash instead of the mutable
mainbranch. - Publish expected cryptographic checksums or signatures and verify them before installation.
- Document the exact versions and commit identifiers that have undergone security review.
- Use a lockfile or equivalent immutable dependency manifest where supported.
- Review the downloaded package's lifecycle scripts and installer behavior before execution.
- Run installation with least privilege in an isolated environment, without unnecessary credentials or sensitive environment variables.
- Establish an update process that requires review and integrity verification before changing pinned versions.
- Replace
