T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:56
- Finding
- Unverified Remote Installer Downloaded and Executed Directly<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 56–66 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ### Vulnerable Code ```markdown - **`oo: command not found`** — install the oo CLI (other platforms: <https://cli.oomol.com/install-guide.md>): ```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 retrieve mutable content from an external server and immediately execute it using Bash or PowerShell. No immutable version is selected, and no cryptographic checksum, package signature, or publisher signature is verified before execution. Although HTTPS protects the connection in transit under normal conditions, it does not mitigate compromise of the hosting server, publishing account, DNS infrastructure, CDN, certificate authority, or release pipeline. The effective executable payload can also be changed after this Skill has been reviewed. Executing the response directly prevents meaningful inspection and grants the downloaded script all privileges held by the user running the command. Installing a CLI is relevant to the declared functionality, but arbitrary unverified remote execution exceeds the minimum privileges required for read-only CallRail access. ### Attack Path 1. The agent attempts to use the `oo` CLI and receives an `oo: command not found` error. 2. The Skill directs the agent or user to retrieve an installation script from `cli.oomol.com`. 3. An attacker compromises or gains control of the remote script, hosting infrastructure, publishing account, or delivery path. 4. The `curl | bash` or `irm | iex` pipeline passes the attacker-controlled response directly to a command interpreter. 5. The malicious payload executes with the current user's privileges without integrity verification. 6. The payl ...[truncated 726 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove all pipe-to-interpreter installation commands, including both `curl | bash` and `irm | iex`. 2. Direct users to a documented installation page rather than allowing the agent to execute an installer automatically. 3. Pin installation instructions to a specific, immutable CLI release and exact artifact. 4. Download the artifact to disk as a separate step so it can be inspected before execution. 5. Publish and verify a cryptographic checksum from an independently protected channel. 6. Require verification of a trusted publisher or package signature before installation. 7. Prefer a reputable operating-system package manager with package signing and version pinning. 8. Require explicit user approval before executing any installer, and clearly state the permissions it requires. 9. Run installation with standard-user privileges unless elevated privileges are demonstrably necessary. ]]>
