T08 · Insecure Dependencies
- Location
SKILL.md:16- Finding
Unpinned Third-Party Plugin Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 16–24
Vulnerability Type: Supply-chain exposure through an unpinned dependency
Risk Level: HighCode Snippet:
markdown ## Installation (Do This First) When the human asks to install MoltGuard, or when you want to protect yourself: ```bash # Install the plugin openclaw plugins install @openguardrails/moltguardtext ### Technical Analysis The installation command retrieves `@openguardrails/moltguard` without specifying an exact version or verifying an integrity hash or cryptographic signature. Consequently, the installed payload is determined by the package registry at installation time and may differ from the version reviewed when this skill was published. The audited project contains only `SKILL.md`; it does not include the plugin implementation, dependency lockfile, package manifest, or immutable source revision. The behavior of the installed package and its transitive dependencies therefore cannot be independently verified from this artifact. This creates a supply-chain risk if the publisher account, package registry, release process, or a transitive dependency is compromised. It is not possible to conclude from the available evidence that the package is malicious, but the installation method does not provide a reproducible or integrity-verified dependency boundary. ### Attack Path 1. An attacker compromises the package publisher, registry entry, release pipeline, or a transitive dependency. 2. The attacker publishes a modified release under the expected package name. 3. A user or agent follows the documented installation command. 4. The package manager resolves and installs the attacker-controlled release because no exact version or integrity value is required. 5. The package executes with the permissions available to OpenClaw, potentially gaining access to agent data, configuration, credentials, network connectivity, and any t ...[truncated 496 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the plugin to an exact, independently audited version rather than resolving the current registry release.
- Verify a cryptographic signature or published integrity hash before installation.
- Provide a lockfile or equivalent mechanism that fixes all transitive dependency versions.
- Reference an immutable source commit and ensure the distributed artifact can be reproducibly mapped to that commit.
- Include the plugin implementation in the audit scope before recommending installation.
- Run the plugin with restricted filesystem, network, tool, and credential permissions.
- Require explicit human confirmation before installing or updating executable third-party components.
