T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:60- Finding
Unverified Remote Shell Script Execution via curl and Bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 60
Vulnerability Type: Remote payload retrieval and immediate execution
Risk Level: Criticalbash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The installation instruction downloads a mutable shell script from an external URL and pipes it directly into Bash. The script is executed without version pinning, cryptographic signature verification, checksum validation, or an opportunity to inspect the downloaded content.
Consequently, the code ultimately executed can differ from the content reviewed during this audit. If the distribution server, publishing process, domain, or trusted TLS infrastructure is compromised, the endpoint can deliver arbitrary shell commands. The
-f,-s, and-Soptions do not authenticate the script's contents or protect against supply-chain compromise.This installation behavior is not required during normal Skill operation because the document states that the
ooCLI should already be installed. It is only a fallback for a missing command. Moreover, arbitrary Bash execution exceeds the declaredallowed-tools: [Bash(oo *)]least-privilege boundary, which otherwise limits the Skill tooocommands.Attack Path
- The
oocommand is unavailable, or the user is induced to believe installation is necessary. - The user follows the documented fallback installation command.
- The command retrieves the current response from
https://cli.oomol.com/install.sh. - An attacker who has compromised the hosting or publication path causes the endpoint to return malicious shell commands.
- Bash executes those commands immediately without integrity verification or review.
- The payload operates with the privileges and environmental access of the user who invoked the command.
Impact Assessment
A malicious installer could execute arbitrary commands with the invoking user's privileges. Potential effects inc ...[truncated 394 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove the pipe-to-shell installation instruction.
- Direct users to a version-pinned release hosted in a verified official repository.
- Download the installer or binary to a local file without executing it automatically.
- Publish and require verification of a cryptographic signature or a checksum obtained through a separately protected channel.
- Allow the user to inspect the downloaded artifact before execution.
- Require explicit user approval before installing software or executing commands outside the declared
oocommand boundary. - Prefer a trusted operating-system package manager with signed packages where available.
- Keep installation outside the Skill's automated workflow; on a missing-CLI error, return a clear diagnostic and a link to reviewed manual installation documentation.
