T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:58- Finding
Unverified Remote Installation Scripts Executed Directly by Shells
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 58-62
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 retrieve mutable scripts from
cli.oomol.comand immediately execute them using Bash or PowerShell. The instructions do not pin a release, verify a cryptographic signature or checksum, save the script for inspection, or constrain its execution.The domain is consistent with the declared OOMOL author and installing the
ooCLI supports the Skill's functionality. However, piping unverified network content directly into an interpreter is not the minimum privilege or minimum-trust mechanism necessary to install that CLI. The effective code can change after the Skill has been audited.A compromise of the distribution server, DNS infrastructure, release pipeline, or other trusted delivery components could therefore turn these setup commands into arbitrary code execution. The Skill itself contains no embedded malicious script, so the behavior depends on the content returned by the remote service at execution time.
Attack Path
- The
oocommand is unavailable and an agent or user follows the first-time setup instructions. - An attacker compromises the remote installation endpoint or its software delivery pipeline.
- The endpoint returns a modified
install.shorinstall.ps1. bashoriexexecutes the response immediately, without integrity verification or an inspection step.- The payload performs arbitrary actions using the permissions of the account that invoked the command.
Impact Assessment
A successful attack obtains arbitrary command execution with the invoking user's privileges. The result ...[truncated 857 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Replace pipe-to-shell installation with a version-pinned package or release artifact from a documented official distribution channel.
- Download the artifact to disk without executing it automatically.
- Publish a SHA-256 checksum or cryptographic signature through an independently protected channel and verify it before execution.
- Display the resolved version, source URL, checksum, and intended installation location before asking for explicit user approval.
- Run the installer as an unprivileged user unless a specific installation step demonstrably requires elevation.
- If elevated access is necessary, isolate and clearly identify the exact operation requiring it rather than running the entire remote script with elevated privileges.
- Prefer platform package managers with signed metadata and pinned versions where available.
- Document an offline or manual installation procedure so users can inspect the downloaded installer before running it.
- Apply equivalent protections to both the Bash and PowerShell installation paths.
