T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:57
- Finding
- Unverified Remote Installer Download and Immediate Execution<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 57–64 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ### Complete Code Snippet ```markdown - **`oo: command not found`** — install the oo CLI (other platforms: <https://cli.oomol.com/install-guide.md>): ```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 documented installation commands retrieve mutable scripts from external URLs and immediately execute them in Bash or PowerShell. They do not pin an immutable installer version, verify a cryptographic signature or checksum, save the script for inspection, or otherwise establish that the downloaded content matches the version reviewed with this Skill. HTTPS protects the connection in transit under normal conditions, but it does not eliminate risks arising from compromise of the vendor's web infrastructure, DNS or certificate ecosystem, deployment pipeline, or publishing credentials. Because the effective installer payload can change after the Skill has been audited, a compromised endpoint can convert this setup instruction into arbitrary code execution. Installing the CLI may be necessary for the declared functionality, but immediate execution of unverified network content is not the minimum-risk installation mechanism. ### Attack Path 1. An attacker compromises or gains control over `cli.oomol.com`, its deployment pipeline, or another component capable of changing or redirecting the installer response. 2. The `oo` command is unavailable on a user's system, causing the documented first-time setup path to be selected. 3. The Agent or user runs the applicable `curl | bash` or `irm | iex` command. 4. The shell executes the attacker's response without integrity validation or prior inspecti ...[truncated 710 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Remove both direct download-to-shell patterns. - Direct users to an official package manager or immutable release artifact pinned to a specific CLI version. - Download the artifact to disk without executing it automatically. - Publish and verify a cryptographic signature or a checksum obtained through an independently authenticated channel. - Abort installation if verification fails. - Allow users to inspect the installer before execution. - Require explicit user approval before installing software or executing an installer. - Run installation with ordinary user privileges unless a narrowly defined step demonstrably requires elevation. - Document the expected version, source, checksum or signing identity, files created, and permissions required. ]]>
