T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:59- Finding
Unverified Remote Installer Download and Immediate Shell Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 59–63
Vulnerability Type: Remote mutable 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 pipe installer content retrieved from remote URLs directly into Bash or PowerShell. The effective code executed on the user's system is not included in the reviewed Skill package and can change after this audit.
Neither installation command pins an installer version nor validates a cryptographic signature or checksum. The downloaded content is also not saved for inspection before execution. Consequently, compromise of the OOMOL distribution infrastructure, its DNS or hosting account, or the installer publication process could cause arbitrary attacker-controlled commands to execute.
Installing the CLI is relevant when the required
oocommand is absent, but immediate execution of an unverified, mutable response is not the minimum-risk installation mechanism. Trust in the HTTPS domain alone does not provide artifact-level provenance or protect against a compromised upstream publisher. The audit did not establish that the current endpoint is malicious; the vulnerability is the unsafe execution mechanism.Attack Path
- The user or agent attempts to invoke
ooand receives anoo: command not founderror. - The Skill directs the user or agent to one of the remote installation commands.
- An attacker compromises or gains control over the installer endpoint, publication pipeline, hosting account, or another trusted delivery component.
- The endpoint supplies a modified shell or PowerShell script.
bashoriexexecutes the response immediately, without artifact inspection, version pinning, checksum va ...[truncated 985 chars]
- The user or agent attempts to invoke
- Remediation
View remediation
Remediation Suggestions
Replace both pipe-to-shell installation instructions with a verifiable installation process:
- Link to a specific, immutable CLI release rather than a mutable installer endpoint.
- Pin the expected CLI version and download the artifact to a local file.
- Publish SHA-256 checksums through an independently protected release channel and verify the downloaded artifact before execution.
- Prefer cryptographic release signatures and verify them against a documented, pinned publisher key.
- Allow the user to inspect the downloaded installer before explicitly executing it.
- Prefer a trusted operating-system package manager where packages are signed and versioned.
- Do not request administrator privileges unless a documented installation step strictly requires them.
- Document the artifact source, expected signer, destination paths, files created, and permissions required.
- Abort installation on any verification failure rather than falling back to unverified execution.
A safer conceptual flow is:
bash curl -fL --output oo-installer.sh "https://trusted.example/releases/v1.0.3/install.sh" echo "EXPECTED_SHA256 oo-installer.sh" | sha256sum --check - less oo-installer.sh bash oo-installer.shThe actual release URL and checksum must come from the official publisher and must be pinned to the intended release.
