T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:61
- Finding
- Unverified Remote Bash Installer Execution<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:61` **Vulnerability Type**: Remote payload retrieval and execution through `curl | bash` **Risk Level**: Critical ### Vulnerable Code ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The first-time setup instructions download a mutable shell script from `https://cli.oomol.com/install.sh` and pipe the response directly into Bash. The downloaded content is neither pinned to a specific release nor validated using a cryptographic signature or checksum before execution. Consequently, the code actually executed can change after the Skill has been reviewed. Compromise of the installer publishing account, origin server, delivery infrastructure, DNS, or TLS trust chain could turn this installation command into an arbitrary-code execution channel. The OOMOL-branded domain does not eliminate this supply-chain risk. Installing the required CLI can be necessary for the declared Leadfeeder integration, and the instructions appropriately make setup conditional on an actual `command not found` failure. However, immediate execution of an unverified network response exceeds the minimum privilege and trust necessary to install that CLI. ### Attack Path 1. The `oo` CLI is absent, and an attempted connector operation fails with `oo: command not found`. 2. A user or agent follows the documented first-time setup procedure. 3. `curl` retrieves the current contents of `https://cli.oomol.com/install.sh`. 4. An attacker who has compromised the script or its delivery path supplies modified shell commands. 5. Bash executes the response immediately, without integrity verification or review. 6. The payload runs with all privileges available to the invoking user and may perform further network or local-system operations. ### Impact Assessment Successful exploitation permits arbitrary command execution with the invoking user's privileges. Depending on those privilege ...[truncated 581 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove the `curl | bash` installation pattern. 2. Pin installation instructions to a specific, versioned CLI release. 3. Download the installer or package to disk without executing it: ```bash curl -fL -o oo-installer.sh "https://example.invalid/releases/<version>/install.sh" ``` 4. Publish a cryptographic digest or signed release manifest through a separately protected channel. 5. Verify the signature and pinned digest before execution. 6. Allow users to inspect the downloaded installer before running it. 7. Prefer a trusted package manager or signed native package where available. 8. Run installation without elevated privileges unless the documented installation target strictly requires elevation. 9. Document the expected files, directories, and permissions modified by installation. ]]>
