T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:62
- Finding
- Unverified Remote Shell Script Execution on macOS and Linux## Vulnerability Details **File Location**: `SKILL.md`, line 62 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High **Vulnerable Code**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction pipes a remotely retrieved, mutable script directly into Bash. The script is neither included in the audited project nor pinned to an immutable version. No cryptographic signature or checksum is verified before execution, and the user has no mandatory opportunity to inspect the downloaded content. Although `cli.oomol.com` is consistent with the declared OOMOL service, trust in the hostname alone does not adequately protect this execution path. Compromise of the domain, DNS resolution, TLS or hosting infrastructure, release pipeline, or installer content could cause arbitrary commands to be returned and immediately executed. Direct remote-script execution exceeds the minimum privilege required to explain how to install a connector CLI. Installation can instead use a version-pinned package whose integrity is verified before execution. ### Attack Path 1. The `oo` command is unavailable on the target system. 2. The agent or user follows the documented first-time setup procedure. 3. An attacker compromises or gains control over the installer distribution path or its publishing pipeline. 4. `curl` downloads the attacker-controlled replacement for `install.sh`. 5. The shell pipe passes the response directly to Bash without integrity verification. 6. The payload executes with all privileges held by the user running the command. ### Impact Assessment A successful exploit provides arbitrary command execution under the invoking user's account. The payload could read or alter files accessible to that account, steal locally available credentials or session material, intercept ERP information, invoke network services, install add ...[truncated 193 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` installation instruction. - Prefer a trusted operating-system package manager with an explicitly pinned CLI version. - If a standalone installer is necessary, require users to download it to a local file first. - Publish and verify a cryptographic signature from a separately protected trust channel. At minimum, verify a release-specific SHA-256 digest before execution. - Use an immutable, versioned release URL rather than a mutable `install.sh` endpoint. - Allow the downloaded script to be reviewed before it is executed. - Run installation with ordinary user privileges unless a documented operation specifically requires elevation. - Document the files, network destinations, and permission changes performed by the installer.
