T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:64- Finding
Unverified Remote Shell Script Executed Through Bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 64
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 command retrieves a mutable script from an external server and sends it directly to Bash. It does not pin a release, save the script for inspection, or verify a cryptographic checksum or signature before execution.
HTTPS protects the network connection but does not establish payload immutability. A compromised distribution server, CDN, DNS path, TLS key, or publisher account could cause the endpoint to return modified shell code after the Skill has been reviewed. Bash would execute that code immediately with the permissions of the user running the command.
Installing the CLI may be necessary for the declared connector functionality, but executing an unverified remote response is not the minimum privilege or safest installation method required to achieve that purpose.
Attack Path
- The
oocommand is unavailable and the first-time setup instructions are followed. - An attacker compromises an element of the remote distribution chain or otherwise gains control over the content served by
https://cli.oomol.com/install.sh. - The attacker replaces or modifies the installer with arbitrary shell commands.
curlretrieves the modified response.- The pipe passes the response directly to Bash without an integrity or authenticity check.
- Bash executes the attacker's commands under the invoking user's account.
Impact Assessment
Successful exploitation permits arbitrary command execution with the current user's privileges. Depending on those privileges and the environment, the payload could access readable credentials and files, alter user-owned data and configuration, install additional software, or establish persistence ...[truncated 161 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Replace the pipe-to-shell command with a version-pinned installation procedure from a verified official release.
- Download the installer or binary to disk as a separate step.
- Publish and verify a cryptographic digest, and preferably a signature anchored to a documented publisher key, before execution.
- Stop installation if signature or checksum verification fails.
- Allow the user to inspect the downloaded artifact before running it.
- Execute installation with ordinary user privileges unless a specific operation demonstrably requires elevation.
- Prefer a trusted package manager or signed platform package where available.
- Document the exact destination files, permissions, and system changes made by the installer.
