T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:55
- Finding
- Unverified Remote Shell Script Execution## Vulnerability Details **File Location**: `SKILL.md`, line 55 **Vulnerability Type**: Remote payload retrieval and immediate execution **Risk Level**: Critical **Complete Code Snippet**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The first-time setup instructions pipe a remotely downloaded, mutable script directly into Bash. The script is not pinned to a reviewed version, downloaded for inspection, or checked against a cryptographic signature or trusted checksum before execution. HTTPS protects the connection in transit but does not establish that the current script is identical to the version reviewed with this Skill. Compromise of the vendor's web server, publishing account, CDN, DNS/TLS infrastructure, or installer release process could replace the response with attacker-controlled shell commands. Installing the CLI is ancillary setup rather than part of the Skill's declared Jam data-reading operation. Direct execution of an unverified installer therefore exceeds the minimum safe behavior necessary to guide installation. ### Attack Path 1. The `oo` CLI is absent, and an action fails with `oo: command not found`. 2. The Agent or user follows the fallback installation instruction. 3. An attacker compromises or gains control of the installer response at `https://cli.oomol.com/install.sh`. 4. `curl` retrieves the attacker-controlled response. 5. The shell pipeline passes that response directly to Bash without review or integrity verification. 6. Bash executes the payload with the invoking user's privileges. ### Impact Assessment Successful exploitation permits arbitrary command execution as the user running the command. The payload could access files and environment variables available to that user, steal credentials or session material, modify user-owned applications and shell configuration, install persistence within writable locations, or download ...[truncated 217 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation pattern. - Prefer an official package manager or a version-pinned release artifact from a verified publisher. - Download the installer to a local file without executing it. - Verify a vendor-published cryptographic signature and a checksum obtained through an independently authenticated channel. - Display the pinned version, source, expected digest, and requested privileges before installation. - Require explicit user approval before executing any installer. - Run installation with ordinary user privileges where supported, and do not request administrative privileges unless they are strictly necessary. - Provide commands that fail closed if signature or checksum verification fails.
