T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:57
- Finding
- Unverified Remote Shell Script Execution on macOS and Linux## Vulnerability Details **File Location**: `SKILL.md`, line 57 **Vulnerability Type**: Remote payload retrieval and immediate execution **Risk Level**: High ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command downloads a mutable script from an external URL and pipes it directly into Bash. It does not pin a release, verify a cryptographic signature or checksum, or provide an opportunity to inspect the downloaded content before execution. Installing the `oo` CLI is relevant to the Skill's declared connector functionality, and the domain is consistent with the stated vendor. However, direct remote-to-shell execution exceeds the minimum privileges and trust required for installation. The reviewed repository cannot establish what the endpoint currently returns or guarantee that its content will remain trustworthy. ### Attack Path 1. The `oo` command is unavailable, causing the user or agent to follow the first-time setup instructions. 2. An attacker compromises the vendor endpoint, release pipeline, DNS resolution, hosting environment, or another relevant trust-chain component. 3. The attacker modifies `install.sh` to include arbitrary commands. 4. `curl` retrieves the attacker-controlled response. 5. The pipe sends the response directly to Bash without validation. 6. Bash executes the payload with the privileges of the invoking user. ### Impact Assessment Successful exploitation permits arbitrary command execution under the invoking user's account. The payload could read files and accessible credentials, modify user-owned data and configuration, install additional software, create persistence where permissions allow, or transmit sensitive information over the network. If the command is run from a privileged shell, the impact could extend to system-wide compromise. The repository does not show that these outcomes currently occur; they represen ...[truncated 89 chars]
- Remediation
- ## Remediation Suggestions - Do not pipe downloaded content directly into a shell. - Link to a pinned, versioned release artifact from an official and verifiable source. - Download the artifact to disk without executing it. - Verify a vendor-published cryptographic signature or a securely distributed, pinned SHA-256 checksum before installation. - Prefer a trusted operating-system package manager where signed packages and repository metadata are available. - Display the exact version and source to the user and require explicit approval before installation. - Run installation with ordinary user privileges unless elevated privileges are strictly necessary. - Document how users can inspect the artifact and perform the installation as separate steps.
