T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:14
- Finding
- Unpinned Third-Party Plugin Installation## Vulnerability Details **File Location**: `SKILL.md:14` **Vulnerability Type**: Unpinned external dependency **Risk Level**: Medium ### Vulnerable Code ```text 1. **安装插件**: `openclaw plugins install openclaw-morphixai` ``` ### Technical Analysis The skill instructs users to install the external `openclaw-morphixai` plugin without specifying an immutable version, integrity checksum, cryptographic signature, or trusted registry. Because the plugin implementation is not included in this project, its behavior could not be reviewed as part of the audit. The mutable package reference may resolve to a different artifact in the future. If the package publisher, distribution account, or registry is compromised, users following this instruction could install attacker-controlled code. The installed plugin may operate with the agent's privileges and may have access to the `MORPHIXAI_API_KEY` environment variable and data available through the linked Notion integration. ### Attack Path 1. An attacker compromises the plugin publisher, distribution account, or package source. 2. The attacker publishes a malicious release under the expected `openclaw-morphixai` package name. 3. A user follows the documented installation command, which does not constrain the resolved version or verify its integrity. 4. OpenClaw retrieves and installs the malicious release. 5. When loaded or invoked, the plugin executes attacker-controlled behavior within the plugin's effective privilege boundary. 6. Depending on the runtime's isolation and granted integration permissions, the plugin could access the MorphixAI credential, read accessible Notion data, or modify Notion content. ### Impact Assessment A successful supply-chain compromise could expose `MORPHIXAI_API_KEY`, disclose information from Notion pages and databases shared with the integration, or modify, create, append to, and archive accessible Notion content. Arbitrary local effects are also possible if OpenClaw plugins execute ...[truncated 306 chars]
- Remediation
- ## Remediation Suggestions 1. Pin the plugin to a specific, reviewed version rather than installing a mutable latest release. 2. Obtain the plugin only from a documented and trusted registry or publisher. 3. Verify a publisher signature, provenance attestation, or cryptographic checksum before installation. 4. Lock the reviewed dependency version and require an explicit security review before upgrades. 5. Review the plugin source code and requested permissions before deployment. 6. Run the plugin with least privilege and isolate it from unrelated environment variables and filesystem resources. 7. Grant the linked Notion integration access only to the pages and databases required for the intended workflow. 8. Use a scoped, revocable API key and rotate it immediately if plugin or publisher compromise is suspected.
