T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:60
- Finding
- Unverified Remote Shell Script Download and Execution<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, line 60 **Vulnerability Type**: Remote payload retrieval and execution through `curl | bash` **Risk Level**: High ### Vulnerable Code ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command downloads a mutable script from an external URL and pipes it directly into Bash. The script is executed without version pinning, cryptographic signature verification, checksum validation, or local inspection. The effective code is not contained in the audited project and may change after the Skill has been reviewed. Trust therefore extends to the remote hosting infrastructure, DNS and TLS path, and every future version of the installation script. Although the hostname is associated with the declared OOMOL service, domain association alone does not guarantee the integrity of the retrieved payload. This behavior exceeds the minimum privileges required for the Skill's declared functionality. Its ordinary functionality only requires invoking an already installed `oo` CLI to perform read-only Emelia connector operations. Installing executable software is a separate, higher-risk operation and should not be performed through an unverified pipe-to-shell command. ### Attack Path 1. The `oo` CLI is absent, causing an Agent or user to follow the first-time setup instructions. 2. The command retrieves the current content of `https://cli.oomol.com/install.sh`. 3. Bash begins executing the response directly, without first saving or validating it. 4. If the remote script, hosting service, or delivery path has been compromised, attacker-controlled shell commands execute with the invoking user's privileges. 5. Those commands can access files and credentials available to that user, alter the local environment, install additional software, or attempt persistence. ### Impact Assessment A malicious remote payload could obtain arbitrary command execu ...[truncated 407 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Remove the `curl | bash` installation instruction from Agent-executable guidance. - Direct users to a documented package manager or a version-pinned release artifact from a verified publisher. - Download the installer to a local file rather than executing the HTTP response directly. - Publish and require verification of a cryptographic signature or a trusted SHA-256 checksum before execution. - Permit users to inspect the downloaded script before running it. - Keep CLI installation separate from normal Skill execution and require explicit user approval for software installation. - Avoid requesting elevated privileges unless a documented installation step strictly requires them. - Prefer an allowlisted, fixed CLI version to reduce exposure to unexpected upstream changes. ]]>
