T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:52- Finding
Unverified Remote Installation Scripts Executed Directly by Shell Interpreters
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 52–61
Vulnerability Type:T03: Remote Payload Retrieval and Execution
Risk Level: Criticalmarkdown - **`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
The installation instructions retrieve mutable scripts from
cli.oomol.comand immediately pass the responses to Bash or PowerShell. Neither command pins a release version, verifies a cryptographic signature or checksum, nor saves the script for inspection before execution.Although installation is presented as a conditional fallback when the
ooCLI is unavailable, it is not required for ordinary Skill operation when the CLI is already installed. Executing an installation script is also more privileged than the Skill's declared search functionality. The content executed can change after the Skill has been reviewed, making the effective code dependent on the remote server and delivery path at execution time.The audit found no evidence that the current remote scripts are malicious. Nevertheless, compromise of the hosting infrastructure, DNS, account, build pipeline, or script itself could turn these commands into arbitrary code execution. HTTPS reduces network interception risk but does not establish the integrity or immutability of the downloaded payload.
Attack Path
- The user or agent attempts to use the Skill on a system where
oois unavailable. - The documented fallback directs execution of the installation command.
curlorInvoke-RestMethodretrieves a mutable script fromcli.oomol.com.- The response is passed directly to Bash or
Invoke-Expressionwithout integrity verification or revie ...[truncated 998 chars]
- The user or agent attempts to use the Skill on a system where
- Remediation
View remediation
Remediation Suggestions
- Remove all direct
curl | bashandInvoke-RestMethod | Invoke-Expressioninstallation patterns. - Prefer an official package manager or a version-pinned release artifact from a documented, trusted repository.
- Download the installer to a local file without executing it automatically.
- Pin the expected version and verify a publisher signature or an out-of-band published SHA-256 digest before execution.
- Display the source, version, destination, and intended system changes to the user.
- Require explicit user approval before installing software; the agent should not automatically run installation commands after a failed action.
- Run the installer with ordinary user privileges unless a specific, documented operation requires elevation.
- If elevation is necessary, separate and explain the privileged step and request explicit approval for that exact operation.
- Document uninstall procedures and all files, services, startup entries, or configuration changes made by the installer.
- Keep the existing guidance that setup is only a fallback, but direct users to a verified installation guide rather than embedding commands that execute remote responses immediately.
- Remove all direct
