T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:62
- Finding
- Unverified Remote Shell Script Execution During CLI Installation## Vulnerability Details **File Location**: `SKILL.md`, line 62 **Vulnerability Type**: Remote payload retrieval and immediate execution **Risk Level**: High **Vulnerable Code Snippet**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command pipes a script retrieved from an external server directly into Bash. The remote payload is not pinned to a specific version and is not validated using a cryptographic signature or a trusted checksum before execution. Although HTTPS protects the connection in transit, it does not ensure that the server, its deployment pipeline, DNS configuration, or future script contents remain trustworthy. The effective code executed by this Skill can therefore change after the Skill itself has been audited. This behavior is not necessary for the Google Maps connector's core functionality. Installation should be treated as a separate, explicitly authorized administrative operation rather than an automatic recovery action. ### Attack Path 1. The `oo` command is unavailable and an execution attempt fails. 2. The Agent follows the documented first-time setup procedure. 3. An attacker compromises `cli.oomol.com`, its deployment infrastructure, or another component capable of controlling the returned script. 4. `curl` retrieves the attacker-controlled response. 5. The shell pipe passes the response directly to Bash without inspection or integrity verification. 6. The attacker's commands execute locally with the privileges of the account running the Agent. ### Impact Assessment A malicious installation response can execute arbitrary commands with the current Agent user's privileges. This can expose files and environment variables available to that user, modify user-level configuration, install additional software, tamper with local tools, or establish persistence where existing permissions allow it. The reviewed file doe ...[truncated 190 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation pattern. - Pin installation instructions to a specific, immutable CLI release. - Download the installer or package without executing it immediately. - Publish a SHA-256 or stronger checksum through an independently protected channel and verify it before execution. - Prefer cryptographically signed packages from a trusted operating-system package manager. - Require explicit user approval before installing software or running any installer. - Clearly disclose the installer source, requested privileges, affected paths, and expected system changes. - If a script installer is unavoidable, save it locally and allow the user to inspect it before executing it.
