T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:64
- Finding
- Unverified Remote Installer Download and Immediate Execution<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 64–68 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ### Vulnerable Code ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ```powershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell ``` ### Technical Analysis The installation instructions retrieve mutable scripts from external URLs and pass them directly to command interpreters. Neither command pins a release version, verifies a cryptographic signature or checksum, nor gives the user or agent an opportunity to inspect the downloaded code before execution. HTTPS authenticates the connection under normal conditions but does not establish that the current script is the same code that was reviewed. Compromise of the hosting account, web infrastructure, DNS, domain registration, or trusted delivery pipeline could therefore change the effective payload after this Skill has been audited. This behavior is not necessary for routine Skill operation because the document explicitly assumes that the `oo` CLI is already installed. Even as a first-time setup fallback, immediate execution is not the minimum-risk installation method. ### Attack Path 1. An attacker compromises the OOMOL installer hosting infrastructure, deployment pipeline, domain, or another component capable of changing the remote installer. 2. The attacker replaces the installer with code that performs unauthorized actions before or alongside installing the CLI. 3. The `oo` command is unavailable, causing the agent or user to follow the documented first-time setup procedure. 4. `curl | bash` or `irm | iex` downloads and immediately interprets the attacker-controlled response. 5. The payload executes with the privileges of the invoking user and can access resources available to that account. ### Impact Assessment Successful exploitation permits arbitrary code execution under t ...[truncated 382 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove all instructions that pipe network responses directly into a shell or PowerShell interpreter. 2. Pin installation instructions to an explicit, immutable CLI release version. 3. Download the installer or release artifact to a local file before execution. 4. Publish a SHA-256 or stronger digest through an independently protected release channel and require verification before installation. 5. Prefer signed packages and verify the publisher's cryptographic signature. 6. Use trusted platform package managers where possible, with repository signing and version pinning enabled. 7. Present installation as a manual user-controlled prerequisite rather than allowing the agent to execute an installer automatically. 8. Document the expected artifact URL, version, checksum, signer identity, and verification commands. 9. Run installation without administrator privileges unless a specific installation step demonstrably requires elevation. ]]>
