T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:57
- Finding
- Unverified Remote Shell Script Execution<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, line 57 **Vulnerability Type**: Remote payload retrieval and immediate shell execution **Risk Level**: Critical ### Vulnerable Code ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction downloads a mutable script from an external URL and pipes it directly into Bash. The downloaded content is not pinned to a version, verified against a cryptographic checksum, or authenticated with a code-signing signature before execution. Although HTTPS protects the connection in transit, it does not guarantee that the remote script remains unchanged after the Skill has been audited. This behavior creates a remote code-execution channel controlled by the content served from `cli.oomol.com`. Executing an installer can be necessary for first-time setup, but direct `curl | bash` execution exceeds the minimum safe privileges and trust required for the declared IP lookup functionality. The Skill itself only needs access to the `oo` connector command; it does not inherently require arbitrary, unverified code to be executed on the host. ### Attack Path 1. The `oo` command is unavailable, causing the documented first-time setup condition to occur. 2. A user or agent follows the installation instruction in `SKILL.md`. 3. The system downloads the current content of `https://cli.oomol.com/install.sh`. 4. The remote service, its publishing account, DNS path, or release infrastructure has been compromised, or the hosted script has otherwise been maliciously modified. 5. Bash immediately executes the downloaded content without inspection or integrity verification. 6. The payload performs arbitrary actions using the privileges of the user who invoked the command. ### Impact Assessment A malicious installer could execute arbitrary commands with the invoking user's privileges. Depending on those privileges and the local environment, this could ...[truncated 609 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Remove the direct `curl | bash` installation pattern. - Direct users to a versioned release artifact from an official, authenticated release channel. - Pin the installer to a specific version and publish a cryptographic SHA-256 or stronger checksum through a separately protected channel. - Require users to download the artifact first, verify its checksum and code-signing signature, inspect it where practical, and only then execute it. - Prefer a reputable platform package manager that supports signed metadata and version pinning. - Avoid automatically installing the CLI from the Skill. If the dependency is missing, stop and ask the user to complete the verified installation process explicitly. - Document the files, network access, and permissions required by the installer so users can evaluate whether they are proportionate. ]]>
