T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:70- Finding
Unverified Remote Installation Scripts Are Executed Directly by Shells
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 70–74
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Criticalbash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linuxpowershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShellTechnical Analysis
The first-time setup instructions download mutable scripts from
cli.oomol.comand immediately execute them using Bash or PowerShell. The instructions do not pin a release, verify a cryptographic checksum or publisher signature, or provide an inspection step before execution.HTTPS protects the network connection under normal circumstances, but it does not establish payload immutability or protect users if the distribution server, DNS infrastructure, hosting account, certificate issuance process, or release pipeline is compromised. Because the retrieved content is not part of the audited project, its behavior can change after this Skill has been reviewed.
Installing the CLI is relevant when the required command is absent. However, direct pipe-to-shell execution exceeds the minimum privileges and trust required for installation. A versioned package or separately downloaded and verified artifact would provide the same functionality with a substantially smaller supply-chain risk.
Attack Path
- The
oocommand is unavailable, or an error leads the Agent to enter the documented first-time setup path. - The Agent executes the command appropriate to the operating system.
- Bash or PowerShell retrieves the current script from the remote OOMOL endpoint.
- The downloaded response is passed directly to the local shell without integrity or authenticity verification.
- If the endpoint or delivery chain is compromised, attacker-controlled commands execute with the privileges of the user running the Agent.
- Those commands may access user-readable files and credentials, ...[truncated 758 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove both direct download-and-execute commands.
- Prefer a trusted operating-system package manager or an official package repository with package-signing enforcement.
- Pin the CLI to a specific reviewed version rather than retrieving an unversioned installation script.
- Download the artifact to a local file as a separate step and do not execute it automatically.
- Publish and verify a pinned SHA-256 checksum and, preferably, a cryptographic signature tied to a documented publisher key.
- Fail closed if signature or checksum verification fails.
- Allow the user to inspect and explicitly approve the downloaded installer before execution.
- Run installation without administrative privileges unless a narrowly defined installation step genuinely requires elevation.
- Document the files, permissions, and network endpoints used by the installer.
- Keep setup conditional on an actual missing-command error, and require explicit user confirmation before installing software.
