T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:68
- Finding
- Unverified Remote Installer Executed Through Bash## Vulnerability Details **File Location**: `SKILL.md`, line 68 **Vulnerability Type**: Remote payload retrieval and 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 script is executed without version pinning, signature verification, checksum validation, or an opportunity to inspect the downloaded content. HTTPS protects data in transit but does not guarantee that the hosted script will remain identical to the version reviewed. Compromise of the vendor website, CDN, DNS infrastructure, publishing account, or build pipeline could change the effective payload at any time. The `-L` option also follows redirects, allowing the ultimate payload source to differ from the visible URL. Installing the CLI is relevant only during first-time setup, but immediate remote-to-shell execution exceeds the minimum privilege necessary to provide installation guidance. It also falls outside the declared `allowed-tools: [Bash(oo *)]` scope because the instruction invokes both `curl` and `bash`. ### Attack Path 1. The `oo` CLI is unavailable on the target system. 2. The agent or user follows the documented first-time setup instruction. 3. `curl` retrieves the current response from `https://cli.oomol.com/install.sh`, following redirects if supplied. 4. The response is passed directly to `bash` without integrity or authenticity verification. 5. If the remote hosting or publication chain has been compromised, attacker-controlled shell commands execute immediately. 6. The payload can access resources available to the invoking user and download or install additional components. ### Impact Assessment Successful exploitation grants arbitrary command execution with the privileges of the user running the installation com ...[truncated 335 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` installation pipeline. - Direct users to a signed operating-system package or trusted package manager. - Pin the CLI to a specific, immutable release version. - Download the installer or release artifact to a local file before execution. - Verify a vendor signature and a checksum obtained through an independently authenticated channel. - Present the file for inspection and obtain explicit user approval before executing it. - Avoid following arbitrary redirects, or validate that the resolved download host is an approved vendor endpoint. - Keep installation outside normal Skill execution and ensure all executable setup steps are consistent with the declared tool allowlist. - Document the permissions and filesystem changes required by the installer.
