T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:64
- Finding
- Unverified Remote Shell Script Execution on macOS and Linux## Vulnerability Details **File Location**: `SKILL.md`, line 64 **Vulnerability Type**: `T03: Remote Payload Retrieval and Execution` **Risk Level**: Critical **Complete Code Snippet**: ```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 URL and pipes it directly into Bash. The downloaded content is not pinned to a reviewed release and is not verified through a cryptographic signature or published checksum before execution. Although installing the `oo` CLI supports the Skill's declared Businessmap functionality, immediate network-to-shell execution is not the minimum safe mechanism required to install that dependency. The behavior transfers control of the local shell to whatever content the remote server returns at execution time. Consequently, the effective code can change after the Skill has been reviewed. HTTPS protects the connection in transit but does not mitigate compromise of the hosting service, publishing account, DNS/TLS trust chain, or installer build pipeline. The `-f`, `-s`, and `-S` options also do not authenticate the script's contents. ### Attack Path 1. An attacker compromises the installer host, its deployment pipeline, its publishing credentials, or another component capable of controlling the response from `https://cli.oomol.com/install.sh`. 2. The attacker replaces or modifies the installer response to include malicious shell commands. 3. A user or agent encounters an `oo: command not found` error and follows the documented setup instruction. 4. `curl` retrieves the attacker-controlled response and streams it directly to Bash. 5. Bash executes the payload without an intermediate review, integrity check, or version-pinning step. 6. The payload can perform actions available to the invoking user and may attempt additional privilege escalation if the environment permits i ...[truncated 716 chars]
- Remediation
- ## Remediation Suggestions 1. Remove the direct `curl | bash` pipeline from the Skill instructions. 2. Prefer an established operating-system package manager or a pinned release artifact from a verified official repository. 3. Pin the installer or binary to a specific version rather than retrieving a mutable latest installer. 4. Publish and verify a cryptographic signature or trusted checksum before execution. 5. Download the artifact to a local file first, validate its expected origin and integrity, and allow it to be reviewed before running it. 6. Require explicit user approval before installing software; the agent should not automatically execute installation commands after a command-not-found error. 7. Run installation with ordinary user privileges wherever possible and clearly document any permissions the installer requires.
