T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:61
- Finding
- Unverified Remote Shell Script Execution on macOS and Linux## Vulnerability Details **File Location**: `SKILL.md`, line 61 **Vulnerability Type**: Remote payload retrieval and immediate shell execution **Risk Level**: Critical **Vulnerable Code**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction downloads a mutable script from an external URL and pipes it directly into `bash`. The downloaded payload is neither pinned to a specific release nor validated with a cryptographic hash or trusted signature. Consequently, the code ultimately executed can change after the Skill has been reviewed. HTTPS provides transport protection but does not establish payload immutability or protect against compromise of the remote domain, hosting account, release pipeline, or signing infrastructure. The shell receives the remote response as executable input without giving the user or Agent an opportunity to inspect it. Installing the CLI may be relevant to the declared connector functionality, but executing an unrestricted remote response exceeds the minimum privilege necessary. A version-pinned package or independently verified artifact would provide the required installation functionality with substantially less supply-chain risk. ### Attack Path 1. An attacker compromises `cli.oomol.com`, its hosting environment, DNS path, deployment pipeline, or installer source. 2. The attacker modifies `install.sh` to contain malicious shell commands. 3. The `oo` command is unavailable, causing the documented first-time setup instructions to be used. 4. `curl` retrieves the attacker-controlled response. 5. The pipe sends that response directly to `bash`. 6. The payload executes with the privileges of the user or Agent running the command. ### Impact Assessment Successful exploitation permits arbitrary command execution under the invoking account. Depending on that account's permissions, an attacker could read or alter ac ...[truncated 469 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation pipeline. - Pin installation instructions to a specific, reviewed CLI release. - Prefer an official operating-system package manager or a signed release artifact. - Download the installer or binary as a separate step rather than executing the network response directly. - Publish an expected SHA-256 digest or a verifiable digital signature through an independent trusted channel. - Verify the digest or signature before execution and abort on any mismatch. - Display the exact version and source to the user and require explicit user approval before installation. - Run installation with ordinary user privileges and avoid requesting administrative privileges unless a documented component strictly requires them.
