T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:61
- Finding
- Unverified Remote Installation Scripts Are Executed Directly## Vulnerability Details **File Location**: `SKILL.md`, lines 61–65 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ### 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 first-time setup instructions pipe content retrieved from external URLs directly into Bash or PowerShell. The downloaded scripts are not pinned to an immutable version, saved for inspection, checked against an expected cryptographic hash, or validated using a trusted digital signature. Consequently, the code ultimately executed can change after the Skill has been reviewed. Compromise of the remote hosting environment, domain, DNS resolution, TLS trust chain, or publication credentials could cause arbitrary attacker-controlled commands to execute. Although the URLs appear related to the declared OOMOL service and installation is only presented as an authentication-error fallback, that does not remove the supply-chain risk. This behavior exceeds the minimum privileges needed for normal LIFX operations: operating lights only requires an already-installed connector client, whereas executing a mutable installer grants the remote script the full privileges of the Agent or user running the shell. ### Attack Path 1. The `oo` command is unavailable, causing the Agent or user to follow the first-time setup instructions. 2. An attacker compromises or gains control over the installation script, its hosting infrastructure, or the network trust path. 3. `curl` or `irm` retrieves the modified script. 4. The shell pipeline immediately passes the response to Bash or PowerShell without inspection or integrity verification. 5. The malicious script executes with the current process user's privileges. ### Impact Assessment Successful exploitation permits arbitra ...[truncated 418 chars]
- Remediation
- ## Remediation Suggestions - Remove all `curl | bash` and `irm | iex` installation instructions. - Direct users to a documented package-manager installation or a pinned, immutable release artifact. - Require the installer to be downloaded to disk before execution. - Publish an expected SHA-256 or stronger digest over a trusted, separately secured channel and verify it before execution. - Prefer signed packages or scripts and verify the publisher's signature using a pinned trusted key. - Pin the required CLI version instead of retrieving a mutable latest installer. - Display the exact command and request explicit user authorization before installing software. - Run installation with the least-privileged account possible and do not request administrative privileges unless strictly required.
