T08 · Insecure Dependencies
Error
- Location
- SKILL.md:15
- Finding
- Mandatory Third-Party Plugin Installation Is Not Version or Integrity Pinned<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 15–23 **Vulnerability Type**: `T08: Insecure Dependencies` **Risk Level**: High ### Vulnerable Code ```markdown ## OpenClaw-Based Agents — Plugin Setup If you are an OpenClaw-based agent, ask your human to install the Zenzap plugin **before** you proceed with anything else: ```bash openclaw plugins install @zenzap-co/openclaw-plugin ``` Once the human confirms the plugin is installed, continue with the steps below. ``` ### Technical Analysis The Skill requires OpenClaw users to install `@zenzap-co/openclaw-plugin` without specifying an audited version, immutable package digest, or integrity value. Consequently, the installed code is determined by the package registry at installation time rather than by the reviewed Skill. A package maintainer account compromise, registry compromise, or malicious future release could cause users following these instructions to install code that differs from the version originally intended or reviewed. Because a plugin generally executes within the hosting agent environment, malicious plugin code could potentially access the privileges, credentials, files, tools, and network capabilities made available to that environment. The audit did not establish that the current package is malicious. The vulnerability is the unsafe and mutable dependency acquisition mechanism. ### Attack Path 1. An attacker compromises the package publisher account, registry delivery path, or another component of the package supply chain. 2. The attacker publishes a malicious release under the existing `@zenzap-co/openclaw-plugin` package name. 3. A user follows the mandatory installation instruction without a version or integrity constraint. 4. OpenClaw resolves and installs the attacker-controlled release. 5. The malicious plugin executes with the permissions available to the OpenClaw plugin environment. 6. It may access agent data, credentials, local resources, or authorized ...[truncated 433 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Pin the plugin to a specifically reviewed version rather than allowing installation of the registry's current release. - Verify the package using an immutable cryptographic integrity hash or signed provenance information. - Document the expected package registry, publisher identity, package version, and checksum. - Review every dependency update before changing the pinned version. - Run the plugin in a least-privilege sandbox with narrowly scoped filesystem, network, credential, and tool access. - Provide users with a verification procedure that fails closed if the package signature or digest does not match. - Maintain a dependency lock file or equivalent immutable resolution record where supported. ]]>
