T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:61- Finding
Unverified Remote Installer Download and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 61 and 65
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 remotely hosted installation scripts and pass their responses directly to Bash or PowerShell. Neither command pins an installer version nor verifies a cryptographic signature or checksum before execution.
HTTPS protects the connection in transit but does not establish that the current server-side script is identical to the artifact that was reviewed. The effective payload can change after this Skill is audited. Compromise of the hosting account, domain, delivery infrastructure, or installer publishing pipeline could therefore turn these documented setup commands into an arbitrary-code-execution channel.
Installing the
ooCLI is relevant when the required tool is absent, and the document limits this operation to first-time setup after a command-not-found failure. Nevertheless, immediate execution of an unverified network response exceeds the minimum privilege and trust necessary to install a CLI. A pinned and independently verified package would provide the required functionality with substantially less risk.Attack Path
- A user or agent attempts to use the Skill on a system without the
ooCLI. - The action fails with an
oo: command not founderror. - Following
SKILL.md, the user or agent invokes the applicable installation command. - The command retrieves the current response from
cli.oomol.com. - Bash or PowerShell executes that response immediately, without local review, version pinning, checksum validation, or signature verification.
- If the remote source or delivery chain has been compromised, attacker-controlle ...[truncated 842 chars]
- A user or agent attempts to use the Skill on a system without the
- Remediation
View remediation
Remediation Suggestions
- Remove all direct pipe-to-shell and download-to-
Invoke-Expressioninstallation instructions. - Distribute the CLI through a trusted package manager or a versioned official release.
- Pin the installer or package to a specific immutable version.
- Publish a SHA-256 checksum and, preferably, a cryptographic signature for each release.
- Require users to download the artifact to a local file and verify its checksum or signature before execution.
- Document the files, permissions, and system changes made by the installer.
- Recommend installation under an unprivileged account and explicitly discourage
sudo, administrator shells, or elevation unless a documented operation strictly requires it. - If an installer script remains necessary, use a pattern such as:
bash curl -fSLo oo-install.sh "https://example.invalid/releases/vX.Y.Z/install.sh" echo "<trusted-sha256> oo-install.sh" | sha256sum --check less oo-install.sh bash oo-install.sh- Provide an equivalent pinned download, signature verification, and separate execution process for Windows rather than using
irm ... | iex.
- Remove all direct pipe-to-shell and download-to-
