T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:55
- Finding
- Unverified Remote Installation Scripts Executed Directly by the Shell## Vulnerability Details **File Location**: `SKILL.md`, lines 55-63 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ```bash - **`oo: command not found`** — install the oo CLI (other platforms: <https://cli.oomol.com/install-guide.md>): ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ```powershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell ``` ``` ### Technical Analysis Both installation commands retrieve mutable content from an external server and immediately execute it in Bash or PowerShell. The instructions provide no version pinning, cryptographic signature verification, checksum validation, or locally auditable copy of the installer. HTTPS protects the connection in transit but does not establish that the downloaded script is safe. A compromise of the hosting server, publishing account, DNS infrastructure, or installer deployment process could change the effective payload after this Skill has been reviewed. Installing the required CLI is related to the declared functionality, and the instructions only recommend installation after an `oo: command not found` failure. However, direct pipe-to-shell execution exceeds the minimum privilege and trust necessary to install a command-line client because it gives a mutable remote response immediate code-execution authority. ### Attack Path 1. The Agent attempts to use the Skill and receives an `oo: command not found` error. 2. It follows the documented first-time setup instructions. 3. Bash retrieves `https://cli.oomol.com/install.sh`, or PowerShell retrieves `https://cli.oomol.com/install.ps1`. 4. The downloaded response is passed directly to an interpreter without inspection or integrity verification. 5. If the hosting or delivery infrastructure is compromised, the substituted script executes arbitrary attacker-controlled commands under the invoking user's account. 6. The payload may th ...[truncated 716 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` and `irm | iex` installation instructions. - Prefer a trusted operating-system package manager or an official package repository with package-signing enforcement. - Pin the CLI to a specific, reviewed release rather than executing the latest mutable installer. - If a standalone artifact is necessary, download it without executing it, verify a publisher signature and a documented SHA-256 or stronger digest, and only then install it. - Require explicit user approval before installing software. - Document the files, permissions, and network access required by the installer. - Avoid elevated execution unless it is demonstrably necessary; install into a user-scoped location where possible. - Preserve a locally auditable or version-linked installer so the reviewed payload cannot change after publication.
