T03 · Remote Payload Retrieval and Execution
Error
- Location
- README.md:25
- Finding
- Remote Installer Is Downloaded and Executed Without Verification< installed: ```bash # macOS/Linux curl -LsSf https://astral.sh/uv/install.sh | sh # Or with Homebrew brew install uv ``` ``` ### Technical Analysis The installation documentation pipes the response from a mutable external URL directly into a shell. The downloaded script is neither pinned to a reviewed version nor authenticated through a checksum or signature before execution. Although `astral.sh` is presented as the official uv distribution source, the effective code executed by this command can change after the Skill has been reviewed. Compromise of the remote server, publishing infrastructure, DNS resolution, or another part of the delivery chain could therefore turn this installation step into arbitrary code execution. This behavior is not required for the Skill's core Linear todo functionality. The documented Homebrew installation method or a verified, separately downloaded installer would avoid immediate execution of unaudited remote content. ### Attack Path 1. An attacker compromises the remote installer, its hosting infrastructure, or another trusted part of the delivery chain. 2. The attacker modifies the content returned by `https://astral.sh/uv/install.sh`. 3. A user follows the README and executes the `curl ... | sh` command. 4. The user's shell immediately executes the attacker-controlled response. 5. The payload can act with all privileges available to that user, including accessing credentials, changing shell configuration, modifying source files, or establishing persistence. ### Impact Assessment Successful exploitation provides arbitrary command execution under the account that runs the installation command. This may expose the Linear API key, local project data, OpenClaw workspace files, SSH cre ...[truncated 147 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove the direct pipe-to-shell installation instruction. 2. Prefer installation through a trusted package manager, such as the already documented Homebrew command. 3. If a standalone installer is necessary: - Pin it to a specific reviewed release. - Download it to a local file without executing it. - Verify a publisher-provided cryptographic signature or SHA-256 checksum. - Allow the user to inspect the script. - Execute it only after successful verification. 4. Document the exact expected checksum and update it through a reviewed release process. 5. Avoid recommending elevated privileges for installation. ]]>
