T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:61- Finding
Unverified Remote Shell Script Execution During CLI Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 61
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighVulnerable code:
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The installation instruction downloads a mutable shell script from an external URL and pipes the response directly into Bash. The script is not pinned to a specific release, saved for inspection, or verified using a cryptographic signature or checksum before execution.
Although the URL belongs to the declared OOMOL service provider and the command is presented only as a fallback when
oois unavailable, trusting the domain alone does not establish the integrity of the retrieved payload. A compromise of the hosting infrastructure, DNS or TLS delivery chain, deployment credentials, or installer itself could cause arbitrary commands to execute under the invoking user's account. The effective code can also change after the Skill has been reviewed.Attack Path
- An attacker compromises the installer endpoint, its deployment process, or another part of the delivery chain.
- The attacker modifies the response from
https://cli.oomol.com/install.shto include malicious shell commands. - A user encounters the documented
oo: command not foundcondition and follows the installation instruction. curlretrieves the attacker-controlled response and streams it directly to Bash.- Bash executes the payload immediately without integrity verification or an inspection step.
Impact Assessment
Successful exploitation permits arbitrary command execution with all privileges available to the user running the command. The payload could read or modify accessible files, steal environment variables and credentials, alter shell configuration, install persistence, or download additional malware. If the command is invoked from an elevated shell, the impact may ...[truncated 250 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace the direct
curl | bashpattern with a version-pinned installer artifact from a verified release. - Download the artifact to a local file without executing it automatically.
- Publish and require verification of a cryptographic signature or checksum over a trusted channel.
- Allow users to inspect the downloaded script before execution.
- Prefer a signed operating-system package or package-manager distribution with provenance verification.
- Run installation with ordinary user privileges unless a specific, documented operation requires elevation.
- Document the expected installer behavior, files created, network destinations, and required permissions.
- Replace the direct
