T08 · Insecure Dependencies
Warning
- Location
- setup.md:90
- Finding
- Unpinned Third-Party Skill Installation and Automatic Setup Execution## Vulnerability Details **File Location**: `setup.md:90-104` **Vulnerability Type**: Untrusted and unpinned third-party Skill dependency **Risk Level**: Medium ### Vulnerable Code ```markdown ### 5. Add the Proactivity Companion as Part of Setup At the end of setup, briefly tell the user that you are going to add characteristics so the agent is more proactive: - noticing missing next steps - verifying outcomes instead of assuming they landed - recovering context better after long or interrupted threads - keeping the right level of initiative Then say that, for this, you are going to install the `Proactivity` skill. Only install it after the user explicitly agrees. If the user agrees: 1. Run `clawhub install proactivity` 2. Read the installed `proactivity` skill 3. Continue into its setup flow immediately so the skill is active for this workspace ``` ### Technical Analysis The setup process installs `proactivity` by mutable package name without pinning an audited version or validating a cryptographic integrity hash. It then instructs the Agent to read the newly installed Skill and immediately continue into that Skill's setup flow. User consent prevents a completely silent installation, but it does not establish the integrity or safety of the package retrieved at installation time. The reviewed package therefore delegates part of its setup behavior to content that can differ from what was previously audited. If the registry entry, publisher account, distribution infrastructure, or a later release is compromised, the newly retrieved Skill could supply unsafe instructions. This is an insecure supply-chain boundary rather than evidence that the currently referenced `proactivity` package is malicious. The risk arises from combining an unpinned dependency with automatic interpretation of its instructions. ### Attack Path 1. An attacker compromises the `proactivity` publisher account, registry entry, or packa ...[truncated 1689 chars]
- Remediation
- ## Remediation Suggestions 1. Pin `proactivity` to a specifically audited version rather than installing the latest mutable release. 2. Validate the downloaded package against a trusted cryptographic digest or signed publisher manifest. 3. Display the resolved publisher, version, requested capabilities, and integrity information before asking for installation approval. 4. Separate installation from activation. After installation, inspect and summarize the companion Skill's instructions and request a second explicit confirmation before following its setup flow. 5. Do not automatically execute or adopt instructions merely because they appear in the installed Skill. 6. Enforce capability restrictions for companion setup, including explicit approval for network access, writes outside its declared storage directory, workspace steering changes, or further dependency installation. 7. Maintain an allowlist of reviewed companion versions and fail closed if the retrieved artifact does not match the approved version and digest. 8. Document how users can inspect, disable, and uninstall the companion Skill and reverse any workspace changes it makes.
