T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:62
- Finding
- Remote Shell Script Downloaded and Executed Without Integrity Verification## Vulnerability Details **File Location**: `SKILL.md:62` **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High **Complete Code Snippet**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The first-time setup instructions pipe a remotely retrieved installation script directly into Bash. The script is neither version-pinned nor cryptographically verified before execution. Its effective behavior can therefore change after the Skill has been reviewed. Although the URL uses HTTPS and appears associated with the declared OOMOL service, HTTPS alone does not protect against compromise of the publishing account, origin server, CDN, DNS infrastructure, or signing pipeline. The use of `curl -fsSL` also suppresses normal progress and some diagnostic output, while piping prevents meaningful review before execution. Installing the CLI may be necessary for the declared Sage HR integration, but immediate execution of mutable remote content is not the minimum privilege or safest installation method required to achieve that purpose. ### Attack Path 1. The `oo` CLI is absent and an invocation fails with `oo: command not found`. 2. The Agent or user follows the documented first-time setup instruction. 3. An attacker compromises the remote script, its publishing account, delivery infrastructure, or another trusted component in the delivery path. 4. `curl` retrieves the attacker-controlled response. 5. The shell pipe sends the response directly to Bash without signature verification, hash validation, version pinning, or prior inspection. 6. Bash executes the payload with the privileges of the invoking account. ### Impact Assessment Successful exploitation provides arbitrary command execution with the invoking user's privileges. The payload could read or modify accessible files, steal session credentials or application data, install additional softwa ...[truncated 169 chars]
- Remediation
- ## Remediation Suggestions - Do not pipe downloaded content directly into a shell. - Direct users to a version-pinned release from a verified official repository or package manager. - Download the installer as a separate file and verify a vendor-published cryptographic signature or SHA-256 digest before execution. - Display or inspect the verified installer before running it. - Require explicit user approval before installing software. - Run installation with the least-privileged account possible and avoid elevation unless a documented step strictly requires it. - Pin the installer URL and expected digest to an audited release, with a controlled process for updates.
