T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:64- Finding
Unverified Remote Installation Scripts Executed Directly by Shells
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 64–68
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalComplete Code Snippet
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linuxpowershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShellTechnical Analysis
The installation instructions download scripts from external URLs and execute them immediately using
bashor PowerShell'sInvoke-Expressionalias,iex. Neither flow pins a version, verifies a cryptographic checksum or signature, saves the script for inspection, nor confirms its contents with the user before execution.This makes the effective code mutable after the Skill has been reviewed. HTTPS protects the connection in transit but does not protect users if the distribution server, publishing account, installation script, or related infrastructure is compromised. The referenced domain is consistent with the declared OOMOL integration, but that does not eliminate the remote-code-execution and supply-chain risk.
The behavior also exceeds the Skill's declared tool boundary of
allowed-tools: [Bash(oo *)]: installing the CLI requires arbitrary shell or PowerShell execution rather than merely invoking an existingooexecutable. The Skill's core InfoLobby functionality only requires an authenticated connector client; it does not inherently require direct execution of mutable installation scripts.Attack Path
- The
ooexecutable is absent, and an attempted connector operation fails withoo: command not found. - The user or agent follows the first-time setup instructions.
curlorInvoke-RestMethodretrieves the installation script currently served by the external endpoint.- The downloaded response is passed directly to
bashoriexwithout integrity verification or review. - If the endpoint or publishing infrastruct ...[truncated 1073 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove both pipe-to-shell and
Invoke-Expressioninstallation commands from the Skill. - Prefer an official package manager with a version-pinned package and verifiable publisher metadata.
- If script-based installation is unavoidable, download a versioned artifact to a local file rather than executing the response stream directly.
- Publish and verify a cryptographic checksum and, preferably, a signature rooted in a separately distributed trusted key.
- Display or otherwise make the downloaded artifact available for review before execution.
- Require explicit user approval before installing software or executing any installer.
- Keep runtime automation within the declared
Bash(oo *)boundary. If installation is outside that boundary, direct the user to independently reviewed installation documentation rather than having the agent execute it. - Document the expected installer version, source, required privileges, filesystem changes, and rollback procedure. Explicitly warn users not to run the installer with elevated privileges unless strictly required.
- Remove both pipe-to-shell and
