T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:16
- Finding
- Unpinned Third-Party Plugin Installation<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, line 16 **Vulnerability Type**: Unpinned third-party dependency installation **Risk Level**: Medium ### Vulnerable Code ```sh openclaw plugins install openclaw-morphixai ``` ### Technical Analysis The documented installation command installs the `openclaw-morphixai` plugin without specifying an audited version, package digest, cryptographic signature, or explicitly trusted registry. Consequently, the dependency retrieved during installation can differ from the version that was originally reviewed. This creates a supply-chain risk: compromise of the package publisher, registry entry, distribution infrastructure, or a later plugin release could cause users to install attacker-controlled code. The risk is elevated because the plugin is intended to receive a MorphixAI API key and operate on a linked Gmail account. No evidence establishes that the current plugin is malicious. The vulnerability is the absence of controls ensuring that users install the same trusted plugin version that was audited. ### Attack Path 1. An attacker compromises the plugin publisher account, package registry entry, or release process. 2. The attacker publishes a malicious version under the expected `openclaw-morphixai` package name. 3. A user follows the Skill documentation and executes the unpinned installation command. 4. The package manager resolves the command to the attacker-controlled release. 5. The malicious plugin executes in the OpenClaw environment. 6. When the user configures `MORPHIXAI_API_KEY` and links Gmail, the plugin may access those credentials or abuse the permissions granted to the integration. ### Impact Assessment Successful exploitation could execute code with the privileges of the user running OpenClaw. Within the integration's granted authorization scope, a compromised plugin could potentially: - Read or exfiltrate Gmail messages and metadata. - Search sensitive mailbox content. - Send f ...[truncated 386 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Pin the plugin to a specific, reviewed version rather than installing an implicitly selected release. 2. Retrieve the package only from an explicitly documented and trusted registry or repository. 3. Verify a cryptographic checksum or publisher signature before installation. 4. Maintain an allowlist of approved plugin names, versions, publishers, and integrity hashes. 5. Review the pinned plugin's source code and release artifacts before recommending it. 6. Document the Gmail OAuth scopes required by the plugin and grant only the minimum permissions necessary. 7. Run the plugin with restricted operating-system privileges and isolate it from unrelated credentials and files. 8. Establish an update process that requires security review before changing the pinned version. 9. Provide revocation and rotation procedures for the MorphixAI API key and linked Gmail authorization in case the dependency is compromised. ]]>
