T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:55
- Finding
- Unverified Remote Installation Scripts Executed Directly by Shells<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 55–59 **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 Both installation commands retrieve mutable executable content from `cli.oomol.com` and immediately pass it to a command interpreter. The downloaded scripts are not pinned to an immutable release, saved for inspection, checked against a cryptographic hash, or verified with a publisher signature. HTTPS protects the connection in transit, but it does not eliminate risks from compromise of the hosting server, publishing account, DNS infrastructure, or release pipeline. Because the retrieved content can change after this Skill has been reviewed, the commands constitute a remote payload execution channel. Installing a CLI may be relevant to the declared Formspree functionality, but executing an unreviewed remote script is not the minimum privilege or safest installation mechanism required to provide that functionality. ### Attack Path 1. The `oo` command is unavailable, causing the first-time setup instructions to apply. 2. The user or Agent runs the documented Bash or PowerShell installation command. 3. The remote host, its publishing infrastructure, or an associated account serves modified script content. 4. The pipeline sends that content directly to Bash or PowerShell without an intermediate verification step. 5. The script executes arbitrary commands with all permissions available to the invoking account. 6. The payload can access local data, alter user configuration, install additional software, or establish persistence, subject to the invoking account's permissions and any elevation subsequently requested by the installer. ### Impact Assessment Successful exploitation pr ...[truncated 553 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove all `curl | bash` and `Invoke-RestMethod | Invoke-Expression` installation instructions. 2. Direct users to a documented, trusted package manager or an immutable release artifact. 3. Pin the CLI to a specific version rather than retrieving the latest mutable installer. 4. Download the installer or package without executing it automatically. 5. Publish and require verification of a cryptographic signature or a SHA-256 checksum obtained through a separately protected channel. 6. Allow the user to inspect the downloaded artifact before execution. 7. Run installation with ordinary user privileges wherever possible, and clearly document any operation that requires elevation. 8. Prefer instructions resembling the following safe sequence: - Download a versioned artifact. - Verify its publisher signature and expected digest. - Inspect or unpack it in a controlled location. - Execute it only after verification succeeds. ]]>
