T03 · Remote Payload Retrieval and Execution
Error
- Location
- SETUP.md:44
- Finding
- Unverified Remote Installer Is Executed Directly by a Shell<![CDATA[ ## Vulnerability Details **File Location**: `SETUP.md:44-46`, `SETUP.md:650-653`, `SETUP_VI.md:44-46`, and `SETUP_VI.md:597-600` **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ### Vulnerable Code ```bash curl -fsSL https://get.openclaw.dev | bash ``` The same command appears both in the primary installation instructions and in the abbreviated installation instructions in the English and Vietnamese setup documents. ### Technical Analysis The installation command downloads content from a mutable external URL and immediately passes the response to `bash`. The downloaded payload is not: - Pinned to a specific release or immutable artifact. - Checked against a cryptographic hash. - Verified using a trusted digital signature. - Saved for inspection before execution. - Constrained by a sandbox or reduced-privilege execution environment. Consequently, the effective code executed by users can change after this Skill has been reviewed. Although the domain appears related to the declared OpenClaw platform, the repository provides no mechanism to establish the integrity or provenance of the response at execution time. This behavior is not necessary for the IELTS planning functionality itself. It is only a platform installation convenience, and safer package-based or verified-artifact installation methods are available. ### Attack Path 1. An attacker compromises the installer host, deployment pipeline, DNS resolution, CDN, or another component in the remote delivery chain. 2. The attacker changes the response served by `https://get.openclaw.dev`. 3. A user follows the documented installation command. 4. `curl` retrieves the attacker-controlled response. 5. The shell executes the response immediately without allowing the user to inspect or authenticate it. 6. The payload executes with the privileges of the user running the command and can access that user's files, OpenClaw configuration, API credentials, OAuth data, ...[truncated 642 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove all `curl | bash` installation instructions. 2. Publish versioned, immutable release artifacts. 3. Provide a detached signature and a SHA-256 or stronger checksum through an independently protected channel. 4. Require users to download and verify the artifact before executing it. For example: ```bash curl -fSLO https://example.invalid/releases/openclaw-2026.x.y.tar.gz curl -fSLO https://example.invalid/releases/openclaw-2026.x.y.tar.gz.sha256 sha256sum -c openclaw-2026.x.y.tar.gz.sha256 ``` 5. Prefer a package manager that supports signed metadata and pinned versions. 6. Document the expected files, permissions, and actions performed by the installer. 7. Advise users not to execute installation commands as root unless a narrowly scoped operation explicitly requires elevation. 8. Apply the same correction to both English and Vietnamese setup documents and to every abbreviated installation section. ]]>
