T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:58- Finding
Unverified Remote Installer Download and Immediate Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 58-62
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalVulnerable 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 setup instructions pipe a remotely retrieved installer directly into Bash and use
Invoke-Expressionto execute a remotely retrieved PowerShell script. The downloaded content is executed without pinning an immutable release, verifying a cryptographic signature or checksum, or providing an opportunity to inspect the script.Although installing the
ooCLI is relevant when the required command is unavailable, immediate execution of mutable remote content is not the minimum safe installation mechanism. HTTPS only protects the connection in transit; it does not mitigate compromise of the hosting service, publication account, infrastructure, or installer itself. The effective payload can also change after this Skill has been audited.Attack Path
- A user or agent attempts to use the Skill on a system where the
oocommand is unavailable. - The Skill directs the user or agent to retrieve an installer from
cli.oomol.com. - An attacker compromises the remote installer, its hosting infrastructure, or an authorized publishing mechanism.
- The server returns attacker-controlled shell or PowerShell code.
- The pipeline passes the response directly to Bash or
Invoke-Expression, with no integrity verification or review. - The malicious payload executes with the privileges of the user running the installation command.
Impact Assessment
A compromised installer could execute arbitrary commands with the invoking user's privileges. This could expose files and locally accessible credentials, modify user configuration, install additional ...[truncated 304 chars]
- A user or agent attempts to use the Skill on a system where the
- Remediation
View remediation
Remediation Suggestions
Replace both direct-execution patterns with a verifiable installation process:
- Link to an immutable, version-pinned release artifact from the official distribution repository.
- Download the installer or binary to a local file rather than piping the response into a shell.
- Publish and require verification of a SHA-256 checksum or, preferably, a cryptographic signature backed by a documented trusted key.
- Abort installation if verification fails.
- Allow the downloaded installer to be inspected before execution.
- Prefer a signed operating-system package or trusted package manager where available.
- Run installation with ordinary user privileges unless a specific installation step demonstrably requires elevation.
- Document the expected installer behavior, destination paths, files created, and permissions requested.
A safer conceptual workflow is: download a pinned artifact, verify its signature or checksum against an independently published value, and execute it only after successful verification.
