T03 · Remote Payload Retrieval and Execution
Error
- Location
- README.md:58
- Finding
- Unverified Remote Installer Executed Directly by Shell<![CDATA[ ## Vulnerability Details **File Location**: `README.md:58-60` **Vulnerability Type**: `T03: Remote Payload Retrieval and Execution` **Risk Level**: High ### Vulnerable Code ```bash # Install uv (if not already installed) curl -LsSf https://astral.sh/uv/install.sh | sh ``` ### Technical Analysis The installation instructions pipe a remotely retrieved, mutable shell script directly into `sh`. The downloaded content is executed immediately without version pinning, signature or checksum verification, local inspection, or an integrity trust policy. Although the URL appears to be the official uv installer, the effective payload can change after this project has been reviewed. Compromise of the hosting infrastructure, domain, release process, or TLS trust chain could therefore turn this documented command into arbitrary code execution. This behavior exceeds the minimum privileges necessary for the Skill. The Skill only requires Python dependencies, and the README already provides a built-in `venv` installation method that does not require downloading and immediately executing an additional installer. ### Attack Path 1. An attacker compromises or gains control over the remote installer, its hosting infrastructure, or the delivery path. 2. The attacker modifies the response served from `https://astral.sh/uv/install.sh`. 3. A user follows the README and runs the documented command. 4. `curl` downloads the attacker-controlled response and pipes it directly to `sh`. 5. The payload executes with all privileges available to that user's shell. 6. The payload can read or modify user-accessible files, credentials, repositories, shell configuration, and development environments, and may install persistence where the account has permission. ### Impact Assessment Successful exploitation provides arbitrary command execution under the account running the installation command. In a normal user shell, this can expose source code, API keys, SSH credentials, Claude co ...[truncated 290 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Remove the pipe-to-shell installation command. - Prefer the documented built-in Python `venv` workflow, which is sufficient for this Skill. - If uv must be supported, direct users to install a specific reviewed release through a trusted platform package manager. - Alternatively, document separate download, integrity verification, and execution steps. - Pin the installer or release artifact to a specific version. - Publish and verify a cryptographic checksum or signature before execution. - Advise users not to run installation commands with elevated privileges. ]]>
