T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:56- Finding
Unverified Remote Shell Script Execution via curl and Bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 56
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Criticalbash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The first-time setup instructions pipe a remotely retrieved shell script directly into Bash. The payload is not pinned to an immutable version, downloaded for inspection, or validated using a cryptographic signature or trusted checksum before execution.
HTTPS protects the connection in transit but does not establish the long-term integrity of mutable content served by the endpoint. Compromise of the hosting service, publisher account, DNS or delivery infrastructure, or release process could cause the same documented command to execute attacker-controlled code after the Skill has already been reviewed.
Installing the required CLI is relevant to the declared functionality, but executing an unverified network response is not a least-risk installation mechanism. The remote script runs with all permissions available to the user who invokes the command.
Attack Path
- A Sherpa operation fails because the
ooCLI is unavailable. - The user or agent follows the documented first-time setup fallback.
curlretrieves the current response fromhttps://cli.oomol.com/install.sh.- The pipeline sends the response directly to Bash without an integrity check or review boundary.
- If the endpoint or delivery chain has been compromised, Bash executes attacker-controlled commands as the invoking user.
- Those commands may access user-readable information, modify files and shell configuration, install additional payloads, or establish persistence subject to the user's permissions.
Impact Assessment
Successful exploitation provides arbitrary command execution with the invoking user's privileges. The accessible scope may include project files, user documents, environment data, CLI configuration, authenti ...[truncated 249 chars]
- A Sherpa operation fails because the
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | bashinstallation pattern. - Prefer a trusted platform package manager or a signed, versioned installer published through an official distribution channel.
- Pin installation artifacts to an explicit release version rather than a mutable URL.
- Download the artifact to disk before execution so that retrieval and execution are separate operations.
- Publish and require verification of a cryptographic signature from a documented release key.
- If signatures are unavailable, publish a release-specific SHA-256 checksum over an authenticated channel and verify it before installation.
- Document the files, directories, and permissions required by the installer.
- Advise users to install under an unprivileged account and avoid
sudounless a specific operation has been justified. - Fail closed when signature or checksum verification does not succeed.
- Remove the
