T08 · Insecure Dependencies
Warning
- Location
- references/find-skills/SKILL.md:57
- Finding
- Unpinned and Unattended Installation of Third-Party Skills<![CDATA[ ## Vulnerability Details **File Location**: `references/find-skills/SKILL.md:17-22,57-62`; `references/training/quickstart.md:279-284` **Vulnerability Type**: Supply-chain exposure through unsafe third-party installation **Risk Level**: Medium ### Evidence ```bash npx skills find [query] npx skills add <package> npx skills check npx skills update ``` ```bash npx skills add <owner/repo@skill> -g -y ``` ```bash clawhub install browser-use --yes ``` ### Technical Analysis The Skill instructs the agent to discover and install packages from GitHub or other external sources without requiring an approved-source policy, integrity verification, immutable version or commit pinning, or a security review of the retrieved package. The `-g` option expands the installation scope to the user-level global environment, while `-y` and `--yes` suppress confirmation. Consequently, a search result can transition directly into an unattended installation. Package names such as `browser-use` are mutable identifiers rather than cryptographically verified artifacts. This creates a dependency supply-chain risk. A malicious publisher, compromised repository, dependency-confusion package, typosquatted package, or compromised upstream release could supply instructions or executable components that were not present during this audit. ### Attack Path 1. An attacker publishes a malicious Skill matching a likely search query, compromises an existing Skill repository, or gains control of a mutable upstream release. 2. A user asks the agent to locate a Skill for a particular capability. 3. The agent runs the documented search workflow and presents the attacker-controlled package as a candidate. 4. The user accepts the recommendation, or the workflow proceeds using the documented unattended installation flags. 5. The agent runs `npx skills add <owner/repo@skill> -g -y` or `clawhub install browser-use --yes`. 6. The unreviewed package is installed into the agent environment and ca ...[truncated 795 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove automatic installation and confirmation-bypass flags from the default workflow. 2. Require explicit, informed user approval immediately before every installation. 3. Restrict installations to an allowlist of trusted publishers and repositories. 4. Pin each dependency to an immutable, verified commit hash or signed release rather than a mutable package name. 5. Verify checksums, signatures, provenance attestations, and repository ownership before installation. 6. Review the complete Skill package, including manifests, scripts, hooks, nested dependencies, and requested permissions. 7. Prefer project-local installation over global installation to reduce the affected scope. 8. Run newly installed Skills in a sandbox with minimal filesystem, network, credential, and tool permissions. 9. Display the exact source, resolved version, requested permissions, and integrity information to the user before approval. 10. Maintain a lockfile or equivalent inventory so that subsequent installations reproduce the reviewed artifact. ]]>
