T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:72
- Finding
- Unverified Remote Installer Download and Immediate Execution## Vulnerability Details **File Location**: `SKILL.md`, lines 72 and 76 **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 download mutable shell or PowerShell content from an external server and execute it immediately. Neither command pins the installer to a reviewed version nor verifies a cryptographic signature or checksum before execution. Installation of the `oo` CLI supports the declared Cartes.io integration, and the referenced host is an OOMOL domain. However, piping a network response directly into an interpreter grants that response arbitrary code-execution capability. The effective installer can change after this Skill has been reviewed. A compromise of the hosting infrastructure, publication process, domain, DNS resolution, TLS trust chain, or installer endpoint could therefore turn the documented setup flow into arbitrary command execution. The PowerShell instruction has the same security properties as the shell instruction: `Invoke-RestMethod` retrieves remote content and `Invoke-Expression` executes it without an independent integrity check. ### Attack Path 1. The `oo` command is unavailable, causing the first-time installation instructions to become applicable. 2. An attacker compromises or otherwise gains control over the installer response through the hosting or delivery chain. 3. The user or agent runs the documented `curl | bash` or `irm | iex` command. 4. The interpreter executes the attacker-controlled response with the privileges of the invoking account. 5. The payload can access data and perform operations available to that account, potentially including credential theft, file modification, persistence installation, or further payload retrieval. ## ...[truncated 744 chars]
- Remediation
- ## Remediation Suggestions 1. Remove the direct `curl | bash` and `irm | iex` installation patterns. 2. Pin the CLI to a specific reviewed release rather than retrieving a mutable installer endpoint. 3. Download the installer or package to disk without executing it immediately. 4. Publish and verify a cryptographic signature or a checksum obtained through an independently authenticated channel. 5. Prefer a trusted platform package manager or a signed release artifact from the official project repository. 6. Display the resolved version, source, and verification result before installation. 7. Require explicit user approval before executing any downloaded installer. 8. Run installation with ordinary user privileges unless elevated access is demonstrably required. 9. Document a manual inspection procedure and a rollback or uninstallation path. 10. If bootstrap scripts must remain available, fail closed when signature or checksum verification cannot be completed.
