T08 · Insecure Dependencies
- Location
SKILL.md:19- Finding
Unpinned External Plugin Installation Creates a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:19-27; also documented inREADME.md:34-37andSCREENSHOT_GUIDELINE.md:19-23
Vulnerability Type: Unpinned third-party executable dependency
Risk Level: MediumComplete Code Snippets
SKILL.md:19-27:markdown 2. **After user confirms** — Run this flow: - **Install the plugin** — Run via bash: ```bash openclaw plugins install mindkeeper-openclaw ``` - **Restart Gateway if the runtime supports it** — Use the available runtime mechanism to restart Gateway. If restart is unavailable or fails, tell the user: "Plugin installed. Restart your Gateway manually to apply." - **Confirm** — If restart succeeded, tell the user: "Mindkeeper is ready. Restart complete — you can now ask about history, diffs, rollbacks, or snapshots." If restart did not happen, tell the user that the plugin is installed but Gateway must be restarted before the tools will appear.README.md:34-37:markdown ```bash openclaw plugins install mindkeeper-openclaw # Then restart your Gatewaytext `SCREENSHOT_GUIDELINE.md:19-23`: ```markdown ### 1.1 Install mindkeeper plugin ```bash openclaw plugins install mindkeeper-openclawtext ### Technical Analysis The Skill instructs the agent or user to install `mindkeeper-openclaw` without specifying an exact version, package integrity hash, signature, or immutable source revision. Consequently, the code installed at execution time is not necessarily the same code that existed when this Skill was audited. The installed component is not merely documentation: it is loaded into the OpenClaw Gateway after a restart and provides the `mind_*` tools and a background file watcher. According to the Skill, it operates on potentially sensitive agent context, including `AGENTS.md`, `SOUL.md`, `USER.md`, `IDENTITY.md`, `TOOLS.md`, `HEARTBEAT.md`, `MEMORY.md`, `memory/**/*.md`, and `skills/**/*. ...[truncated 2186 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the plugin to an explicitly reviewed version rather than resolving the latest release:
bash openclaw plugins install mindkeeper-openclaw@<audited-version> - Verify a cryptographic integrity hash or trusted package signature before installation.
- Document the expected package registry and reject resolution from alternate or user-controlled registries.
- Link the pinned package release to an immutable source commit and reproducible build artifacts.
- Audit the plugin and its complete transitive dependency tree before recommending installation.
- Apply least privilege to the Gateway process and restrict plugin filesystem and network access to resources required for version-control operations.
- Display the exact version, source, and integrity information in the confirmation prompt so the user can provide informed consent.
- Maintain an allowlist of reviewed plugin versions and require a separate review before upgrades.
- Pin the plugin to an explicitly reviewed version rather than resolving the latest release:
