T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:64
- Finding
- Unverified Remote Bash Installer Is Downloaded and Executed## Vulnerability Details **File Location**: `SKILL.md`, line 64 **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 This installation command streams mutable content from an external URL directly into a Bash interpreter. It does not pin a release, save the script for review, or verify a cryptographic signature or checksum before execution. HTTPS protects the connection in transit but does not ensure that the installer remains identical to the version originally audited. If the hosting server, publishing account, DNS infrastructure, certificate issuance process, or deployment pipeline is compromised, an attacker can replace the installer with arbitrary shell commands. The changed payload would then execute without an additional validation boundary. Installing the required CLI when it is absent may be legitimate, but immediate pipe-to-shell execution exceeds the minimum mechanism necessary to perform that installation. ### Attack Path 1. The `oo` CLI is unavailable, causing the documented first-time setup path to be used. 2. An attacker compromises or otherwise gains control over the remote installer or its delivery infrastructure. 3. The attacker replaces the installer response with a malicious shell payload. 4. The command retrieves the current response and sends it directly to Bash. 5. Bash executes the attacker-controlled commands without signature, checksum, version, or manual-content verification. ### Impact Assessment A substituted installer can execute arbitrary commands with the permissions of the user running the command. It could read or modify accessible files, collect local credentials, alter user-level configuration, install additional software, or establish persistence. If the command is run from an elevated administrative context, the payload ...[truncated 173 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation method. - Pin installation to a specific, reviewed CLI version rather than a mutable installer endpoint. - Download the release artifact to a local file without executing it. - Verify a publisher signature or a SHA-256 checksum obtained through a separately trusted channel. - Review the downloaded script or package before execution. - Install using the least-privileged account necessary and request explicit user approval before executing an installer. - Prefer a trusted platform package manager or a signed official release package when available.
