T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:75
- Finding
- Unverified Remote Installation Scripts Executed Directly by Shells## Vulnerability Details **File Location**: `SKILL.md`, lines 75–79 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ### Vulnerable Code ```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 download remote installation scripts and execute their responses immediately using Bash or PowerShell. The instructions do not pin an immutable release, verify a cryptographic signature or checksum, or provide an inspection step before execution. Although HTTPS provides transport protection, it does not ensure that the retrieved script remains identical to the version assessed during this audit. Compromise of the hosting server, distribution pipeline, domain, certificate-authorized infrastructure, or publisher account could cause arbitrary replacement content to execute. The effective payload can therefore change after the Skill package has been reviewed. Installing the required CLI may be legitimate, but direct pipe-to-shell execution is not the minimum privilege or minimum-risk method necessary to support the declared BotStar connector functionality. ### Attack Path 1. The `oo` CLI is unavailable, and an agent or user follows the documented first-time setup. 2. An attacker compromises or gains control over the remote installation-script delivery path. 3. The request to `https://cli.oomol.com/install.sh` or `install.ps1` returns attacker-controlled code. 4. `bash` or `iex` executes the response immediately without integrity verification or prior inspection. 5. The payload runs with the permissions of the invoking user and can perform any action available to that account. ### Impact Assessment Successful exploitation permits arbitrary command execution with the invoking user's privileges. Depending on those ...[truncated 536 chars]
- Remediation
- ## Remediation Suggestions 1. Remove direct `curl | bash` and `irm | iex` installation commands. 2. Pin the CLI to a specific, immutable release and download it from an authenticated official release location. 3. Publish trusted SHA-256 checksums and, preferably, cryptographic signatures for each platform artifact. 4. Separate download, verification, inspection, and installation into distinct steps. 5. Abort installation if checksum or signature verification fails. 6. Prefer a trusted operating-system package manager or signed platform-native installer where available. 7. Document that installation should use a non-administrative account unless elevated privileges are explicitly required for a narrowly defined step. 8. Keep the existing behavior of attempting connector actions first and invoking setup only after a genuine missing-command error.
