T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:69- Finding
Unverified Remote Installer Download and Immediate Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 69–73
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Criticalbash 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 mutable scripts from
cli.oomol.comand immediately pass them to a command interpreter. The Unix command pipes the HTTP response into Bash, while the Windows command passes the response to PowerShell'sInvoke-Expression.Neither instruction pins an installer version nor verifies a cryptographic signature or checksum before execution. HTTPS protects the connection in transit, but it does not protect users if the hosting infrastructure, publishing account, DNS configuration, or upstream deployment process is compromised. It also does not ensure that the script executed later is the same script that was available when this Skill was audited.
The instructions only recommend installation after an
oo: command not founderror, which limits when the path is reached, but does not mitigate the arbitrary-code-execution risk once installation occurs. Remote code execution exceeds the privileges needed merely to document or invoke the declared Agiled connector.Attack Path
- An attacker compromises the remote installer host, its deployment credentials, DNS resolution, or another part of its publishing pipeline.
- The attacker replaces
install.shorinstall.ps1with a malicious payload. - A user or Agent encounters an
oo: command not founderror and follows the documented setup procedure. curlorInvoke-RestMethodretrieves the attacker-controlled content.- Bash or
Invoke-Expressionexecutes that content immediately, without local inspection or integrity verification. - The payload performs arbitrary actions u ...[truncated 935 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | bashandirm | iexinstallation instructions. - Pin installation to a specific, reviewed CLI release rather than a mutable installer endpoint.
- Download the installer or binary to a local file without executing it automatically.
- Publish a cryptographic signature or strong checksum through an independently protected channel and require verification before execution.
- Prefer a trusted operating-system package manager or a verified release artifact from the official repository.
- Allow users to inspect the downloaded content before execution and document the files, permissions, and network access the installer requires.
- Run installation with ordinary user privileges wherever possible and avoid requesting administrative elevation unless a documented component requires it.
- For automated environments, mirror an approved, version-pinned artifact internally and enforce signature verification through deployment policy.
- Remove the direct
