T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:59
- Finding
- Unverified Remote Shell Installer Execution on macOS and Linux## Vulnerability Details **File Location**: `SKILL.md`, line 59 **Vulnerability Type**: Remote payload retrieval and immediate execution **Risk Level**: High **Complete Code Snippet**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction pipes a remotely downloaded script directly into Bash. The effective executable content is controlled by the remote endpoint and can change after the Skill has been reviewed. No fixed release version, cryptographic checksum, or publisher signature is verified before execution, and the pipeline prevents meaningful inspection prior to execution. Although installing the `oo` CLI supports the declared Oomnitza connector functionality, immediate execution of mutable remote content is not the minimum privilege or safest mechanism necessary to perform that installation. Trust in the named HTTPS domain alone does not mitigate compromise of its hosting account, distribution infrastructure, DNS, CDN, TLS termination, or release process. ### Attack Path 1. An attacker compromises, gains unauthorized publishing access to, or otherwise controls the content returned by `https://cli.oomol.com/install.sh`. 2. The attacker modifies the installer to include arbitrary shell commands. 3. A user or agent encounters the documented `oo: command not found` condition and follows the installation instruction. 4. `curl` retrieves the attacker-controlled response and pipes it directly to Bash without integrity verification. 5. Bash executes the payload with the privileges of the invoking account. ### Impact Assessment Successful exploitation permits arbitrary command execution under the invoking user's privileges. The payload could read or modify files accessible to that account, access locally available credentials or session material, install additional software, tamper with development tooling, or attempt persistence and privileg ...[truncated 151 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation pattern. - Direct users to a versioned release artifact from an authenticated release channel. - Pin a specific reviewed CLI version rather than retrieving a mutable installer. - Download the artifact as a separate step and verify a hard-coded cryptographic checksum and, where available, a publisher signature before execution. - Require explicit user approval before executing the verified installer. - Prefer a trusted operating-system package manager with signed packages and version pinning. - Document the expected files, permissions, and installation effects so users can assess the requested access.
