T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:61
- Finding
- Unverified Remote Shell Script Execution During CLI Installation<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:61` **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 downloads a shell script from an external URL and immediately passes it to `bash`. The script is not pinned to an immutable release, downloaded for inspection, or verified using a cryptographic signature or trusted checksum. Consequently, the code executed by this Skill is not limited to the content reviewed in the project. It can change whenever the remote resource changes. Although the URL appears to belong to the CLI vendor, this does not eliminate the risks of a compromised vendor account, web server, DNS or delivery infrastructure, or software-release pipeline. Installing the `oo` CLI is related to the declared Detrack integration, but executing mutable remote content without verification exceeds the minimum privileges and trust necessary to perform that installation safely. ### Attack Path 1. The agent attempts to use the Detrack connector and discovers that the `oo` command is unavailable. 2. The agent follows the documented first-time setup procedure. 3. `curl` retrieves the current contents of `https://cli.oomol.com/install.sh`. 4. The pipe sends the response directly to `bash` without presenting it for review or validating its provenance. 5. If the remote endpoint or delivery chain has been compromised, attacker-controlled shell commands execute with the privileges of the user or agent process. 6. Those commands may access files available to that account, alter the local environment, steal accessible credentials, install additional software, or establish persistence. ### Impact Assessment Successful exploitation provides arbitrary command execution under the account running the installation command. The precise scope depends on that account's ...[truncated 636 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove the `curl | bash` installation pattern. 2. Pin installation instructions to a specific, immutable CLI release. 3. Download the installer or release artifact without executing it immediately. 4. Verify a vendor-published cryptographic signature or checksum obtained through an independently trusted channel. 5. Prefer a trusted platform package manager with package-signing and version-pinning support. 6. Display the source, version, expected checksum, and intended changes before execution. 7. Require explicit user approval before installing software or running an installer. 8. Run installation with ordinary user privileges unless a narrowly defined step genuinely requires elevation. 9. Document the files, directories, and network endpoints the installer is expected to access. ]]>
