T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:58
- Finding
- Unverified Remote Installer Download and Immediate Execution## Vulnerability Details **File Location**: `SKILL.md:58-62` **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 pipe remotely downloaded content directly into Bash or PowerShell. The effective code is retrieved at execution time and can change after the Skill has been reviewed. Neither command pins a specific release nor verifies a cryptographic signature or checksum before execution. HTTPS protects data in transit but does not establish that the current remote payload is the same payload that was originally reviewed. Compromise of the hosting service, DNS infrastructure, CDN, TLS endpoint, or publisher account could allow an attacker to replace the installer. The replaced response would be executed immediately with the privileges of the user running the command. This installation behavior exceeds the minimum privileges needed for ordinary MSG91 actions. The declared functionality only requires invoking an already installed `oo` CLI and submitting requests through the connector; it does not inherently require executing mutable remote scripts. ### Attack Path 1. An attacker compromises or gains control over the installer endpoint or its publishing infrastructure. 2. The attacker replaces `install.sh` or `install.ps1` with a malicious payload. 3. The `oo` command is unavailable, causing the user or agent to follow the first-time setup instructions. 4. The shell pipeline downloads the attacker-controlled response. 5. Bash or PowerShell executes the response immediately, without integrity verification or an inspection step. 6. The payload performs arbitrary operations under the invoking user's account. ### Impact Assessment Succe ...[truncated 405 chars]
- Remediation
- ## Remediation Suggestions 1. Remove all direct `curl | bash` and `irm | iex` installation instructions. 2. Prefer installation through a trusted operating-system package manager using a pinned package version. 3. If direct artifact installation is necessary, download the artifact to a local file without executing it. 4. Pin the artifact to a specific reviewed release rather than a mutable generic installer URL. 5. Publish and verify a cryptographic checksum and, preferably, a signature from a separately secured channel. 6. Display the artifact path, expected digest, signer identity, and intended changes before requesting user approval. 7. Execute the verified installer without elevated privileges unless a documented installation step strictly requires elevation. 8. Keep installation separate from normal connector operation and require explicit user approval before initiating it.
