T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:50
- Finding
- Unpinned Third-Party Package and Skill Installation## Vulnerability Details **File Location**: `SKILL.md:50`, `SKILL.md:521`, `SKILL.md:580`, `SKILL.md:842`; `README.md:14` **Vulnerability Type**: Supply-chain exposure through unpinned dependencies **Risk Level**: Medium ### Vulnerable Code ```bash # SKILL.md:50 npm install -g openclaw # SKILL.md:521 clawhub install afrexai-email-marketing-engine # SKILL.md:580 brew install 1password-cli # SKILL.md:842 clawhub install afrexai-[name] # README.md:14 clawhub install afrexai-openclaw-mastery ``` ### Technical Analysis The documented installation commands do not pin package or Skill versions and do not verify checksums, signatures, lockfiles, or publisher identities. Consequently, the components installed when a user follows these instructions can differ from the versions that existed when this artifact was audited. Global installation of `openclaw` increases the potential impact because the resulting executable is placed in the user's global command environment. ClawHub Skills can also introduce new instructions or executable content into an agent environment. A compromised publisher account, registry, package release, or mutable Skill could therefore introduce behavior not represented by the reviewed files. The Homebrew installation is sourced from a well-known package manager, but it remains unpinned and is included because the instructions provide no integrity or version controls. ### Attack Path 1. An attacker compromises a referenced publisher account, package registry entry, or upstream distribution channel. 2. The attacker publishes a malicious version under the same package or Skill name. 3. A user follows one of the unpinned installation commands. 4. The package manager retrieves the latest mutable release rather than a specifically reviewed version. 5. Malicious package installation logic, executable code, or Skill instructions run in the user's environment. 6. The payload operates with the ...[truncated 883 chars]
- Remediation
- ## Remediation Suggestions 1. Pin every package and Skill to a specifically reviewed version. 2. Where supported, verify publisher signatures and cryptographic checksums before installation. 3. Record expected hashes and trusted registry endpoints in the documentation. 4. Review the complete contents and installation hooks of each Skill or package before use. 5. Prefer project-local or isolated installation over global installation. 6. Use lockfiles or equivalent immutable dependency manifests where available. 7. Test new versions in a sandbox with restricted filesystem, network, credential, and channel access before promotion. 8. Establish an explicit update-review process rather than recommending unrestricted bulk updates.
