T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:60
- Finding
- Unverified Remote Shell Script Execution via curl and Bash## Vulnerability Details **File Location**: `SKILL.md`, line 60 **Vulnerability Type**: Remote payload retrieval and immediate 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 mutable script from an external URL and pipes it directly into Bash. The downloaded content is neither displayed nor saved for inspection, and the command performs no cryptographic signature or checksum verification. Consequently, the code executed on the system can differ from the content that existed when this Skill was audited. Installing the `oo` CLI is relevant to the declared connector functionality, and the referenced domain is consistent with the declared OOMOL service. However, direct execution of unverified remote content exceeds the minimum privilege and trust necessary for installation. A compromised domain, TLS endpoint, hosting account, release pipeline, or installer could turn this command into an arbitrary-code-execution channel. ### Attack Path 1. A user invokes the Skill on a macOS or Linux system where the `oo` command is unavailable. 2. The Skill directs the user or agent to follow the first-time installation command. 3. An attacker compromises the installer hosting infrastructure, release pipeline, or remote script. 4. `curl` retrieves the attacker-controlled response from the mutable URL. 5. The shell pipeline passes the response directly to Bash without inspection or artifact verification. 6. Bash executes the attacker's commands with the permissions of the invoking account. ### Impact Assessment Successful exploitation permits arbitrary command execution under the invoking user's privileges. The payload could read accessible files and credentials, alter project or user files, install additional software, establish persistence, or transmit sensitive information over the netwo ...[truncated 368 chars]
- Remediation
- ## Remediation Suggestions - Replace the `curl | bash` pipeline with a pinned, versioned release artifact from the official distribution channel. - Download the installer to a local file rather than executing the network response immediately. - Publish and verify a cryptographic signature or a SHA-256 digest obtained through a separately authenticated channel before execution. - Allow the user to inspect the downloaded script and document the files, network destinations, and permissions it uses. - Prefer a platform package manager or signed package whose provenance and integrity can be independently verified. - Do not invoke the installer with `sudo` or another privileged account unless a documented operation strictly requires it.
