T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:59
- Finding
- Remote installation script executed directly through Bash## Vulnerability Details **File Location**: `SKILL.md`, line 59 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction pipes an HTTPS response directly into Bash. The downloaded content is neither version-pinned nor verified using a cryptographic signature or published checksum, and the user has no opportunity to inspect it before execution. Although the instruction is limited to first-time setup when the `oo` command is unavailable, installing the CLI does not require executing mutable network content without verification. HTTPS protects data in transit but does not protect against compromise of the hosting server, distribution infrastructure, DNS or certificate trust chain, or the publisher account. It also cannot ensure that the script remains unchanged after this Skill has been reviewed. The effective executable payload is therefore controlled by the remote endpoint at execution time rather than by the audited Skill package. ### Attack Path 1. The `oo` CLI is absent, causing the documented first-time setup condition to apply. 2. The user or agent runs the documented `curl` command. 3. `curl` retrieves the current response from `https://cli.oomol.com/install.sh`. 4. The response is passed directly to Bash without integrity verification or inspection. 5. If the endpoint or its delivery chain has been compromised, attacker-controlled shell commands execute immediately. 6. Those commands can access resources available to the invoking account and can download additional payloads, modify local files, or establish persistence. ### Impact Assessment A malicious remote response would obtain arbitrary command execution with the privileges of the user running the installation command. It could read or alter files accessible to that account, access locally availab ...[truncated 295 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation pattern. - Direct users to an official package manager or a version-pinned release artifact from a verified publisher. - If a script must be used, separate downloading from execution. - Publish a cryptographic checksum or signature through an independently protected channel and require verification before execution. - Allow the downloaded script to be inspected before it is run. - Require explicit user approval before installing software. - Run installation with the least-privileged account possible and avoid requesting administrative privileges unless strictly necessary. - Pin the installer or CLI to an audited version rather than retrieving mutable content from an unversioned URL. A safer workflow is: download a specific release artifact, verify its publisher signature and expected SHA-256 digest, inspect it, and only then execute it as a non-privileged user.
