T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:64- Finding
Unverified Remote Shell Script Execution on macOS and Linux
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 64
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalVulnerable 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 it directly into
bash. The payload is executed without version pinning, checksum verification, cryptographic signature validation, or an opportunity for inspection.HTTPS provides transport protection but does not guarantee that the hosted payload is safe. Compromise of the domain, hosting account, CDN, TLS endpoint, or release process could cause the same reviewed instruction to execute a different payload later. Although the OOMOL-branded source is relevant to the declared connector functionality, immediate remote script execution exceeds the minimum privilege necessary to document or install the CLI.
Attack Path
- The
ooCLI is absent, causing the agent or user to follow the first-time setup instructions. - An attacker compromises the remote script, its hosting infrastructure, or its publication process.
curlretrieves the attacker-controlled response from the unchanged URL.- The pipe passes the response directly to
bashwithout integrity verification. - The payload executes with all privileges available to the invoking account.
Impact Assessment
A malicious installation response could execute arbitrary commands, read or modify files accessible to the user, access locally available credentials, install additional software, alter shell configuration, or establish persistence. If the command is run from an elevated or highly privileged account, the payload could affect the entire system and other users.
The project contains no evidence that this command itself invokes
sudo; therefore, system-wide privileges must not be assum ...[truncated 78 chars]- The
- Remediation
View remediation
Remediation Suggestions
-
Do not pipe downloaded content directly into a shell.
-
Distribute a version-pinned release artifact through a verified package manager or official release repository.
-
Download the installer to a local file before execution.
-
Verify a publisher-provided cryptographic signature or a SHA-256 digest obtained through an independently trusted channel.
-
Allow the installer to be reviewed before it is executed.
-
Run installation with ordinary user privileges unless a documented operation specifically requires elevation.
-
Prefer a hardened sequence such as:
bash curl --proto '=https' --tlsv1.2 -fL \ -o oo-install.sh \ 'https://trusted.example/oo/releases/v1.2.3/install.sh' printf '%s %s\n' 'PINNED_SHA256' 'oo-install.sh' | sha256sum --check - bash oo-install.sh -
Replace the example URL and digest with an authenticated, immutable official release and its verified digest.
-
