T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:62
- Finding
- Unverified Remote Bash Script Download and Execution## Vulnerability Details **File Location**: `SKILL.md`, line 62 **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 first-time setup instructions pipe a remotely hosted installation script directly into Bash. The downloaded content is mutable and is neither pinned to a reviewed version nor verified using a cryptographic signature or trusted checksum before execution. This creates a remote code execution and supply-chain risk. Control or compromise of the hosting service, installation script, publishing credentials, or another trusted delivery component would permit the served payload to be changed after this Skill was audited. Bash would execute that changed payload immediately with the privileges of the user running the Agent. Installing the required CLI may support the declared Raisely connector functionality, but immediate network-to-shell execution exceeds the minimum mechanism necessary. A version-pinned, integrity-verified installation method can provide the same functionality without blindly executing the current server response. ### Attack Path 1. The `oo` CLI is absent, causing an `oo: command not found` failure. 2. The Agent follows the documented first-time setup procedure. 3. An attacker compromises the remote installation script or a trusted component of its publication and delivery chain. 4. `curl` retrieves the attacker-modified response from the external URL. 5. The shell pipeline passes the response directly to Bash without review or integrity verification. 6. Bash executes the attacker's commands with the invoking user's privileges. ### Impact Assessment A successful exploit could execute arbitrary commands as the invoking user. Depending on that user's privileges and accessible resources, an attacker could read or alte ...[truncated 476 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` pipeline. - Prefer an official operating-system package manager with package-signing verification. - Alternatively, download a version-pinned release artifact to disk, verify its publisher signature and a hardcoded cryptographic checksum, and only then execute it. - Ensure checksums and signatures are obtained through an independently trusted or authenticated channel. - Display the artifact source and version and require explicit user approval before installation. - Run installation with ordinary user privileges unless elevated privileges are strictly required and separately approved. - Document how users can inspect the installer and verify its provenance before execution.
