T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:56
- Finding
- Unverified Remote Shell Script Download and Execution## Vulnerability Details **File Location**: `SKILL.md`, line 56 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command pipes the response from an external URL directly into `bash`. The downloaded script is neither pinned to a specific release nor validated using a cryptographic signature or checksum. Its effective content can therefore change after the Skill has been reviewed. HTTPS protects the connection in transit but does not establish the integrity of a particular installer version. Compromise of the hosting service, vendor account, release pipeline, or associated infrastructure could cause arbitrary shell commands to be returned and immediately executed. Installing the required CLI may be necessary for first-time setup, but granting a mutable network response direct shell execution is not necessary. This behavior exceeds the minimum privileges required for the Skill's declared DingTalk connector functionality. ### Attack Path 1. The `oo` CLI is unavailable, causing the user or agent to follow the first-time setup instructions. 2. The command requests `https://cli.oomol.com/install.sh`. 3. The remote endpoint or its software supply chain supplies modified installer content. 4. `curl` sends that content directly to `bash` without local review or integrity validation. 5. The payload executes with the privileges of the user running the command. ### Impact Assessment A compromised installer could execute arbitrary commands with the invoking user's privileges. Depending on those privileges and the local environment, it could read or modify user files, access environment variables and locally available credentials, install additional software, alter shell configuration, or establish persistence. The reviewed file does not demonstrate that the current remot ...[truncated 158 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` installation command. - Prefer an official operating-system package manager or a versioned release artifact. - Pin installation instructions to a specific CLI version. - Download the installer or binary to a local file before use rather than executing the network response directly. - Publish and verify a cryptographic checksum or digital signature from an independently authenticated channel. - Allow the user to inspect the downloaded installer before explicitly running it. - Do not let an agent automatically install the CLI; require informed user approval for software installation. - Run installation with ordinary user privileges unless elevated privileges are explicitly required and justified.
