T03 · Remote Payload Retrieval and Execution
Error
- Location
- README.md:58
- Finding
- Unverified Remote Installer Executed Through a Shell Pipeline< — `brew install uv` or `curl -LsSf https://astral.sh/uv/install.sh | sh` ``` ### Technical Analysis The documented installation command pipes a response downloaded from `https://astral.sh/uv/install.sh` directly into a shell. The retrieved content is not pinned to a particular version and is not inspected or verified through a cryptographic signature or checksum before execution. Although the domain appears to be the official uv installation domain, this construction creates a mutable remote code-execution channel. The effective code executed by users can change after the Skill package has been reviewed. Compromise of the remote hosting account, delivery infrastructure, DNS resolution, or a trusted certificate authority could cause arbitrary commands to be returned and executed. This behavior is not required for image generation. The README already identifies `brew install uv` as an alternative that avoids this direct execution pattern. ### Attack Path 1. A user follows the dependency installation instructions in `README.md`. 2. The shell invokes `curl` and requests the current content of the remote installer. 3. A compromised or malicious delivery source returns modified shell commands. 4. The pipeline passes those commands directly to `sh` without review or integrity verification. 5. The commands execute with all privileges available to the invoking user. ### Impact Assessment A malicious installer could read or modify any data accessible to the current user, including the Gemini API key, OpenClaw configuration, source code, SSH material, and personal files. It could also install persistent processes or modify shell startup files. If the command is run from a privileged shell, impact could extend to system-wide compromise. ]]>
- Remediation
- <![CDATA[ ## Remediation Suggestions - Remove the `curl ... | sh` installation alternative from the README. - Prefer a trusted package manager command such as `brew install uv`. - If direct artifact installation must be supported: 1. Pin a specific uv release. 2. Download the installer or binary to a local file rather than piping it to a shell. 3. Verify a publisher-provided cryptographic signature or SHA-256 checksum. 4. Allow the user to inspect the downloaded installer before execution. 5. Execute it without elevated privileges unless elevation is demonstrably necessary. - Document the exact external source, version, and integrity value expected by the Skill. ]]>
