T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:61
- Finding
- Unverified Remote Installer Download and Immediate Shell Execution<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:61-65` **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 setup instructions download mutable content from an external server and immediately execute it using Bash or PowerShell. There is no version pinning, cryptographic signature verification, checksum validation, or opportunity to inspect the downloaded installer before execution. The domain is consistent with the declared OOMOL service, but domain consistency alone does not establish the integrity of the script returned at execution time. If the website, hosting infrastructure, DNS configuration, TLS termination, or script publication process is compromised, the downloaded response can be replaced with arbitrary commands after the skill has passed review. This behavior exceeds the minimum privileges required to explain how to install a command-line client because safer installation mechanisms can download a fixed release, verify its integrity, and only then execute or install it. ### Attack Path 1. The `oo` command is unavailable, causing the agent or user to follow the first-time setup instructions. 2. The system retrieves `install.sh` or `install.ps1` from the remote OOMOL server. 3. An attacker who has compromised the relevant delivery infrastructure modifies the installer response. 4. The pipeline passes the response directly to Bash or PowerShell without integrity validation. 5. The attacker's commands execute with all privileges available to the user running the installation command. ### Impact Assessment Successful exploitation provides arbitrary code execution under the invoking user's account. Depending on that account's permissions and the malicious payload, the attack ...[truncated 514 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Do not pipe network responses directly into Bash, PowerShell, or another interpreter. - Refer users to a version-pinned release artifact from the documented upstream repository. - Publish SHA-256 or stronger checksums through a separately protected channel and require verification before installation. - Prefer cryptographically signed packages and verify the publisher signature. - Download the installer to a local file, inspect or verify it, and execute it only after successful validation. - Use an operating-system package manager with signed metadata where available. - Document that installation must run without administrator privileges unless a specific installation step demonstrably requires elevation. - Pin the expected CLI version so the reviewed installation behavior cannot silently change. ]]>
