T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:62
- Finding
- Unverified Remote Installation Scripts Executed Directly by Shells## Vulnerability Details **File Location**: `SKILL.md`, lines 62–66 **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 execute it using Bash or PowerShell. They do not pin an installer version, verify a cryptographic checksum or signature, or provide an opportunity to inspect the downloaded file before execution. Although the URLs use HTTPS and appear associated with the declared OOMOL service, HTTPS alone does not establish the integrity of the scripts over time. A compromise of the hosting infrastructure, distribution account, DNS or TLS trust chain, or the remote scripts themselves could turn these documented commands into arbitrary code-execution channels. The effective code executed by the Skill user can therefore change after this Skill has been reviewed. Installation is presented only as a fallback when `oo` is unavailable, which reduces how frequently the commands may run. However, installing the CLI is not required for every Airbrake action, and immediate execution of an unverified remote script exceeds the minimum privileges and trust necessary to provide installation guidance. ### Attack Path 1. The Agent or user attempts an Airbrake operation and receives an `oo: command not found` error. 2. The first-time setup instructions direct the Agent or user to one of the remote installer commands. 3. An attacker compromises or gains control over the installer content or its delivery path. 4. `curl` or `irm` retrieves the attacker-controlled content without artifact-level integrity verification. 5. The pipeline passes that content directly to Bash or PowerShell. 6. The malicious payload executes w ...[truncated 845 chars]
- Remediation
- ## Remediation Suggestions 1. Remove direct `curl | bash` and `irm | iex` execution patterns. 2. Prefer a trusted operating-system package manager or a version-pinned installer published through an authenticated release channel. 3. If a standalone installer is necessary, download it to a local file without executing it immediately. 4. Pin an explicit release version and publish its expected SHA-256 or stronger cryptographic digest through a separately protected channel. 5. Verify the digest and, where supported, a detached signature from a documented vendor signing key before execution. 6. Allow the installer contents to be reviewed before running them. 7. Execute installation with the least-privileged account possible and request elevation only for narrowly defined operations that require it. 8. Document the exact files, directories, network endpoints, and permissions used by the installer. 9. For automated Agent use, instruct the Agent to report the missing CLI and request explicit user approval rather than automatically downloading and executing installation code.
