T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:70
- Finding
- Remote Bash Installer Downloaded and Executed Without Integrity Verification## Vulnerability Details **File Location**: `SKILL.md`, line 70 **Vulnerability Type**: 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 pipes a remotely retrieved script directly into Bash. The script is not pinned to an immutable version and is not checked against a cryptographic digest or publisher signature before execution. Consequently, the effective code executed by the Skill can change after the Skill package has been reviewed. HTTPS protects the connection in transit but does not establish that every future payload served by the URL is safe. Compromise of the hosting infrastructure, domain, CDN, deployment pipeline, or publisher account could cause arbitrary attacker-controlled shell commands to be returned and immediately executed. Installing the required CLI is related to the declared Nozbe connector functionality, but executing an unreviewed remote response directly in a shell exceeds the minimum safe privilege necessary. A downloaded installer can instead be pinned, independently verified, reviewed, and executed only after explicit user authorization. ### Attack Path 1. The `oo` CLI is absent, causing the agent or user to follow the first-time setup instructions. 2. An attacker compromises or gains control over the content returned by `https://cli.oomol.com/install.sh`. 3. `curl` retrieves the modified response. 4. The pipe passes the response directly to Bash without saving or validating it. 5. Bash executes the attacker-controlled commands with the privileges of the invoking user. ### Impact Assessment Successful exploitation provides arbitrary command execution under the invoking user's account. The payload could read or alter accessible files, collect local credentials or session material, modify user configuration, install a ...[truncated 379 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` installation pattern. - Direct users to an official, versioned release artifact or trusted package manager. - Pin the CLI to an explicit version rather than retrieving a mutable installer endpoint. - Download the artifact to a local file before execution. - Publish and verify a cryptographic checksum and, preferably, a publisher signature. - Display the exact artifact, version, source, and requested action to the user. - Require explicit user approval before executing any installer. - Run installation with ordinary user privileges unless elevated access is demonstrably necessary. - Document the files, configuration, and network access that the installer requires.
