T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:60
- Finding
- Unverified Remote Installer Executed Through a Shell Pipeline## Vulnerability Details **File Location**: `SKILL.md`, line 60 **Vulnerability Type**: Remote mutable payload retrieval and immediate execution **Risk Level**: High **Complete Code Snippet**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction downloads a shell script from an external URL and pipes it directly into `bash`. The downloaded content is not pinned to a reviewed version and is not authenticated through a cryptographic signature or checksum. It is also not saved for inspection before execution. Consequently, the effective code executed by this instruction can change after the Skill has been audited. Installing the `oo` CLI supports the declared connector functionality, but immediate remote-to-shell execution exceeds the minimum mechanism necessary to perform that installation. A versioned, independently verified package or artifact would provide the same functionality with less supply-chain risk. The audit did not establish that the current installer is malicious. The vulnerability is that compromise of the remote host, installer publication process, or delivery infrastructure could convert this documented setup command into arbitrary local code execution. ### Attack Path 1. An attacker compromises `cli.oomol.com`, the installer publishing process, or another component capable of modifying the response from `https://cli.oomol.com/install.sh`. 2. The attacker replaces or modifies the installer with malicious shell commands. 3. The `oo` command is unavailable, causing the user or Agent to follow the documented first-time setup instruction. 4. `curl` retrieves the attacker-controlled response. 5. The pipe passes the response directly to `bash` without integrity verification or prior inspection. 6. The malicious commands execute with the privileges of the account running the installation command. ### Impact Assessment Success ...[truncated 554 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation command from the Skill. - Direct users to official, reviewable installation documentation instead of causing downloaded content to flow directly into a shell. - Prefer a trusted platform package manager or a version-pinned release artifact. - Publish an expected cryptographic checksum or signature through an independently protected channel and verify it before execution. - Separate retrieval from execution so the installer can be inspected: ```bash curl -fSL -o install.sh https://example.invalid/path/to/versioned/install.sh # Verify the documented signature or checksum here. less install.sh bash install.sh ``` - Pin the artifact to an immutable version or digest rather than a mutable `install.sh` endpoint. - Keep installation explicitly user-controlled and avoid having the Agent run installers automatically after an operational failure.
