T03 · Remote Payload Retrieval and Execution
- Location
README.md:82- Finding
Mutable Remote Installer Is Piped Directly into Bash
- Content
View full analysis
Vulnerability Details
File Location:
README.md:82
Vulnerability Type: Remote payload retrieval and immediate shell execution
Risk Level: CriticalVulnerable Code:
bash Prerequisites: OpenClaw CLI installed (`curl -sSL https://openclaw.ai/install | bash`),Technical Analysis
The documentation instructs users to download a mutable response from an external URL and execute it immediately with Bash. The payload is not saved for inspection, pinned to a specific version, checked against a cryptographic digest, or authenticated with a package signature.
HTTPS protects the connection in transit but does not guarantee that the server continues to return the same audited content. A compromised upstream server, publishing account, DNS or certificate infrastructure, or installation endpoint could replace the response with arbitrary shell commands.
This installer is listed only as a prerequisite for publishing to ClawHub. Remote shell execution is not necessary for the Skill's declared coding-delegation functionality and therefore exceeds the minimum behavior required by the Skill.
Attack Path
- An attacker compromises the
openclaw.aiinstallation endpoint or an infrastructure component capable of changing its response. - The attacker replaces the installer response with malicious shell commands.
- A user follows the README and runs the documented pipeline.
curlretrieves the attacker-controlled response.- Bash executes the response immediately, without an integrity check or review.
- The payload operates with all privileges available to the invoking user.
Impact Assessment
Successful exploitation provides arbitrary command execution in the user's security context. The payload could read accessible credentials and API keys, modify project or user files, install persistence, download additional payloads, or compromise the OpenClaw environment. If the command is run from a pr ...[truncated 76 chars]
- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | bashpipeline from the documentation. - Prefer an official, versioned operating-system package or trusted package-manager installation process.
- If a standalone installer is unavoidable, instruct users to:
- Download a specific version to a local file.
- Verify a publisher signature and a checksum distributed through a separate trusted channel.
- Inspect the downloaded script.
- Execute it explicitly only after verification.
- Pin the installer URL to an immutable release artifact rather than a mutable generic endpoint.
- Document that installation should occur as an unprivileged user and should not require
sudounless a clearly explained operation genuinely needs it.
- Remove the
