T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:61- Finding
Unverified Remote Installation Script Executed Through Bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 61
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 command retrieves a mutable script from an external URL and pipes the response directly into Bash. It does not pin a release, verify a cryptographic signature or checksum, or provide an opportunity to inspect the downloaded content before execution.
HTTPS protects data in transit but does not ensure that the published script remains trustworthy. Compromise of the hosting infrastructure, publishing account, DNS, or certificate chain—or an unintended upstream modification—could cause arbitrary replacement code to execute. The instruction is conditional on the
oocommand being unavailable, but CLI installation is separate from the Skill's core Redis operation and exceeds its declaredBash(oo *)runtime tool scope.Attack Path
- A user requests an Upstash Redis operation.
- The Skill attempts to invoke the
ooCLI. - The CLI is unavailable, causing the first-time setup guidance to apply.
- The installation command downloads the current response from
https://cli.oomol.com/install.sh. - Bash immediately interprets the response without integrity or authenticity verification.
- If the remote content or delivery infrastructure has been compromised, attacker-controlled commands execute with the invoking user's privileges.
Impact Assessment
A substituted installation script could execute arbitrary commands with the permissions of the user running the agent. Depending on those permissions, it could read or modify local files, access environment variables and credentials, install additional software, alter shell configuration, exfiltrate information, or establish persistence. System-wide impact would be possible if t ...[truncated 46 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | bashinstallation path from agent-executable instructions. - Require the user to install the CLI outside the Skill's operational flow and obtain explicit approval before any installation.
- Use a trusted package manager or a version-pinned release artifact.
- Download the artifact without executing it, then verify a vendor signature and a checksum obtained through an independent trusted channel.
- Execute the installer only after successful verification and, where practical, user inspection.
- Run installation with the least-privileged account and avoid elevated privileges.
- Keep the Skill restricted to its declared
Bash(oo *)commands rather than expanding access to arbitrary shell commands.
- Remove the direct
