T08 · Insecure Dependencies
Warning
- Location
- INSTALL.md:28
- Finding
- Execution of an Unreviewed Publisher-Provided Installation Command## Vulnerability Details **File Location**: `INSTALL.md`, lines 28–30 **Vulnerability Type**: Unauthenticated and unpinned publisher-provided installation command **Risk Level**: Medium **Relevant excerpt translated into English from the source documentation:** ```text If the publisher has not made the default API available, the publisher will provide a “one-command installer” or an API address. - One-command installer: Copy and execute it directly. It will automatically complete the installation and write the configuration. ``` ### Technical Analysis The documentation instructs users to copy and execute an installation command supplied separately by the publisher. The command is not included in the audited package, pinned to a specific immutable version, protected by a published checksum, or otherwise made available for inspection as part of this artifact. Consequently, the effective installation payload can differ from the content reviewed during this audit. A compromised publisher account, delivery channel, website, or other command-distribution mechanism could substitute a malicious command. This creates an unsafe software supply-chain boundary because users are explicitly encouraged to execute content whose provenance and behavior cannot be verified from the package. ### Attack Path 1. An attacker compromises or impersonates the publisher or the channel used to distribute the one-command installer. 2. The attacker supplies a command that downloads or invokes an attacker-controlled payload. 3. A user follows the instructions in `INSTALL.md` and executes the command without being able to compare it against the audited artifact. 4. The malicious command runs with the privileges of the user executing the installer. 5. The payload may access user-readable data, modify OpenClaw configuration, steal locally available credentials, install additional components, or establish persistence where the user's permissions allo ...[truncated 510 chars]
- Remediation
- ## Remediation Suggestions - Remove the instruction to execute an unspecified command supplied outside the audited package. - Include the complete installer in the published project so users and reviewers can inspect it before execution. - Pin all downloaded artifacts and dependencies to immutable versions or content-addressed identifiers. - Publish and verify cryptographic checksums or digital signatures before running any downloaded installer. - Distribute installation assets only through an authenticated official source with HTTPS and appropriate release-signing controls. - Avoid shell pipelines or commands that download content and execute it immediately. - Separate download, verification, and execution into explicit steps so users can inspect the payload. - Ensure the installer operates with least privilege and clearly documents every file and configuration entry it modifies.
