T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:67- Finding
Unverified Remote Installation Scripts Are Executed Directly
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 67–71
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighVulnerable Code
bash 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 through Bash or PowerShell. The downloaded content is not pinned to a reviewed version and is not checked against a cryptographic hash or signature before execution.Although installation is documented as a fallback used only when the
ooCLI is missing, direct execution is not the minimum privilege or safest mechanism necessary to install a command-line utility. The effective code can change after this Skill has been reviewed. Compromise of the distribution server, publishing process, DNS/TLS environment, or remote scripts could therefore turn the documented setup procedure into arbitrary code execution.The audit did not establish that the current remote scripts are malicious. The vulnerability is the trust model and unverified execution mechanism itself.
Attack Path
- The
oocommand is unavailable, causing the Agent or user to follow the first-time setup instructions. - An attacker compromises the remote installation script, its publishing infrastructure, or the network trust path.
curlorInvoke-RestMethodretrieves attacker-controlled script content.- The shell pipe or
Invoke-Expressionexecutes that content immediately, without an inspection or integrity-verification step. - The payload runs with the privileges of the user executing the installation command.
Impact Assessment
Successful exploitation provides arbitrary code execution under the installing user's account. The payload could read or alter files accessible to that account, steal locally av ...[truncated 787 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove both direct download-to-shell patterns.
- Distribute the CLI through a trusted platform package manager or a pinned release hosted in an auditable official repository.
- Download the installer or binary to disk without executing it automatically.
- Pin an explicit version rather than using a mutable generic installation URL.
- Publish and verify a cryptographic checksum and, preferably, a signed release before execution.
- Present the resolved source, version, checksum, and intended filesystem changes to the user.
- Require explicit user approval before installing or executing downloaded software.
- Run installation with ordinary user privileges unless a specific, documented operation strictly requires elevation.
- Provide manual installation commands that separate download, verification, inspection, and execution into distinct steps.
