T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:61
- Finding
- Unverified Remote Installation Scripts Executed Directly by Shells## Vulnerability Details **File Location**: `SKILL.md`, lines 61–65 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ```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 The first-time setup instructions retrieve mutable scripts from `cli.oomol.com` and immediately execute their contents with Bash or PowerShell. Neither command pins a release version, verifies a cryptographic signature or checksum, nor saves the script for inspection before execution. Consequently, the code ultimately executed is not limited to the content reviewed in this Skill. Compromise of the hosting service, DNS or delivery infrastructure, or the remote installation pipeline could cause arbitrary attacker-controlled commands to run. The PowerShell and Unix instructions expose the same underlying vulnerability. Installing the CLI is not necessary for ordinary Skill operation when `oo` is already installed. Although the instructions limit installation to a command-not-found failure, automatic remote code execution still exceeds the minimum privileges needed to invoke the declared Rebrandly connector. The Skill otherwise restricts its declared tool access to `Bash(oo *)`, but these installation instructions request execution through general-purpose shells. ### Attack Path 1. An attacker compromises the remote installation script, its hosting infrastructure, or a component capable of altering the delivered response. 2. The `oo` CLI is absent, causing the documented first-time setup path to be used. 3. A user or agent runs the provided `curl | bash` or `irm | iex` command. 4. The shell executes the remotely supplied response without integrity validation or review. 5. The payload performs arbitrary actions with the permissions of the invoking account, potentially installing ...[truncated 801 chars]
- Remediation
- ## Remediation Suggestions - Remove direct `curl | bash` and `irm | iex` installation instructions. - Prefer a trusted platform package manager or an official, version-pinned release artifact. - Publish and verify a cryptographic signature or trusted checksum before executing any downloaded installer. - Download the installer to a local file first, verify its origin and integrity, and permit review before execution. - Require explicit user approval before installing software; do not let an agent initiate installation merely because a command failed. - Run installation with the least-privileged account possible and avoid administrator or root execution unless a documented component strictly requires it. - Pin the installer and CLI version so the reviewed behavior cannot change silently after publication. - Keep normal Skill execution confined to the declared `oo` command interface rather than invoking unrestricted shells.
