T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:62- Finding
Unverified Remote Installation Scripts Are Executed Directly
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:62-71
Vulnerability Type: Remote payload retrieval and immediate execution
Risk Level: HighVulnerable Code Snippet:
markdown - **`oo: command not found`** — install the oo CLI (other platforms: https://cli.oomol.com/install-guide.md): ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ```powershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell ```Technical Analysis
Both installation commands download mutable content from an external server and pass it directly to an interpreter. The Bash command pipes the HTTP response into
bash, while the PowerShell command passes it toInvoke-Expressionthrough theiexalias.The instructions do not pin a release version, verify a cryptographic checksum, validate a signature, or provide an opportunity to inspect the downloaded script before execution. Consequently, the effective code executed by the Skill can change after the reviewed
SKILL.mdfile is published.Installing a required CLI can be legitimate, but immediate execution of unverified network content exceeds the minimum privilege and trust needed for installation. A package or installer obtained from a pinned, authenticated release would accomplish the same purpose with less supply-chain exposure.
Attack Path
- The
oocommand is absent, causing the documented first-time setup procedure to be used. - An agent or user runs the command supplied by the Skill.
- The system retrieves the current script from
cli.oomol.com. - The response is passed directly to Bash or PowerShell without integrity verification.
- If the hosting infrastructure, publication account, DNS/TLS trust path, or installer itself is compromised, attacker-controlled commands execute under the invoking user's account.
Impact Assessment
A malicious installation response c ...[truncated 648 chars]
- The
- Remediation
View remediation
Remediation Suggestions
-
Remove the
curl | bashandirm | iexinstallation patterns. -
Direct users to a version-pinned release from an authenticated official repository or platform package manager.
-
Download the installer to a local file without executing it automatically.
-
Publish a SHA-256 or stronger checksum over a separately authenticated channel and verify it before execution.
-
Sign releases and require signature verification, such as Authenticode verification for Windows artifacts and an appropriate detached signature mechanism for Unix artifacts.
-
Display the resolved version and source to the user and require explicit approval before installation.
-
Run installation with ordinary user privileges unless a specific installation operation demonstrably requires elevation.
-
Prefer instructions equivalent to:
bash curl -fSLo oo-install.sh "https://trusted.example/releases/vX.Y.Z/install.sh" echo "EXPECTED_SHA256 oo-install.sh" | sha256sum --check less oo-install.sh bash oo-install.sh
The actual URL, version, and checksum must come from an authenticated official release and must not use an unpinned mutable endpoint.
-
