T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:55- Finding
Unverified Remote Shell Script Execution via curl and bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 55
Vulnerability Type: Remote payload retrieval and immediate execution
Risk Level: HighComplete Code Snippet:
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The installation instruction downloads a mutable shell script from an external server and pipes it directly into
bash. The script is executed without version pinning, checksum validation, digital-signature verification, or an opportunity for local inspection.HTTPS provides transport protection but does not establish that the script is safe if the hosting infrastructure, publishing account, domain, or certificate trust chain is compromised. Because the effective payload can change after the Skill has been reviewed, this behavior crosses the local package trust boundary and constitutes remote payload retrieval and execution.
Installing a CLI may be necessary for the declared Encharge integration, but immediate execution of unverified network content is not the minimum privilege or safest installation method required for that purpose.
Attack Path
- An attacker compromises the remote installer, its hosting infrastructure, publishing credentials, or another trusted delivery component.
- The
oocommand is unavailable, causing the documented first-time setup path to be used. - A user or agent runs the supplied
curl | bashcommand. curlretrieves the attacker-controlled response.bashexecutes that response immediately with the privileges and filesystem/network access of the invoking user.- The payload can modify user-accessible files, invoke other programs, access credentials available to that user, or transmit accessible information over the network.
Impact Assessment
Successful exploitation provides arbitrary command execution in the invoking user's security context. The affected scope includes files, en ...[truncated 470 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | bashpipeline and direct users to official, reviewable installation documentation. - Use a version-pinned release artifact from the official project repository rather than a mutable installer endpoint.
- Download the artifact to disk without executing it automatically.
- Publish and verify a cryptographic signature from a trusted release key, or at minimum verify a pinned SHA-256 checksum obtained through an independently trusted channel.
- Allow the user to inspect the downloaded installer before execution.
- Require explicit user approval immediately before running any installer.
- Run installation with ordinary user privileges and avoid elevation unless a clearly documented operation strictly requires it.
- Prefer a trusted platform package manager with signed packages and reproducible version selection where available.
- Remove the
