T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:55- Finding
Unverified Remote Installer Download and Immediate Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 55–59
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Highbash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linuxpowershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShellTechnical Analysis
The installation instructions retrieve mutable scripts from an external server and pass them directly to a command interpreter. Neither command pins a script version, verifies a cryptographic checksum or signature, nor gives the user an opportunity to inspect the downloaded content before execution.
The package contains no local copy of either installer, so their effective behavior cannot be established through this audit. Even if the referenced domain is currently legitimate, compromise of its hosting account, deployment process, DNS, or other supply-chain infrastructure could cause these instructions to execute attacker-controlled code.
Installing a CLI is relevant to the skill's operation, but immediate remote-script execution is not the minimum privilege or safest mechanism necessary to perform that installation. The risk is especially significant in an agent skill because the documented fallback may be followed after an
oo: command not founderror.Attack Path
- The
ooCLI is absent, and an attempted connector command fails withoo: command not found. - A user or automation follows the first-time setup instructions in
SKILL.md. - The command retrieves a mutable script from
cli.oomol.com. - An attacker who has compromised the remote distribution path supplies modified installer content.
bashor PowerShell executes that content immediately under the invoking user's identity.- The payload can access resources available to that user and may install additional components or persistence mechanisms.
Impact Assessment
Successful exploitatio ...[truncated 669 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove direct
curl | bashandirm | iexexecution patterns. - Prefer an official package manager or a versioned release artifact from a documented trusted source.
- Pin the installer or binary to a specific release version rather than retrieving a mutable endpoint.
- Publish expected SHA-256 checksums and require verification before execution.
- Cryptographically sign release artifacts and document signature verification against a pinned, independently distributed public key.
- Download installers to a local file first, allowing inspection before execution.
- Require explicit user approval before running any downloaded installer; an agent should not perform this setup automatically after a command failure.
- Run installation with ordinary user privileges unless a clearly documented operation strictly requires elevation.
- Document the files, directories, network endpoints, and configuration changes made by the installer.
- Apply equivalent controls to both the Unix shell and PowerShell installation procedures.
- Remove direct
