T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:59
- Finding
- Unverified Remote Bash Installer Execution<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:59` **Vulnerability Type**: Remote payload retrieval and immediate execution **Risk Level**: High ### Vulnerable Code ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command downloads a mutable script from an external server and pipes it directly into Bash. The remote payload is executed without prior inspection, version pinning, checksum validation, or signature verification. Although `cli.oomol.com` is consistent with the declared OOMOL integration, the project contains no immutable installer reference or integrity information. Consequently, the code executed by this command can differ from the code available when the Skill was audited. Compromise of the hosting service, DNS or TLS trust chain, release process, or installer itself could turn the documented setup command into an arbitrary-code-execution mechanism. Installing software may be a legitimate prerequisite, but executing an unverified remote script exceeds the minimum privileges needed for the Skill's declared read-only Northbeam operations. ### Attack Path 1. The agent attempts to use the Skill on a system where the `oo` CLI is unavailable. 2. The command fails with `oo: command not found`. 3. The agent follows the documented first-time setup instruction. 4. `curl` retrieves the current contents of `https://cli.oomol.com/install.sh`. 5. The downloaded response is passed directly to Bash without integrity verification. 6. A compromised or malicious installer executes with the privileges of the user running the agent. ### Impact Assessment The remote script can execute arbitrary commands with the invoking user's privileges. Depending on those privileges, it could read or modify local files, access credentials available to the process, install additional programs, modify shell configuration, establish persistence, or transmit sensitive data. If invoked from ...[truncated 82 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Replace the pipe-to-shell command with installation through a trusted package manager or a version-pinned release artifact. 2. Download the installer to a local file without executing it immediately. 3. Publish and require verification of a SHA-256 digest or cryptographic signature obtained through an independently protected channel. 4. Pin the installer to an immutable version rather than a mutable `install.sh` URL. 5. Require explicit user approval before installing software or executing any downloaded code. 6. Document the installer's expected files, permissions, network destinations, and system changes. 7. If a script remains necessary, use a safer workflow such as: ```bash curl -fLo install.sh https://cli.oomol.com/releases/<pinned-version>/install.sh echo "<trusted-sha256> install.sh" | sha256sum --check - less install.sh bash install.sh ``` 8. Do not suggest elevated execution unless it is strictly necessary, and clearly identify any operations that require administrative privileges. ]]>
