T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:54- Finding
Unverified Remote Installer Downloaded and Executed by Shell
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 54-64
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 documented installation commands retrieve mutable scripts from an external server and immediately execute them using Bash or PowerShell. Neither command pins the installer to a reviewed version nor verifies a cryptographic signature or checksum before execution. The effective code executed on a user's system can therefore change after this Skill has been audited.
Although these commands are presented as conditional first-time setup instructions and use a domain represented as official OOMOL infrastructure, transport-layer encryption alone does not establish the integrity of the script publisher or protect against compromise of the distribution server, publishing process, domain, or trusted TLS infrastructure. The PowerShell
Invoke-Expressionpattern introduces the same fundamental risk as pipingcurloutput directly to Bash.Installing the CLI may be relevant to the declared connector functionality, but immediate execution of unverified network content exceeds the minimum privilege necessary to provide installation guidance. A safer installation flow can download a version-pinned artifact, authenticate it, and require explicit approval before local execution.
Attack Path
- The
oocommand is unavailable, causing the user or Agent to consult the first-time setup instructions. - An attacker compromises the installer host, its publishing pipeline, the served installer, or another relevant trust-chain component.
- The attacker replaces or modifies
install.shorinstall.ps1with arbitrary commands. - The documented command downloads the ...[truncated 1062 chars]
- The
- Remediation
View remediation
Remediation Suggestions
-
Remove the direct
curl | bashandInvoke-RestMethod | Invoke-Expressioninstallation patterns. -
Prefer a trusted platform package manager or an official, version-pinned release artifact.
-
Download the installer or binary to a local file without executing it automatically.
-
Publish a cryptographic signature or checksum through an independently protected channel and verify it before execution.
-
Pin the expected version and artifact URL so that reviewed instructions do not silently execute a different future payload.
-
Display the resolved source, version, checksum, and intended changes to the user.
-
Require explicit user approval before installation; the Agent should not install software automatically after a command failure.
-
Run installation with ordinary user privileges unless a specific, documented operation requires elevation.
-
If a script-based installer must be retained, provide instructions similar to:
bash curl -fL -o oo-install.sh "https://trusted.example/releases/VERSION/install.sh" echo "EXPECTED_SHA256 oo-install.sh" | sha256sum --check less oo-install.sh bash oo-install.shThe release URL and checksum must correspond to an immutable, authenticated release and must not use placeholders in production instructions.
-
