T08 · Insecure Dependencies
- Location
README.md:9- Finding
Unpinned Third-Party Installation Commands Create a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 9-15
Vulnerability Type: Unpinned and mutable third-party installation sources
Risk Level: MediumVulnerable Code
bash npx skills add https://github.com/wpank/Agentic-Uniswap/tree/main/.ai/skills/research-and-tradebash npx clawhub@latest install research-and-tradeTechnical Analysis
The documented installation commands rely on mutable third-party sources without pinning them to reviewed versions or verifying their integrity.
The first command installs skill content from the mutable
mainbranch of a GitHub repository. The second uses the mutablelatestpackage tag and allowsnpxto retrieve and execute a package version that may differ from the version reviewed during this audit.Because neither command specifies an immutable Git commit, fixed package version, checksum, or trusted signature, future users may receive code that is different from the audited two-file artifact. This creates a time-of-review versus time-of-installation gap.
This finding concerns the documented installation process. The audited artifact itself contains no local executable scripts or confirmed malicious payload.
Attack Path
- An attacker compromises the upstream GitHub repository, package registry account, maintainer account, or another relevant publishing channel.
- The attacker modifies the repository’s
mainbranch or publishes a malicious package version resolved by thelatesttag. - A user follows the installation instructions in
README.md. npxretrieves mutable remote package content, and the installer retrieves or installs skill content that was not part of this audit.- The malicious upstream content executes or is installed with the permissions of the user running the command.
- Depending on those permissions and the payload, the attacker may access user files, credentials, wallet-related data, or agent configuration.
Impact Assessment
Successf ...[truncated 485 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin every
npxpackage to a reviewed, immutable version instead of using@latest. - Replace the GitHub
mainbranch reference with a full reviewed commit SHA or immutable signed release tag. - Publish cryptographic checksums for downloaded artifacts and verify them before installation.
- Use signed releases or package provenance mechanisms and document signature verification.
- Prefer lockfiles and reproducible installation procedures where applicable.
- Avoid executing package installers directly from mutable remote sources. Download and inspect the pinned artifact before execution when practical.
- Apply least privilege during installation: do not run the commands as root or with unnecessary access to secrets, wallets, or sensitive directories.
- Establish a dependency update process in which new versions are reviewed and approved before documentation is updated.
- Pin every
