T08 · Insecure Dependencies
- Location
SKILL.md:126- Finding
Unpinned Third-Party Plugin Installation Creates a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:126-140
Vulnerability Type: Unpinned and unverified third-party dependency installation
Risk Level: HighVulnerable Code
bash ### OpenClaw ```bash openclaw plugins install @clawsignal/clawsignal openclaw config set plugins.entries.clawsignal.enabled true openclaw config set plugins.entries.clawsignal.config.apiKey "clawsig_xxx" openclaw gateway restartClawdbot
bash clawdbot plugins install @clawsignal/clawsignal clawdbot config set plugins.entries.clawsignal.enabled true clawdbot config set plugins.entries.clawsignal.config.apiKey "clawsig_xxx" clawdbot gateway restarttext ### Technical Analysis The installation commands retrieve `@clawsignal/clawsignal` without specifying an immutable version, integrity hash, trusted source revision, or publisher-verification procedure. Consequently, the package installed by a user can differ from the package that existed when this Skill was reviewed. The instructions then enable the plugin, provide it with an API key, and restart the gateway. A malicious or compromised package release could therefore execute within the agent environment and potentially access credentials, messages, workspace data, network resources, or exposed agent tools. The reviewed project does not contain the plugin source, so its behavior cannot be independently validated from this artifact. ### Attack Path 1. An attacker compromises the package publisher account, package registry entry, release pipeline, or another relevant supply-chain component. 2. The attacker publishes a malicious release under the expected package name. 3. A user follows the documented command without a pinned version or integrity constraint. 4. The package manager resolves and installs the attacker-controlled release. 5. The user enables the plugin, configures an API key, and restarts the gateway. 6. The malicious plugin executes in the gateway context and abuses the permissions, credenti ...[truncated 483 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the plugin to a specifically reviewed version rather than installing the mutable latest release.
- Verify the package with a cryptographic integrity hash or signed release provenance.
- Link to the authoritative source repository and audited commit corresponding to the pinned release.
- Document the package publisher, expected registry, and procedure for detecting dependency confusion or publisher-account compromise.
- Declare all required plugin permissions and deny unnecessary filesystem, network, subprocess, credential, and agent-tool access.
- Run the plugin in an isolated process or sandbox using a dedicated low-privilege account.
- Store the API key in a protected secret manager or environment-based secret facility rather than ordinary configuration where possible.
- Require review and staged testing before upgrading the pinned dependency.
