T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:61- Finding
Unverified Remote Installer 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 instruction downloads a mutable script from an external server and immediately executes it with Bash. The script is not pinned to a specific version, downloaded for inspection, or validated using a cryptographic signature or checksum.
HTTPS protects the connection in transit but does not mitigate compromise of the hosting service, publishing account, DNS infrastructure, or installer distribution pipeline. It also does not prevent the hosted script from being modified after the Skill has been reviewed. Any returned content executes with the privileges of the user running the command.
Installing the required CLI is relevant to first-time setup, but piping an unverified remote response directly into a shell exceeds the minimum safe mechanism necessary to install that dependency.
Attack Path
- The
ooCLI is unavailable, causing the user or agent to follow the first-time setup instructions. - An attacker compromises the remote installer, its publishing account, or another part of the delivery infrastructure.
curlretrieves the attacker-controlled response from the mutable URL.- The shell pipeline passes the response directly to Bash without local inspection or integrity verification.
- Bash executes the payload with the invoking user's privileges.
- The payload can access resources available to that user and may download additional components, alter local files, or establish persistence.
Impact Assessment
Successful exploitation provides arbitrary command execution under the invoking user's account. This may expose local files, credentials accessible to that user, shell configuration, connector data, and othe ...[truncated 370 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | bashinstallation pipeline. - Prefer a trusted operating-system package manager or an official, version-pinned release package.
- If a standalone installer is necessary, download it to a local file without executing it.
- Pin the installer or release artifact to an explicit version.
- Publish and verify a cryptographic signature from a separately distributed trusted signing key.
- Publish a SHA-256 checksum through an integrity-protected channel and verify it before execution.
- Allow the user to inspect the downloaded script before running it.
- Run installation with the least-privileged account possible and avoid requesting elevation unless strictly required.
- Do not let the agent install the CLI automatically; require explicit user approval for installation.
- Remove the direct
