T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:58
- Finding
- Unverified Remote Shell Installer Execution## Vulnerability Details **File Location**: `SKILL.md`, line 58 **Vulnerability Type**: Remote payload retrieval and immediate execution **Risk Level**: High **Vulnerable Code**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis This installation command downloads a mutable shell script from an external server and sends it directly to `bash`. It does not pin the installer to a reviewed version, verify a cryptographic checksum or signature, or provide an opportunity to inspect the downloaded content before execution. The domain is consistent with the declared OOMOL service, and the instructions only recommend installation after an `oo: command not found` error. Nevertheless, trust in the TLS endpoint alone does not establish the integrity of the script over time. Compromise of the distribution server, DNS or hosting infrastructure, publication pipeline, or vendor account could alter the effective payload after this Skill has been reviewed. Executing a remote script is not the minimum privilege necessary to document CLI installation. A version-pinned package or a separately downloaded and verified artifact would reduce the supply-chain and arbitrary-code-execution risk. ### Attack Path 1. The `oo` CLI is unavailable, causing the documented first-time setup path to be used. 2. An attacker compromises the remote installer, its publication pipeline, or infrastructure serving `cli.oomol.com`. 3. The installer response is modified to contain attacker-controlled shell commands. 4. The user or agent runs the documented `curl | bash` command. 5. `bash` immediately executes the unverified response under the invoking account. 6. The payload can access, modify, or transmit resources available to that account and may attempt persistence or further privilege escalation. ### Impact Assessment Successful exploitation provides arbitrary command execution with the privileges of ...[truncated 538 chars]
- Remediation
- ## Remediation Suggestions - Replace the pipe-to-shell command with installation through a trusted operating-system package manager or an official, version-pinned release artifact. - Download the installer to a local file instead of executing the network response directly. - Publish a SHA-256 or stronger digest through an independently protected channel and verify it before execution. - Prefer signed release artifacts and validate the publisher signature against a pinned, documented public key. - Allow the user to inspect the downloaded script before running it. - Require explicit user approval before installing software or executing any installer. - Run installation with ordinary user privileges unless elevated privileges are demonstrably required. - Document the exact version being installed and provide a reproducible rollback or uninstall procedure. A safer conceptual workflow is: ```bash curl -fSLo install.sh https://cli.oomol.com/releases/<pinned-version>/install.sh echo '<trusted-sha256> install.sh' | sha256sum -c - less install.sh bash install.sh ``` The version and digest must come from a trusted release record rather than being dynamically retrieved from the same potentially compromised endpoint.
