T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:74- Finding
Unverified Remote Installation Scripts Executed Directly by Shells
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 74–78
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 pipe remotely retrieved content directly into Bash or PowerShell. The payload is fetched from a mutable external URL and executed without version pinning, cryptographic signature verification, checksum validation, or an opportunity to inspect the downloaded file.
Although the download domain is associated with the declared OOMOL service and installation is only suggested after a command-not-found error, these controls do not establish the integrity of the payload at execution time. Compromise of the hosting service, DNS or delivery infrastructure, publishing account, or installer itself would allow the effective code to change after the Skill has been reviewed.
Direct shell execution is not the minimum privilege necessary to explain how to install a prerequisite. A safer installation workflow can download a fixed release artifact, authenticate its provenance, and require explicit approval before execution.
Attack Path
- The
oocommand is unavailable, causing the agent or user to consult the first-time setup instructions. - An attacker compromises the installer endpoint, its publishing process, or another part of the delivery chain.
- The attacker replaces the remotely served installer with a malicious shell or PowerShell payload.
- The documented
curl | bashorirm | iexcommand retrieves the changed payload. - Bash or PowerShell executes it immediately without integrity verification or review.
- The payload performs arbitrary operations using the privileges and accessible resources of the invoking ...[truncated 758 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | bashandirm | iexexecution patterns. - Prefer an operating-system package manager or an official package repository with signed metadata and pinned package versions.
- If a standalone installer is required, reference a version-specific release artifact rather than a mutable generic installation URL.
- Download the artifact to a local file without executing it immediately.
- Publish and verify a cryptographic signature using a trusted, independently distributed signing key. At minimum, verify a release-specific SHA-256 checksum obtained through a separate authenticated channel.
- Allow the downloaded script to be reviewed before execution.
- Require explicit user approval before installing software or executing an installer.
- Run installation with ordinary user privileges unless elevated privileges are demonstrably required, and clearly disclose any requested elevation.
- Document the expected files, directories, network destinations, and configuration changes made by the installer.
- Fail closed if signature or checksum verification fails; do not automatically fall back to unverified execution.
- Remove the direct
