T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:58- Finding
Unverified Remote Shell Script Execution on macOS and Linux
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 58
Vulnerability Type: Remote payload retrieval and immediate execution
Risk Level: CriticalVulnerable Code:
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The installation instruction pipes a remotely downloaded script directly into Bash. The script is not pinned to an immutable version, downloaded for inspection, or verified using a cryptographic checksum or signature before execution. Consequently, the effective code can change after the Skill has been audited.
HTTPS provides transport protection but does not ensure that the retrieved script is safe if the hosting account, domain, DNS infrastructure, web server, or upstream release pipeline is compromised. Because the instruction invokes
bash, the retrieved payload can execute arbitrary commands with all permissions available to the user running the installation command.Although installing the
ooCLI supports the Skill's declared functionality, immediate execution of mutable network content exceeds the minimum privileges and trust necessary for installation. A verified, version-pinned artifact or trusted package manager would provide the required functionality with lower supply-chain risk.Attack Path
- An attacker compromises the remote installation endpoint, its hosting infrastructure, DNS resolution, or the associated release pipeline.
- The attacker replaces or modifies
https://cli.oomol.com/install.shwith a malicious shell payload. - A user encounters an
oo: command not founderror and follows the documented setup instruction. curlretrieves the attacker-controlled content and streams it directly to Bash without local inspection or integrity verification.- Bash executes the payload with the invoking user's privileges.
- The payload can access user-readable files and credentials, modify the user's environmen ...[truncated 647 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | bashinstallation pattern. - Direct users to an official, version-pinned release artifact or a trusted package manager.
- Download the installer or binary to a local file before execution.
- Publish a SHA-256 or stronger checksum through a separately protected channel and require users to verify it.
- Prefer signed releases and validate the publisher's signature before installation.
- Display or inspect the downloaded script before running it.
- Document that installation must use an unprivileged account unless a specific operation demonstrably requires elevation.
- Pin documentation to an immutable release URL rather than a mutable
install.shendpoint.
- Remove the
