T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:58- Finding
Unverified Remote Installer Download and Immediate Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 58–62
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 setup instructions pipe network responses directly into Bash or PowerShell. The remote scripts are not pinned to immutable versions and are not subjected to checksum validation, cryptographic signature verification, or local inspection before execution. Consequently, the code executed by these commands can differ from the content available when the Skill was audited.
Installing the required CLI is related to the Skill's functionality, and the instructions only recommend installation after a command-not-found failure. However, immediate remote-to-shell execution exceeds the minimum privileges and trust necessary to install a dependency safely. A download, verification, and separately approved execution process would achieve the same legitimate purpose with substantially lower supply-chain risk.
The use of HTTPS reduces ordinary interception risk but does not protect against compromise of the vendor domain, DNS infrastructure, hosting environment, release pipeline, or installer-generation process.
Attack Path
- The
ooCLI is absent, causing anoo: command not founderror. - The user or agent follows the first-time setup instructions.
- The command retrieves a mutable installer from
cli.oomol.com. - An attacker who has compromised the domain, hosting infrastructure, DNS path, or release pipeline returns a modified script.
- Bash or PowerShell executes the response immediately, without integrity verification or an opportunity for inspection.
- The malicious installer performs arbitrary actions under the privileges of the user running the command.
...[truncated 716 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Replace the pipe-to-shell commands with links to versioned releases or trusted operating-system package repositories.
- Pin the CLI to a specific, reviewed version rather than retrieving a mutable latest installer.
- Download the installer or package to a local file without executing it:
bash curl --proto '=https' --tlsv1.2 -fL -o install.sh 'https://example.invalid/versioned/install.sh' - Publish and verify a cryptographic signature using a pinned, independently distributed public key. If signatures are unavailable, verify a version-specific SHA-256 checksum obtained through a trusted channel.
- Allow the user to inspect the downloaded file and require explicit approval before executing it as a separate command.
- Avoid requesting administrator privileges unless a documented installation step strictly requires them.
- Apply the same controls to the PowerShell installer: download it to disk, validate its Authenticode signature or published hash, inspect it, and execute it separately.
- Document the files, permissions, and network destinations used by the installer so users can assess the installation's scope.
