T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:64
- Finding
- Unverified Remote Installer Downloaded and Executed Directly## Vulnerability Details **File Location**: `SKILL.md`, lines 64–68 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ```powershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell ``` ### Technical Analysis The first-time setup instructions download mutable scripts from `cli.oomol.com` and immediately execute them using Bash or PowerShell. Neither command pins a specific installer version nor verifies a cryptographic checksum or digital signature before execution. Although installing the `oo` CLI supports the Skill's declared functionality, direct pipe-to-shell execution is not the minimum-risk installation mechanism. The effective code can change after the Skill has been audited. Consequently, trust is transferred to the remote host, its deployment pipeline, DNS resolution, the TLS trust chain, and the integrity of every infrastructure component involved in delivering the installer. The document limits installation to cases where the CLI is missing, which reduces how frequently this path is used, but it does not mitigate the unverified execution risk. ### Attack Path 1. The `oo` command is unavailable, causing the Agent or user to follow the first-time setup instructions. 2. An attacker compromises the installer host, release pipeline, or another component capable of modifying the remotely served script. 3. The installer URL returns attacker-controlled shell or PowerShell code. 4. `bash` or `iex` executes the response immediately, without prior review or integrity verification. 5. The payload performs arbitrary actions with the privileges of the user or Agent process that launched the command. ### Impact Assessment A successful exploit could provide arbitrary code execution under the invoking account. Depending on that account's permissions and the host configuration, a ...[truncated 820 chars]
- Remediation
- ## Remediation Suggestions 1. Remove the direct `curl | bash` and `irm | iex` installation patterns. 2. Prefer a trusted operating-system package manager or an officially signed, version-pinned release package. 3. If a standalone installer is required: - Download it to a local file without executing it. - Pin the installer to a specific immutable release. - Obtain a published checksum through a separately protected channel. - Verify the checksum and, preferably, a platform-appropriate digital signature. - Abort installation if verification fails. - Execute the verified file without elevated privileges unless elevation is explicitly required and justified. 4. Document the files, directories, network endpoints, and permissions used by the installer so users can assess its effects before execution. 5. Keep installation an explicit, user-approved action rather than allowing an Agent to execute it automatically. 6. Advise users not to include secrets in connector action payloads unless required by the intended LangSmith operation.
