T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:61
- Finding
- Unverified Remote Shell Script Execution via curl and Bash## Vulnerability Details **File Location**: `SKILL.md`, line 61 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command retrieves a mutable script from an external server and immediately passes its contents to Bash. It does not pin an immutable release, verify a cryptographic signature or checksum, or provide an opportunity to inspect the downloaded script before execution. Although HTTPS protects the connection in transit, it does not eliminate risks arising from compromise of the hosting service, publishing account, DNS infrastructure, or upstream installation script. Because the effective payload is maintained outside the audited project, it can also change after this Skill has been reviewed. Installing the CLI may be relevant during first-time setup, but unrestricted execution of an unverified remote script exceeds the minimum privileges required for the Skill's declared Heartbeat read operations. ### Attack Path 1. The `oo` CLI is unavailable, causing the first-time setup instructions to be used. 2. The command requests `https://cli.oomol.com/install.sh`. 3. The installation endpoint or associated infrastructure serves a compromised or malicious response. 4. The response is piped directly into Bash without integrity or authenticity verification. 5. The payload executes with all permissions available to the user or agent running the command. ### Impact Assessment A substituted installation script could execute arbitrary commands under the invoking user's account. Depending on that account's permissions, it could access local files and credentials, alter installed tools, download additional payloads, modify user configuration, or establish persistence. If the command is run with elevated privileges, the impact could extend to system-wide compromise. The ...[truncated 234 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` installation workflow. - Prefer a signed package distributed through a trusted package manager. - Pin the CLI to a specific immutable version instead of retrieving a mutable installation endpoint. - If a direct download is necessary, download the file without executing it, verify a publisher signature or a checksum obtained through an independent trusted channel, and only then execute the verified file. - Display the intended version, source, destination, and expected system changes before installation. - Require explicit user approval before installing software. - Run installation with the least-privileged account possible and avoid requesting administrative privileges unless a documented installation step strictly requires them.
