T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:55- Finding
Unverified Remote Installation Scripts Are Executed Directly
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 55-62
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalVulnerable Code
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
The installation instructions retrieve mutable scripts from external URLs and immediately execute them through Bash or PowerShell. They provide no version pinning, cryptographic signature verification, checksum validation, or review step.
HTTPS authenticates and encrypts the transport connection but does not ensure that the script remains identical to the version assessed during this audit. Compromise of the hosting account, web server, CDN, DNS resolution chain, TLS termination infrastructure, or upstream build pipeline could replace the installer after the Skill has been reviewed.
The installation behavior is not required for normal connector operations because the Skill states that users should ordinarily have the CLI installed already. Although installation is limited to a command-not-found fallback, directing an Agent to execute an unverified remote script exceeds the minimum privilege necessary to document that prerequisite.
Attack Path
- The
ooCLI is absent, causing a command to fail withoo: command not found. - The Agent or user follows the documented first-time setup instructions.
- An attacker who has compromised the remote script host or its delivery chain replaces
install.shorinstall.ps1with a malicious payload. curl | bashorirm | iexexecutes the changed payload immediately without integrity verification or inspection.- The payload runs with all privileg ...[truncated 747 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove both direct execution pipelines.
- Pin installation instructions to a specific reviewed CLI release rather than a mutable installer endpoint.
- Download the release artifact without executing it, then verify a vendor-published cryptographic signature or a checksum obtained through an independently authenticated channel.
- Display the exact version, source, destination, and expected changes, and require explicit user approval before installation.
- Prefer a trusted platform package manager where packages are signed and repository metadata is authenticated.
- Execute installation with ordinary user privileges unless a specific, documented operation requires elevation.
- Apply equivalent verification controls to both the Bash and PowerShell installation paths.
- If a script remains necessary, use a sequence such as download, signature verification, local inspection, and explicit execution rather than piping network output directly into an interpreter.
