T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:62
- Finding
- Unverified Remote Installation Scripts Executed Directly by Shells## Vulnerability Details **File Location**: `SKILL.md`, lines 62–66 **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 installation instructions retrieve mutable scripts from `cli.oomol.com` and execute them immediately with Bash or PowerShell. Neither command pins a reviewed release, verifies a cryptographic signature or checksum, nor provides an inspection step before execution. Consequently, the effective code executed is determined by the remote server at installation time rather than by the reviewed Skill package. Compromise of the hosting service, domain, delivery infrastructure, or TLS trust path—or an unsafe future modification of the scripts—could result in arbitrary commands being executed on the user's machine. Installing the required CLI may be necessary for the declared Whop connector functionality, but direct network-to-shell execution exceeds the minimum-risk mechanism necessary to perform that installation. The audit found no evidence establishing that the current remote scripts are malicious; the vulnerability is the unverified remote execution mechanism itself. ### Attack Path 1. A Whop action fails because the `oo` CLI is unavailable. 2. The agent or user follows the documented first-time setup instructions. 3. Bash or PowerShell downloads the current script from `cli.oomol.com`. 4. The downloaded response is passed directly to the corresponding interpreter without integrity verification or review. 5. If the remote content or its delivery path has been compromised, attacker-controlled commands execute with the privileges of the invoking account. 6. Those commands could access user-readable data, alter local files and configuration, steal ...[truncated 814 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` and `irm | iex` installation commands. - Prefer an official operating-system package manager with a pinned package version and trusted repository metadata. - If manual installation is required, download a versioned release artifact separately rather than executing a mutable installation URL. - Publish and verify a cryptographic checksum and, preferably, a signature backed by a documented release key before execution. - Present the downloaded installer for inspection and execute it only after verification. - Require explicit user approval before installing software; do not automatically install the CLI merely because a command failed. - Run installation with ordinary user privileges unless a specific, documented operation requires elevation. - Pin the expected CLI release in the Skill documentation and provide a controlled update procedure.
