T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:56
- Finding
- Unverified Remote Installer Downloaded and Executed Directly## Vulnerability Details **File Location**: `SKILL.md`, lines 56–60 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ### Vulnerable Code ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ```powershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell ``` ### Technical Analysis The first-time setup instructions retrieve mutable scripts from `cli.oomol.com` and immediately execute them using `bash` or PowerShell's `Invoke-Expression`. Neither command pins a specific installer version nor verifies a cryptographic signature or checksum before execution. HTTPS provides transport protection but does not guarantee that the server, DNS resolution, hosting account, or future script contents will remain trustworthy. Because the effective executable payload resides outside the audited project, it can change after this Skill is reviewed. Piping a response directly into a command interpreter also prevents meaningful inspection before execution. Installing the `oo` CLI is related to initial setup, but granting an unaudited remote response unrestricted shell execution exceeds the minimum privileges required for ordinary Intuiface operations. The Skill's normal behavior only requires an already-installed `oo` executable. ### Attack Path 1. The `oo` command is unavailable and an agent or user follows the first-time setup instructions. 2. The system retrieves `install.sh` or `install.ps1` from the remote OOMOL endpoint. 3. An attacker compromises the distribution server, hosting account, DNS path, or installer publication process, or otherwise causes the endpoint to return a modified payload. 4. The downloaded response is passed directly to `bash` or `Invoke-Expression` without integrity verification or review. 5. The modified installer executes with all privileges available to the invoking shell. 6. The payload can read or modify accessib ...[truncated 736 chars]
- Remediation
- ## Remediation Suggestions 1. Remove all `curl | bash` and `Invoke-RestMethod | Invoke-Expression` installation patterns. 2. Prefer a trusted operating-system package manager or an official, version-pinned release package. 3. Download the installer or package as a separate step so it can be inspected before execution. 4. Pin an explicit CLI version rather than retrieving an unversioned, mutable installer. 5. Publish a SHA-256 or stronger checksum through an independently protected channel and verify it before execution. 6. Prefer cryptographic package signatures with a documented, pinned signing key and fail closed if verification fails. 7. Run installation with ordinary user privileges unless a narrowly defined operation specifically requires elevation. 8. Document the files, network endpoints, and system changes the installer is expected to use. 9. Keep setup user-initiated and require explicit confirmation before downloading or executing any installer. 10. For example, use a staged process: download a versioned artifact, verify its signature and checksum, inspect it, and only then invoke the installer.
