T08 · Insecure Dependencies
- Location
README.md:23- Finding
Unpinned Remote Installers May Execute Unreviewed Code
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 23-32
Vulnerability Type: Supply-chain risk from mutable, unpinned remote installation tools and sources
Risk Level: MediumVulnerable Code
bash ### ClawHub ```bash npx clawhub@latest install fairscale-solanaGitHub
bash npx skills add RisheeA/fairscale-solana-skilltext ### Technical Analysis The documented installation methods invoke remotely resolved npm tooling without pinning the tools or installed content to immutable versions. In particular, `clawhub@latest` is a mutable release tag. The GitHub-based command also identifies a repository without an immutable commit hash. These commands can therefore retrieve and execute content that differs from the files covered by this audit. If an npm account, package, repository, maintainer account, or publication pipeline is compromised, the installation commands could deliver attacker-controlled code. This is a supply-chain weakness; the reviewed repository itself contains no confirmed malicious payload. ### Attack Path 1. An attacker compromises one of the referenced npm packages, its publisher, the source repository, or its release pipeline. 2. The attacker publishes a malicious version under the mutable `latest` tag or modifies remotely resolved repository content. 3. A user follows the installation instructions. 4. `npx` downloads and executes the changed installer or installs changed skill content. 5. The malicious process runs with the permissions of the user performing the installation. ### Impact Assessment Successful exploitation could permit arbitrary code execution under the installing user's account. Depending on that account's privileges and environment, the attacker could access user-readable credentials and files, alter local configuration, install persistent components, or compromise the agent environment. No privilege escalation beyond the invoking ...[truncated 65 chars]- Remediation
View remediation
Remediation Suggestions
- Replace
@latestwith a reviewed, exact package version. - Pin repository installation to a specific audited commit hash or signed release.
- Publish and verify cryptographic integrity hashes or signatures.
- Use lockfiles where supported and verify package provenance.
- Document a controlled dependency-review and update process.
- Advise users to inspect the resolved package and repository provenance before execution.
- Replace
