T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:61
- Finding
- Unverified Remote Installer Executed Through Bash## Vulnerability Details **File Location**: `SKILL.md`, line 61 **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 instruction pipes a mutable remote response directly into Bash. The payload is neither pinned to a specific release nor verified with a cryptographic checksum or publisher signature. It also cannot be inspected before execution. HTTPS protects the connection in transit but does not establish that every future script served by the endpoint is safe. Compromise of the hosting infrastructure, publishing account, or installer supply chain could change the effective payload after the Skill has been reviewed. The fallback instruction therefore establishes an arbitrary code-execution channel outside the audited package. Although installation is relevant when the required CLI is absent, immediate execution of unverified remote code exceeds the minimum privilege necessary to explain or facilitate installation. Installation should also require explicit user authorization because it can make system-level changes. ### Attack Path 1. The `oo` CLI is unavailable and an invocation fails with `oo: command not found`. 2. The agent or user follows the documented first-time setup instruction. 3. `curl` retrieves the current contents of `https://cli.oomol.com/install.sh`. 4. The response is passed directly to Bash without local inspection or integrity verification. 5. If the remote endpoint or release process has been compromised, attacker-controlled shell commands execute with the privileges of the account running the command. ### Impact Assessment Successful exploitation grants arbitrary command execution under the invoking user's privileges. The payload could read accessible files and credentials, alter project or user configuration, inst ...[truncated 175 chars]
- Remediation
- ## Remediation Suggestions - Do not pipe downloaded content directly into a shell. - Pin installation to a specific, reviewed CLI release from an authenticated official release channel. - Download the installer or binary to a local file without executing it. - Verify a documented SHA-256 digest and, preferably, a publisher signature before execution. - Allow the user to inspect the downloaded artifact and describe the expected filesystem and configuration changes. - Require explicit user approval immediately before installation. - Run installation with the least-privileged account possible and avoid privilege elevation unless a specific, explained step requires it. - Prefer a trusted operating-system package manager or signed package with version pinning where available.
