T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:59
- Finding
- Unverified Remote Installer Execution## Vulnerability Details **File Location**: `SKILL.md`, lines 59–63 **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 pipe scripts retrieved from remote URLs directly into Bash or PowerShell. The effective code is not included in the audited project and can change at any time after review. No fixed version, cryptographic checksum, digital signature, or manual inspection step is required before execution. HTTPS provides transport protection but does not establish that the downloaded script is immutable or safe. Compromise of the remote host, publishing account, delivery infrastructure, or certificate trust chain could cause arbitrary attacker-controlled code to execute. This installation behavior is not required for ordinary Mezmo read operations and is only presented as a fallback when the `oo` command is unavailable. ### Attack Path 1. The `oo` CLI is absent, causing an `oo: command not found` failure. 2. The Skill follows its first-time setup instructions. 3. A script is downloaded from `cli.oomol.com`. 4. The response is passed directly to Bash or PowerShell without integrity verification. 5. If the remote source or delivery chain has been compromised, attacker-controlled commands execute with the privileges of the user running the installer. 6. Those commands could access user-readable files, modify the local environment, install additional software, or establish persistence outside the reviewed Skill. ### Impact Assessment Successful exploitation provides arbitrary code execution under the invoking user's account. The accessible scope includes files, credentials, environment variables, network resources, and system setting ...[truncated 287 chars]
- Remediation
- ## Remediation Suggestions - Remove all direct pipe-to-shell installation commands. - Pin installation to a specific, immutable CLI release and version. - Download the installer or binary to a local file before execution. - Verify a publisher-provided cryptographic signature or a checksum obtained through an independent trusted channel. - Prefer a signed operating-system package manager or an official release artifact with provenance metadata. - Present the resolved download URL, version, expected digest, and requested privileges before installation. - Require explicit user approval before installing software. - Run installation with ordinary user privileges unless elevation is strictly required and separately approved. - Document how users can inspect the downloaded artifact before running it.
