T08 · Insecure Dependencies
- Location
SKILL.md:48- Finding
Unpinned Third-Party Plugin Installation and Activation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 48-50
Vulnerability Type: Unpinned and automatically activated third-party dependency
Risk Level: MediumVulnerable Code
bash openclaw plugins install clawhub:clawlink-plugin openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json openclaw gateway restartTechnical Analysis
The installation command identifies
clawlink-pluginwithout an immutable version, cryptographic digest, or documented signature-verification requirement. The following commands explicitly allow the installed plugin and restart the OpenClaw gateway, activating the retrieved dependency.Because the dependency reference is mutable, the code executed by users can change after this Skill has been audited. A compromised publisher account, package registry, distribution pipeline, or later malicious release could cause different plugin code to be installed under the same package name.
The file does not independently verify the package contents before activation. No malicious content was found inside the audited project itself; the risk arises from the external dependency and installation process.
Attack Path
- An attacker compromises the plugin publisher account, ClawHub package entry, or associated distribution infrastructure.
- The attacker publishes a malicious plugin release under the existing
clawlink-pluginidentifier. - A user follows the Skill instructions and runs the unpinned installation command.
- OpenClaw retrieves the attacker-controlled release because no immutable version or digest is specified.
- The user allowlists the plugin through
tools.alsoAllow. - The gateway restart activates the malicious plugin.
- The plugin can then abuse whatever tool, network, credential-broker, and local process privileges the OpenClaw plugin runtime grants it.
Impact Assessment
Successful exploitation could permit attacker-contr ...[truncated 764 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the plugin to a specific, audited version rather than a mutable package identifier.
- Prefer an immutable cryptographic digest or content hash in addition to a version number.
- Require verification of the package publisher and package signature before installation.
- Publish the expected digest and a reproducible procedure for checking it locally.
- Separate installation from activation so users can inspect and approve the installed package before it is allowlisted.
- Avoid restarting the gateway automatically until dependency integrity has been verified.
- Restrict the plugin to the minimum required tool, filesystem, network, and credential permissions.
- Maintain a reviewed version allowlist and document a rollback and revocation procedure for compromised releases.
