T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:61
- Finding
- Remote Shell Script Downloaded and Executed Without Verification## Vulnerability Details **File Location**: `SKILL.md:61` **Vulnerability Type**: Remote payload retrieval and execution through a shell pipeline **Risk Level**: High ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction pipes the response from an external URL directly into Bash. Although HTTPS provides transport encryption and server authentication, it does not pin the script's contents or allow the user to verify the effective payload before execution. The payload can change after the Skill has been reviewed. Installation of the `oo` CLI is relevant to the declared DocuGenerate functionality, but immediate execution of mutable remote content exceeds the minimum privileges and trust required. A compromised hosting account, web server, release pipeline, or domain could replace the installer with arbitrary commands. ### Attack Path 1. The `oo` CLI is absent, causing the documented fallback installation procedure to be used. 2. An attacker compromises the installer host, publishing pipeline, or another component capable of controlling the response from `https://cli.oomol.com/install.sh`. 3. The user or agent runs the documented `curl` pipeline. 4. `curl` retrieves the attacker-controlled response and passes it directly to Bash without inspection, signature validation, checksum verification, or version pinning. 5. Bash executes the payload with all privileges available to the invoking account. ### Impact Assessment Successful exploitation provides arbitrary command execution under the invoking user's privileges. The payload could read or modify accessible files, steal credentials and tokens available to the process, install additional software, alter user configuration, establish persistence, or retrieve further payloads. If the command is run from an elevated shell, the impact may extend to system-wide compromise.
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` pipeline. - Prefer a trusted platform package manager or a version-pinned release artifact from the official project repository. - Separate download and execution so the installer can be inspected before it runs. - Publish and verify a cryptographic signature from a documented trusted signing key. - If signature verification is unavailable, pin an expected SHA-256 digest for a specific immutable release before execution. - Run installation with ordinary user privileges whenever possible, requesting elevation only for narrowly scoped operations that require it. - Document the files, network destinations, and system changes made by the installer.
