T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:55- Finding
Unverified Remote Installer Download and Immediate Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 55–59
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 first-time setup instructions download mutable scripts from
cli.oomol.comand pass them directly to a command interpreter. Neither installation path pins a script or CLI version, verifies a cryptographic checksum, validates a publisher signature, nor provides an opportunity to inspect the downloaded content before execution.HTTPS protects the connection in transit under normal conditions, but it does not ensure that the remotely hosted script remains safe. Compromise of the hosting account, web server, release pipeline, domain, DNS resolution, certificate trust chain, or another delivery component could cause the same documented command to execute attacker-controlled code.
Installing the CLI may be relevant to the Skill's operation, but immediate execution of an unverified remote script is not the least-privileged or minimum-risk way to satisfy that requirement. The issue applies independently to the Bash and PowerShell commands.
Attack Path
- The
oocommand is unavailable and an attempted connector action fails. - The Agent or user follows the documented first-time installation procedure.
- An attacker who has compromised or can manipulate the installer delivery path serves modified shell or PowerShell content.
curl | bashorirm | iexpasses the response directly to the local interpreter.- The malicious content executes with the privileges of the Agent or user running the command.
- The payload can access files and credentials available to that account, alter the environment, establish persistence, or retrieve and exe ...[truncated 613 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove both pipe-to-interpreter installation commands from Agent-executable instructions.
- Prefer a reputable platform package manager and pin an exact CLI version.
- If direct download is unavoidable, use a version-specific HTTPS URL rather than a mutable generic installer.
- Publish and pin a cryptographic checksum through an independently protected channel, then verify it before execution.
- Verify a platform-appropriate publisher signature or signed release manifest.
- Download the installer to a local file rather than piping it directly into Bash or PowerShell.
- Present the source, version, expected digest, destination, and requested permissions to the user, and require explicit approval before execution.
- Run installation without administrative privileges unless a documented component strictly requires elevation.
- Document the files, network endpoints, and persistent changes created by the installer.
- Fail safely if integrity or signature verification does not succeed; never fall back to executing unverified content.
