T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:64
- Finding
- Unverified Remote Installer Downloaded and Executed Directly<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 64–68 **Vulnerability Type**: Remote payload retrieval and execution through pipe-to-shell installation commands **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 scripts from `cli.oomol.com` and immediately execute them using Bash or PowerShell. Neither command pins a specific installer version, verifies a cryptographic checksum or signature, nor gives the user an opportunity to inspect the downloaded content before execution. HTTPS protects the connection in transit but does not establish that the remote script is immutable or safe. The effective code can change after the Skill has been audited. Compromise of the hosting account, domain, TLS delivery infrastructure, or installer publication process could therefore turn these installation instructions into an arbitrary-code-execution channel. This behavior is not required during ordinary Skill operation because the documentation assumes that the `oo` CLI is already installed. Installing the CLI may be necessary when it is absent, but direct pipe-to-shell execution exceeds the minimum safe mechanism needed to perform that installation. The declared tool restriction, `Bash(oo *)`, may prevent a conforming Agent from directly invoking these installer commands; however, the unsafe instructions remain present and may be followed manually or in an environment that does not enforce that restriction. ### Attack Path 1. A user or Agent attempts to perform a Stormboard action and receives an `oo: command not found` error. 2. The first-time setup section directs the user or Agent to fetch an installation script from `cli.oomol.com`. 3. An attacker compromises the installer host, publication pipeline, DNS or ...[truncated 1574 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove both pipe-to-shell installation commands from the Skill instructions. 2. Direct users to an official, reviewable installation guide or a trusted platform package manager. 3. Pin installation artifacts to a specific CLI release rather than a mutable installer endpoint. 4. Download the artifact as a separate step and verify a publisher-provided cryptographic signature or checksum before execution. 5. Publish checksums through an independently protected release channel and fail closed if verification does not succeed. 6. Require explicit user approval before installing software or running any downloaded executable. 7. Display the artifact source, version, expected digest, and intended filesystem changes before installation. 8. Prefer a restricted, non-administrative installation and document any permissions that are genuinely required. 9. Keep installation outside routine Skill execution; when the CLI is unavailable, return a clear error and let the user complete a verified installation manually. 10. If installer scripts remain available, use versioned immutable URLs and retain auditable source and release provenance. ]]>
