T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:58
- Finding
- Unverified Remote Bash Installer Is Downloaded and Executed## Vulnerability Details **File Location**: `SKILL.md`, line 58 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction pipes a remotely downloaded script directly into Bash. The payload is mutable and is not version-pinned, checksum-validated, cryptographically signature-verified, or available within the audited package for inspection. HTTPS protects the connection in transit, but it does not protect against compromise of the hosting service, publisher account, or installer infrastructure. It also does not guarantee that the script reviewed today will be the script served later. The `-f` and `-s` options can further reduce useful visibility when failures occur. Installing the required CLI can be necessary for the declared TheirStack integration. However, immediately executing an unverified remote response exceeds the minimum safely necessary installation behavior. ### Attack Path 1. The `oo` CLI is absent, causing the user or Agent to follow the first-time setup instructions. 2. An attacker compromises the installer host, publishing account, delivery infrastructure, or remote installation script. 3. `curl` retrieves the attacker-controlled response from the mutable URL. 4. The shell pipe passes that response directly to Bash without integrity or authenticity verification. 5. Bash executes the attacker-controlled commands with all permissions available to the invoking user. ### Impact Assessment Successful exploitation provides arbitrary command execution in the context of the user running the installation command. The payload could read or modify user-accessible files, access credentials available to the process, install additional software, alter shell configuration, or establish persistence. If the command is run from a privileged account or the retrie ...[truncated 102 chars]
- Remediation
- ## Remediation Suggestions Remove the direct `curl | bash` installation instruction. Prefer an authenticated operating-system package manager or a pinned, versioned release artifact from the official publisher. If a standalone installer is necessary: 1. Download it to a non-executable temporary file without invoking a shell. 2. Require a specific version rather than a mutable installation endpoint. 3. Verify a publisher signature and a SHA-256 checksum obtained through an authenticated, independent release channel. 4. Present the verified script for inspection before execution. 5. Execute it with an unprivileged account and avoid automatic privilege elevation. 6. Document the files, permissions, and network access required by the installer. 7. Remove the downloaded artifact after successful installation.
