T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:67
- Finding
- Unverified Remote Installer Download and Immediate Execution## Vulnerability Details **File Location**: `SKILL.md`, lines 67–71 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High The first-time setup instructions download mutable installation scripts from an external server and execute them immediately: ```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 Both installation commands connect an external network response directly to a command interpreter. The downloaded payload is not pinned to a specific version and is not verified using a hard-coded cryptographic checksum or publisher signature. It is also not saved for inspection before execution. HTTPS provides transport security but does not establish that the mutable installer remains safe following this audit. Compromise of the hosting infrastructure, DNS, CDN, publishing account, TLS endpoint, or installer-generation process could replace the expected installer with attacker-controlled code. Because the external response becomes executable shell or PowerShell input, such a compromise results in arbitrary local code execution. This installation behavior exceeds the minimum privileges required to document or invoke the Tremendous connector. Although installation may be necessary when the CLI is absent, immediate execution of unverified remote content is not necessary; a pinned and independently verified release can be installed instead. ### Attack Path 1. An attacker compromises or otherwise gains control over `https://cli.oomol.com/install.sh`, `https://cli.oomol.com/install.ps1`, or supporting delivery infrastructure. 2. The attacker replaces the legitimate installer response with a malicious shell or PowerShell payload. 3. The `oo` command is unavailable, causing a user or Agent to follow the documented first-time setup instructions. 4. `curl` ...[truncated 985 chars]
- Remediation
- ## Remediation Suggestions - Remove both direct execution patterns: `curl | bash` and `irm | iex`. - Distribute the CLI through a trusted package manager or a signed, versioned release artifact from an authoritative repository. - Pin installation instructions to an explicit CLI version rather than a mutable installer endpoint. - Download the artifact to disk without executing it automatically. - Publish a SHA-256 digest through an independently protected release channel and require verification against a hard-coded expected value. - Verify a platform-appropriate publisher signature in addition to the checksum where available. - Abort installation if any checksum, signature, version, or publisher verification fails. - Present the verified artifact and intended installation effects to the user, then require explicit approval before execution. - Avoid requesting administrator or root privileges unless a documented installation step strictly requires them. - Prefer user-scoped installation with narrowly limited filesystem permissions. - Document the files, binaries, and configuration entries created by the installer so users can assess its effects and remove it safely.
