T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:88
- Finding
- Unverified Remote Installer Download and Immediate Execution## Vulnerability Details **File Location**: `SKILL.md:88` **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ### Vulnerable Code ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The documented installation command downloads a shell script from an external URL and pipes it directly into Bash. The remote script is not version-pinned, saved for inspection, checked against a cryptographic digest, or verified using a digital signature. Although the URL uses HTTPS and belongs to the vendor identified by the Skill, HTTPS does not establish that the retrieved script is immutable or safe. The effective payload can change after this Skill has been reviewed. Compromise of the hosting service, release pipeline, vendor account, DNS infrastructure, or relevant TLS trust chain could cause attacker-controlled code to execute locally. Installation is presented as a fallback when the `oo` command is unavailable rather than as part of every invocation. Nevertheless, installing a required CLI is legitimate functionality that can be implemented without immediate execution of mutable remote content. This mechanism therefore exceeds the minimum risk necessary for setup. ### Attack Path 1. An attacker compromises the installer host, its deployment pipeline, or another component capable of changing the response from `https://cli.oomol.com/install.sh`. 2. A user or Agent encounters an `oo: command not found` error and follows the documented first-time setup procedure. 3. `curl` retrieves the modified script and streams it directly to Bash. 4. Bash executes the payload without an integrity or authenticity check. 5. The payload performs arbitrary actions under the privileges of the account running the command. ### Impact Assessment Successful exploitation provides arbitrary code execution with the invoking user's privileges. The resulting scope may includ ...[truncated 545 chars]
- Remediation
- ## Remediation Suggestions - Replace the pipe-to-shell command with installation through a trusted, version-pinned package manager or a specific immutable release artifact. - Download the installer to a local file before execution so it can be inspected. - Publish and require verification of a cryptographic checksum obtained through an independently protected channel. - Prefer digital signature verification using a documented vendor signing key. - Pin the expected CLI version instead of continuously retrieving mutable content from a generic installer URL. - Run installation with ordinary user privileges unless a narrowly defined operation explicitly requires elevation. - Document the files, directories, network destinations, and configuration changes expected from installation.
