T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:50
- Finding
- Unpinned Third-Party Plugin Installation Creates a Supply-Chain Risk<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:13-16` and `SKILL.md:50-58` **Vulnerability Type**: Unpinned third-party dependency installation **Risk Level**: Medium ### Vulnerable Code ```yaml install: - kind: node package: "@thenvoi/openclaw-channel-thenvoi" label: "Install Thenvoi channel plugin" ``` ```markdown ### 3. Install the Channel Plugin Run the following command and wait for it to complete (this may take a few minutes): ``` openclaw plugins install @thenvoi/openclaw-channel-thenvoi ``` Do not interrupt the installation. If you see dependency warnings during the process, wait — they resolve automatically. ``` ### Technical Analysis The Skill installs `@thenvoi/openclaw-channel-thenvoi` without specifying a version, lockfile, or integrity hash. Consequently, the package resolved at installation time can differ from the package that was originally reviewed. The project contains only `SKILL.md`; it does not include the plugin implementation, dependency lockfile, or other material needed to audit the executable package. Installation therefore transfers trust to the current npm package, its maintainers, and its transitive dependency chain. If the package publisher account, npm package, or a transitive dependency is compromised, a malicious release could run through package lifecycle behavior or when OpenClaw loads the installed plugin. The instruction to disregard dependency warnings further discourages users from investigating potentially relevant supply-chain indicators. ### Attack Path 1. An attacker compromises the npm publisher account, package release pipeline, or a transitive dependency. 2. The attacker publishes a malicious version under the existing package name. 3. A user follows the Skill and runs the unversioned installation command. 4. The package manager resolves the attacker-controlled release because no reviewed version or integrity value is required. 5. Malicious code executes during installation or ...[truncated 745 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Pin the plugin to an explicitly reviewed version, for example: ```sh openclaw plugins install @thenvoi/openclaw-channel-thenvoi@<reviewed-version> ``` 2. Publish and verify the expected package integrity hash before installation. 3. Provide a lockfile or vendored, auditable source corresponding exactly to the recommended release. 4. Review both the direct package and its transitive dependencies before upgrading. 5. Use automated dependency scanning and provenance verification where supported. 6. Do not advise users to disregard dependency warnings categorically; require warnings to be reviewed and resolved. 7. Run OpenClaw and third-party plugins under a dedicated, least-privileged operating-system account with restricted filesystem and network access. ]]>
