T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:59
- Finding
- Unverified Remote Shell Script Execution on macOS and Linux## Vulnerability Details **File Location**: `SKILL.md:59` **Vulnerability Type**: Remote payload retrieval and immediate shell execution **Risk Level**: Critical ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction streams a mutable remote script directly into Bash. Although HTTPS provides transport encryption and server authentication, it does not guarantee that the script is safe, immutable, or identical to the version reviewed during this audit. The instruction does not pin a release, verify a cryptographic signature or checksum, save the script for inspection, or constrain its execution privileges. Consequently, compromise of the remote host, publishing account, DNS infrastructure, or installation pipeline could cause arbitrary attacker-controlled commands to execute under the invoking user's account. Installing the CLI supports the Skill's declared functionality, but direct remote-to-shell execution exceeds the minimum mechanism necessary. A separately downloaded and cryptographically verified package would accomplish the same goal with lower risk. ### Attack Path 1. The `oo` command is unavailable, causing the user or agent to follow the first-time setup instructions. 2. An attacker compromises or gains control over `https://cli.oomol.com/install.sh` or its delivery infrastructure. 3. The documented command downloads the attacker's current script without validating a pinned digest or signature. 4. Bash immediately interprets the downloaded content. 5. The payload executes with all privileges available to the invoking user and may download additional payloads, steal accessible credentials, alter files, or establish persistence. ### Impact Assessment Successful exploitation provides arbitrary command execution with the privileges of the user running the installer. The accessible scope may include the user's files, environment variabl ...[truncated 336 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation pattern. - Distribute the CLI through a trusted package manager or a version-pinned release artifact. - Download the installer or binary to disk as a separate step rather than executing streamed content. - Publish a SHA-256 digest and, preferably, a cryptographic signature through an independently protected channel. - Verify the digest or signature before execution. - Permit review of the downloaded installer and document its expected filesystem and network effects. - Run installation with ordinary user privileges unless a specific operation demonstrably requires elevation. - Pin documentation to a known version so the effective installer cannot change silently after Skill review.
