T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:91
- Finding
- Unverified Remote Installer Is Executed Directly by the Shell## Vulnerability Details **File Location**: `SKILL.md`, lines 91-95 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ### 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 mutable scripts from an external server and immediately execute them with Bash or PowerShell. Neither command pins a reviewed release nor verifies a cryptographic checksum or digital signature before execution. HTTPS protects the connection in transit but does not establish that the current contents of the remote installer are identical to those reviewed during this audit. Compromise of the referenced domain, DNS infrastructure, hosting environment, release pipeline, or installer itself would allow the delivered payload to change without any modification to this Skill. Directly piping the response into a command interpreter also prevents meaningful inspection before execution. Installing the CLI may be necessary for the declared connector functionality, but executing unverified remote content is not the minimum privilege or safest installation method required to accomplish that task. ### Attack Path 1. The `oo` CLI is absent, causing an action to fail with `oo: command not found`. 2. The Agent or user follows the documented first-time setup procedure. 3. An attacker compromises or otherwise controls the remote installer response. 4. `curl` or `irm` retrieves the attacker-controlled script. 5. The pipe to `bash` or `iex` executes the response immediately, without integrity verification or review. 6. The payload performs arbitrary operations using the privileges and environment of the invoking process. ### Impact Assessment Successful exploitation provides arbitrary command execution with the privil ...[truncated 579 chars]
- Remediation
- ## Remediation Suggestions - Remove all direct `curl | bash` and `irm | iex` installation instructions. - Pin installation to a specific, reviewed CLI release rather than a mutable installer endpoint. - Download the installer or package to a local file before execution. - Publish and require verification of a cryptographic checksum or, preferably, a trusted digital signature. - Display the resolved version, source, and verification result and obtain explicit user approval before executing an installer. - Prefer signed packages distributed through reputable platform package managers. - Run installation with ordinary user privileges unless a specific operation demonstrably requires elevation. - Document the files, directories, network endpoints, and permissions used by the installer.
