T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:58
- Finding
- Remote Shell Script Downloaded and Executed Without Integrity Verification## Vulnerability Details **File Location**: `SKILL.md`, line 58 **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 command pipes a network response directly into `bash`. The downloaded script is mutable external content whose effective behavior can change after the Skill has been reviewed. No version pinning, cryptographic signature validation, checksum verification, local inspection, or execution isolation is required. HTTPS protects the connection in transit but does not make the payload immutable and does not protect users if the hosting service, publishing process, DNS path, or signing credentials are compromised. The `-f` and `-s` options also reduce visibility into failures and downloaded content. Installation is conditional on `oo` being unavailable, but the instruction still authorizes execution of arbitrary remote shell code. Installing the CLI may support the declared Bitrise functionality, but immediate execution of an unverified response exceeds the minimum privilege and trust necessary to invoke an already installed connector. ### Attack Path 1. The Agent attempts to use `oo` and receives an `oo: command not found` error. 2. It follows the first-time setup instructions in `SKILL.md`. 3. `curl` retrieves the current response from `https://cli.oomol.com/install.sh`. 4. The pipe sends that response directly to `bash` without integrity verification or review. 5. If the remote response or delivery infrastructure has been compromised, attacker-controlled shell commands execute with the privileges of the user running the Agent. 6. Those commands can access user-readable data, modify user-owned files, install additional software, or establish further network communication. ### Impact Assessment Successful exploitation provides arbi ...[truncated 402 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation pipeline. - Prefer a trusted operating-system package manager or a signed, version-pinned release. - Download the installer as a separate file rather than executing the HTTP response directly. - Pin an expected version and SHA-256 digest, then verify the digest before execution. - Verify a publisher signature using a trusted key distributed through an independent channel. - Display the source, destination, version, permissions, and expected system changes to the user. - Require explicit user approval immediately before running any installer. - Execute installation with ordinary user privileges unless a specific, documented operation requires elevation. - Keep CLI installation outside routine Skill execution where practical.
