T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:151
- Finding
- Unverified Remote Installation Scripts Are Executed Directly<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 151-155 **Vulnerability Type**: Remote payload retrieval and immediate 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 The setup instructions retrieve mutable scripts from an external server and pass their contents directly to Bash or PowerShell. Neither command pins a version, verifies a cryptographic checksum or signature, nor gives the user an opportunity to inspect the downloaded payload before execution. Although installation is conditional on the `oo` command being unavailable and the scripts come from the declared vendor domain, executing network responses directly in a shell is not the minimum privilege necessary to install a CLI. The effective code can change after the Skill has been reviewed. No evidence establishes that the current remote scripts are malicious. Nevertheless, compromise of the domain, hosting account, CDN, DNS resolution, TLS termination, or release pipeline could turn these documented commands into an arbitrary-code-execution channel. ### Attack Path 1. The `oo` CLI is absent, causing the agent or user to follow the first-time setup instructions. 2. The installation command requests a mutable script from `cli.oomol.com`. 3. An attacker who has compromised the relevant hosting or distribution infrastructure modifies the remote response. 4. `bash` or `iex` executes the response immediately without integrity verification. 5. The payload runs with the privileges of the user who invoked the installation command. ### Impact Assessment Successful exploitation permits arbitrary command execution under the invoking user's account. Depending on that account's permissions and local configuration, this may expose accessible files, environment variables, authentica ...[truncated 362 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Replace direct remote-to-shell execution with installation from a trusted package manager or a pinned release artifact. 2. Download the installer to a local file without executing it: ```bash curl --fail --show-error --location --output install.sh \ https://example.invalid/releases/oo-cli/VERSION/install.sh ``` 3. Publish and verify a cryptographic checksum or signature before execution. 4. Pin an immutable version rather than using an unversioned `install.sh` or `install.ps1` endpoint. 5. Allow the user to inspect the downloaded artifact and require explicit approval before executing it. 6. Run installation with ordinary user privileges and avoid elevation unless a documented installation step strictly requires it. 7. Document the expected files, network destinations, and system changes made by the installer. ]]>
