T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:16
- Finding
- Unpinned Third-Party Plugin Installation and Update<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 16-20; related update instructions at lines 155-159 **Vulnerability Type**: Supply-chain exposure through an unpinned executable dependency **Risk Level**: Medium ### Code Snippet ```markdown When the human asks to install MoltGuard, or when you want to protect yourself: ```bash # Install the plugin openclaw plugins install @openguardrails/moltguard ``` ``` Related update instructions: ```markdown To update MoltGuard to the latest version: ```bash # Update the plugin openclaw plugins update moltguard ``` ``` ### Technical Analysis The Skill instructs the agent or user to install and update a third-party plugin without specifying an exact audited version, integrity hash, or signature. The executable implementation is not included in the audited project, which contains only `SKILL.md`. Consequently, the behavior of the installed package and its transitive dependencies cannot be verified from this artifact. Resolving a mutable package identifier at installation or update time allows the effective code to change after the Skill has been reviewed. The referenced source repository does not, by itself, cryptographically establish that the package obtained by the OpenClaw package manager corresponds to reviewed source code. This is a supply-chain risk rather than evidence that the current upstream package is malicious. ### Attack Path 1. An attacker compromises the package publisher account, package registry, release workflow, or a transitive dependency. 2. The attacker publishes a modified release under the expected package name. 3. A user or agent follows the Skill's installation or update instructions. 4. The package manager resolves the mutable package identifier to the compromised release. 5. The modified plugin executes within the OpenClaw environment and inherits the permissions available to the plugin runtime. ### Impact Assessment A compromised plugin could potentially access ...[truncated 419 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Pin installation to an exact, independently audited plugin version rather than a mutable package identifier. - Verify the package using a trusted integrity hash, signature, or package-manager lock mechanism. - Document the expected registry, publisher identity, source commit, and reproducible relationship between the source and distributed artifact. - Review and lock transitive dependencies before deployment. - Require explicit user approval before installation or update instead of allowing installation merely because the agent “wants to protect itself.” - Run the plugin with least privilege, restricting filesystem access, command execution, credential access, and outbound network destinations. - Test updates in an isolated environment before deploying them to production OpenClaw instances. ]]>
