T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:65
- Finding
- Unverified Remote Installation Scripts Executed Directly by Shells## Vulnerability Details **File Location**: `SKILL.md`, lines 65-69 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ```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 download mutable content from external URLs and immediately interpret it with Bash or PowerShell. Neither command pins a specific release nor verifies a cryptographic checksum or signature before execution. Consequently, the code that executes can differ from the content available when the Skill was audited. HTTPS protects the connection in transit but does not make the remote payload immutable and does not mitigate compromise of the hosting service, deployment infrastructure, DNS/account controls, or installer publishing process. The PowerShell `Invoke-Expression` (`iex`) pattern and the Bash pipe both provide the downloaded response with a general-purpose code-execution channel. Installing the `oo` CLI is relevant to the declared Aimfox functionality, but direct, unrestricted shell execution exceeds the minimum privileges necessary to obtain a known CLI release. A verified, version-pinned package or binary would provide a narrower and auditable installation path. ### Attack Path 1. The `oo` command is unavailable, causing the documented first-time setup condition to apply. 2. The user or agent runs the provided Bash or PowerShell installation command. 3. The command retrieves the current response from the OOMOL installation endpoint. 4. The response is passed directly to `bash` or `iex` without inspection, version pinning, checksum validation, or signature verification. 5. If the endpoint or its publishing infrastructure serves a modified payload, that payload executes immediately with the permissions of the invoking process. 6. The payload ...[truncated 821 chars]
- Remediation
- ## Remediation Suggestions 1. Remove all pipe-to-shell and download-to-`Invoke-Expression` installation instructions. 2. Pin installation instructions to a specific, immutable CLI version from the official release repository. 3. Download the installer, package, or binary to a local file without executing it automatically. 4. Publish a cryptographic SHA-256 or stronger checksum through an independently protected channel and verify it before installation. 5. Prefer signed packages or binaries and verify the publisher signature using a pinned, documented public key. 6. Show the resolved version, source URL, checksum result, and intended installation location before requesting explicit user approval. 7. Run installation without elevated privileges unless a clearly documented operation strictly requires elevation. 8. Where supported, use a trusted platform package manager with version pinning and signature verification instead of a general-purpose shell script.
