T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:62
- Finding
- Unverified Remote Installer Executed Directly by Bash## Vulnerability Details **File Location**: `SKILL.md`, line 62 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction downloads a mutable shell script from `https://cli.oomol.com/install.sh` and sends it directly to Bash. The retrieved content is executed without being saved for inspection and without version pinning, checksum validation, cryptographic signature verification, or sandboxing. HTTPS protects the script while in transit but does not establish that the content itself is safe. Compromise of the website, DNS infrastructure, hosting account, CDN, signing environment, or installer publication process could cause arbitrary attacker-controlled shell commands to be returned and executed. The effective payload can also change after the Skill has been reviewed. Installing the `oo` CLI supports the Skill's declared functionality, but executing mutable remote content without integrity verification exceeds the minimum privileges and trust required for installation. ### Attack Path 1. A user or agent attempts to use the Skill on a system where the `oo` CLI is unavailable. 2. The resulting `oo: command not found` condition directs it to the first-time setup instructions. 3. It executes the documented `curl` command. 4. `curl` retrieves whatever content `cli.oomol.com` serves at that moment. 5. The pipe forwards the response directly to Bash without review or integrity verification. 6. A compromised or malicious response executes with the privileges of the user running the command. 7. The payload can read accessible files, modify the user environment, install additional software, or retrieve further payloads. ### Impact Assessment Successful exploitation provides arbitrary command execution with the invoking user's privileges. In a typical user context, this may expose source code, environm ...[truncated 557 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` installation instruction. - Prefer a trusted package manager that validates signed, versioned packages. - Otherwise, download a specific immutable release artifact to disk rather than executing a mutable endpoint. - Pin the expected CLI version and verify a publisher-provided cryptographic signature or pinned SHA-256 checksum before execution. - Present the downloaded script for inspection before running it. - Require explicit user approval before installing software. - Run installation with standard user privileges unless a documented operation strictly requires elevation. - Publish installation artifacts and integrity metadata through an independently protected release channel.
