T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:56
- Finding
- Unverified Remote Shell Script Download and Execution on macOS and Linux## Vulnerability Details **File Location**: `SKILL.md`, line 56 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High **Vulnerable Code**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction pipes a remotely downloaded script directly into `bash`. The effective code is retrieved at execution time and is therefore not fixed to the content reviewed with this Skill. No release version, cryptographic checksum, publisher signature, or other integrity verification is specified before execution. HTTPS protects the script in transit under normal conditions, but it does not mitigate compromise of the distribution server, publishing account, DNS or certificate infrastructure, or upstream deployment pipeline. If the remote script changes or is compromised, arbitrary commands can execute with the privileges of the user running the installation command. Installing the declared `oo` CLI can be necessary for the Skill, but immediate execution of mutable remote content exceeds the minimum safe mechanism needed to install that dependency. ### Attack Path 1. An attempted `oo` command fails because the CLI is unavailable. 2. The user or agent follows the first-time setup instructions in `SKILL.md`. 3. `curl` retrieves the current contents of `https://cli.oomol.com/install.sh`. 4. The response is passed directly to `bash` without being saved, reviewed, pinned, or cryptographically verified. 5. If the endpoint or its software supply chain is compromised, attacker-controlled shell commands execute immediately. 6. Those commands can access or modify resources available to the invoking user. ### Impact Assessment Successful exploitation provides arbitrary code execution under the invoking user's account. The payload could read accessible files and credentials, modify the user's environment, install additional software, tamper ...[truncated 399 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation pattern. - Direct users to a version-pinned release artifact or a trusted operating-system package manager. - Download the installer as a separate step rather than executing the network response immediately. - Publish and require verification of a pinned SHA-256 digest and, preferably, a cryptographic signature tied to a documented publisher key. - Allow the downloaded script to be inspected before execution. - Require explicit user approval before installing software. - Run installation with ordinary user privileges unless a narrowly defined operation genuinely requires elevation. - Document the exact version, expected files, installation destination, and required permissions.
