T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:15
- Finding
- Unpinned Third-Party Skill Installation## Vulnerability Details **File Location**: `SKILL.md`, lines 15–19 **Vulnerability Type**: Unpinned and unverified third-party dependency **Risk Level**: Medium ### Vulnerable Code ```markdown ## Setup you need install agent-browser skill ``` ```bash clawhub install agent-browser ``` ### Technical Analysis The setup directs users to install the third-party `agent-browser` Skill by a mutable package name. It does not specify an immutable version or digest, verify the package's integrity or publisher, or require a source-code review. Consequently, the dependency installed at deployment time may differ from the dependency that was originally evaluated. Compromise of the package, its publisher account, or its distribution registry could introduce attacker-controlled behavior without requiring changes to this project. Because the dependency provides browser automation functionality, a malicious version could potentially access browser state, interact with websites, submit unauthorized data, or invoke other capabilities available in the Agent environment. ### Attack Path 1. An attacker compromises the `agent-browser` package, its publisher account, or the package distribution channel. 2. The attacker publishes a malicious release under the same mutable package name. 3. A user follows the documented setup instruction and runs `clawhub install agent-browser`. 4. The package manager retrieves and installs the attacker-controlled release. 5. When the Skill invokes browser automation, the malicious dependency executes with the permissions granted to the Agent or installed Skill. 6. The dependency may access browser data, manipulate form submissions, or perform other unauthorized actions within those permissions. ### Impact Assessment Successful exploitation could allow execution of attacker-controlled Skill behavior with the permissions available to the installed dependency. The affected scope may include browser sessions, accessible website content, user-pr ...[truncated 290 chars]
- Remediation
- ## Remediation Suggestions - Pin `agent-browser` to a reviewed, immutable version or cryptographic digest. - Document the expected publisher, source repository, and integrity hash. - Verify package signatures or checksums before installation. - Review the dependency and its transitive dependencies before approving updates. - Apply an allowlist for trusted package sources and publishers. - Run the browser automation dependency with the minimum necessary permissions. - Isolate it from unrelated files, credentials, browser profiles, and Agent tools. - Establish a controlled update process that requires security review before changing the pinned release.
