T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:60
- Finding
- Unverified Remote Script Execution via Bash## Vulnerability Details **File Location**: `SKILL.md`, line 60 **Vulnerability Type**: Remote payload retrieval and immediate shell execution **Risk Level**: Critical **Vulnerable Code**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction downloads a mutable shell script from an external server and pipes it directly into Bash. The payload is executed without version pinning, checksum validation, cryptographic signature verification, local inspection, or any other integrity control. HTTPS protects the connection in transit but does not guarantee that the hosted script is immutable or safe. Compromise of the hosting infrastructure, publishing account, delivery path, or the script itself would allow the effective payload to change after the Skill has been reviewed. The external script is not included in the project and therefore cannot be evaluated by this audit. Installing the required CLI supports the Skill's declared functionality, but granting a remote endpoint the ability to supply arbitrary shell commands at execution time exceeds the minimum privilege necessary to install a known CLI artifact. ### Attack Path 1. The user or agent attempts to use the Skill on macOS or Linux without the `oo` CLI installed. 2. The command fails with `oo: command not found`. 3. The Skill directs the user or agent to execute the documented `curl | bash` command. 4. `curl` retrieves the current contents of `https://cli.oomol.com/install.sh`. 5. Bash immediately interprets the response under the privileges of the invoking user. 6. If the remote script or its delivery infrastructure has been compromised, attacker-controlled commands execute without an integrity check or review step. ### Impact Assessment The downloaded script receives arbitrary code-execution capability with the invoking user's privileges. It could read or modify user-accessible files ...[truncated 427 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` installation instruction. - Distribute a version-pinned CLI artifact through an audited operating-system package manager or another trusted installation mechanism. - Pin installation instructions to a specific immutable release rather than a mutable generic installation URL. - Publish a SHA-256 checksum and a cryptographic signature for each release. - Download the artifact separately, verify both its checksum and signature, and only then execute or install it. - Document the files, permissions, and network access required by the installer. - Do not request elevated privileges automatically; require explicit user review when privileged installation is genuinely necessary. - Provide instructions that let users inspect the downloaded installer before execution.
