T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:64
- Finding
- Remote Shell Script Downloaded and Executed Without Integrity Verification## Vulnerability Details **File Location**: `SKILL.md:64` **Vulnerability Type**: Remote payload retrieval and execution through `curl | bash` **Risk Level**: Critical ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command streams a mutable script from an external server directly into Bash. The retrieved payload is neither version-pinned nor verified using a cryptographic checksum or signature. Although HTTPS protects the connection in transit, it does not ensure that the server will continue serving the same script that was reviewed. Consequently, compromise of `cli.oomol.com`, its hosting infrastructure, DNS resolution, release process, or signing credentials could cause arbitrary attacker-controlled commands to execute locally. The script runs with all privileges available to the invoking shell. This behavior exceeds the minimum privileges needed to document how the Daffy connector is used because installation can instead be delegated to the user through a verifiable package or release artifact. ### Attack Path 1. The `oo` command is unavailable and an agent or user follows the first-time setup instructions. 2. An attacker compromises the remote installation endpoint or its software-delivery supply chain. 3. The endpoint returns a modified `install.sh` containing attacker-controlled commands. 4. `curl` streams the response directly to Bash without local inspection or integrity verification. 5. Bash executes the attacker's payload with the permissions of the invoking account. 6. The payload can access files, credentials, and network resources available to that account and may attempt further compromise or persistence. ### Impact Assessment Successful exploitation provides arbitrary command execution under the invoking user's privileges. A normal user invocation could expose that user's files, environment variables, credentials, authentication ...[truncated 297 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` execution pipeline. - Prefer installation through an official package manager with a pinned package version and authenticated repository metadata. - If a standalone installer is necessary, download a version-specific artifact to disk without executing it immediately. - Publish and verify a cryptographic signature or a checksum obtained through a separately trusted channel. - Allow the user to inspect the downloaded script before execution. - Require explicit user approval before running any installer. - Execute installation with the least privileged account possible and do not request administrative privileges unless a documented installation step strictly requires them. - Pin the expected CLI release and trusted artifact URL so the reviewed installation payload cannot silently change.
