T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:58- Finding
Unpinned Remote Installer Scripts Executed Directly by Shells
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:58-62
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighThe first-time setup instructions execute remotely hosted, mutable installer scripts directly in Bash or PowerShell:
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linuxpowershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShellTechnical Analysis
Both commands combine network retrieval with immediate interpreter execution. The downloaded content is not pinned to a reviewed version and is not subject to checksum validation, digital-signature verification, or inspection before execution. Consequently, the code ultimately executed can change after the Skill itself has been audited.
TLS protects the connection in transit but does not establish that the current installer content matches an audited release. Compromise of the hosting service, publication pipeline, domain, DNS or certificate trust chain could cause arbitrary attacker-controlled commands to be returned and executed.
Installing the required CLI may be legitimate, and the instructions are only presented as a fallback when
oois missing. However, direct pipe-to-shell execution is not the minimum privilege or safest mechanism necessary to support the declared News API functionality. There is no evidence in the reviewed file that the current OOMOL installer is itself malicious; the vulnerability is the unverified remote execution mechanism.Attack Path
- The
ooCLI is unavailable, and setup reaches the documented first-time installation procedure. - An attacker compromises or gains control over the installer response through the hosting or release pipeline, domain infrastructure, or another trusted delivery component.
- The victim or agent runs the documented Bash or PowerShell installation command.
curlorInvoke-RestMethodretrieves the attacker-controlled response.- Th ...[truncated 884 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove direct
curl | bashandInvoke-RestMethod | Invoke-Expressioninstallation commands from the Skill. - Prefer a trusted platform package manager or a version-pinned installer published through a verified release channel.
- If a standalone artifact is required, download it without executing it, pin an explicit version, and verify a publisher-signed checksum or cryptographic signature before use.
- Publish expected hashes and signatures through an independently protected release channel, and fail closed when verification fails.
- Require explicit user approval before installing software; installation should not occur automatically as part of a News API request.
- Run the installer with ordinary user privileges unless a documented operation strictly requires elevation. Avoid requesting broad or persistent permissions.
- Present the artifact and verification result before execution, and retain an auditable record of the selected version.
- Keep the existing assumption that the CLI is already installed, but direct users to a reviewed installation guide rather than embedding mutable remote-code execution commands.
- Remove direct
