T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:66- Finding
Unverified Remote Installer Scripts Executed Directly by a Shell
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 66–70
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 installation instructions pipe content retrieved from mutable remote URLs directly into local command interpreters. Neither command pins a particular installer version, verifies a cryptographic checksum or signature, nor gives the user an opportunity to inspect the downloaded content before execution.
Although the scripts are hosted on an OOMOL domain consistent with the declared CLI provider and are only presented as first-time setup instructions, executing network-delivered code is not the minimum privilege or safest mechanism required to install the CLI. The effective installer payload can change after the Skill has been reviewed.
On macOS and Linux,
curlpasses the server response directly tobash. On Windows,Invoke-RestMethod(irm) supplies the response toInvoke-Expression(iex). Consequently, any commands returned by the remote endpoint are immediately interpreted with the privileges of the user running the installation command.Attack Path
- A user attempts to invoke the Skill without the
ooCLI installed. - The documented fallback directs the user to execute one of the remote installation commands.
- An attacker compromises the installer hosting infrastructure, authorized publishing process, domain, or another trusted delivery component.
- The affected endpoint serves a modified shell or PowerShell script.
bashorInvoke-Expressionexecutes the modified response immediately without integrity validation.- The payload performs arbitrary actions available to the invoking user, potentially including credentia ...[truncated 853 chars]
- A user attempts to invoke the Skill without the
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | bashandirm | iexinstallation patterns. - Direct users to a version-pinned release artifact hosted on the official release repository or to a trusted operating-system package manager.
- Publish SHA-256 checksums and cryptographic signatures through an independently protected channel.
- Require users to download the installer to a local file, verify its checksum and signature, and inspect it before execution.
- Pin the documented download to a specific immutable CLI version rather than a mutable
install.shorinstall.ps1endpoint. - Execute installation with ordinary user privileges wherever possible and clearly warn users not to elevate privileges unless a documented installation step strictly requires it.
- If a bootstrap installer remains necessary, make it a minimal, auditable script that retrieves only signed artifacts and fails closed when signature or checksum verification fails.
- Document the destination paths, files created, permissions requested, and network endpoints contacted by the installer.
- Remove the
