T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:63
- Finding
- Unverified Remote Installer Execution## Vulnerability Details **File Location**: `SKILL.md`, lines 63–67 **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 download scripts from `cli.oomol.com` and execute the returned content immediately through Bash or PowerShell. The scripts are not pinned to an immutable version, saved for inspection, or verified using a cryptographic signature or expected hash. Consequently, the effective installer payload can change after this Skill has been reviewed. Although the URL appears to be associated with the declared OOMOL service, compromise of its hosting infrastructure, publisher account, DNS resolution, or applicable TLS trust chain could turn these installation commands into arbitrary code-execution mechanisms. Installing the required CLI can be legitimate, but directly executing an unverified network response exceeds the minimum behavior necessary for installation. A pinned and cryptographically verified package would accomplish the same task with substantially lower supply-chain risk. ### Attack Path 1. The `oo` CLI is absent, and an attempted connector command fails with `oo: command not found`. 2. The user or agent follows the first-time setup instructions. 3. The command retrieves the current response from the remote installer endpoint. 4. Bash or PowerShell executes that response without integrity verification or prior inspection. 5. If the endpoint or delivery chain has been compromised, attacker-controlled code executes with the privileges of the user running the command. 6. The payload could then access data and credentials available to that account, modify local files, or establish further compromise. ### Impact Assess ...[truncated 583 chars]
- Remediation
- ## Remediation Suggestions - Remove all `curl | bash` and `Invoke-RestMethod | Invoke-Expression` installation patterns. - Prefer an official operating-system package manager or a signed platform installer from a pinned release. - Pin the CLI to a specific version rather than retrieving a mutable latest installer. - Download the artifact to a local file before execution. - Publish and verify an expected SHA-256 digest or, preferably, a cryptographic signature tied to a documented publisher key. - Abort installation if integrity or signature validation fails. - Allow users to inspect the downloaded artifact before running it. - Execute installation with ordinary user privileges unless a narrowly defined operation genuinely requires elevation. - Document the package source, version, expected publisher identity, verification procedure, and files or permissions modified by installation.
