T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:58- Finding
Unverified Remote Shell Script Execution via curl and Bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 58
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 command pipes a mutable remote response directly into Bash. The payload is not included in the reviewed project and is executed without version pinning, checksum verification, publisher-signature validation, or prior inspection.
HTTPS protects the connection in transit but does not establish that every future script served by the endpoint is safe. Compromise of the remote hosting account, distribution infrastructure, or publisher could cause this command to execute attacker-controlled shell code. This installation mechanism is not required to perform the Skill's declared read-only Lumos operations and exceeds the least-privilege requirements of those operations.
Attack Path
- The
ooCLI is unavailable, causing the user or agent to follow the first-time installation instructions. - The remote installer endpoint or its supporting distribution infrastructure is compromised, or the hosted script is changed unexpectedly.
- The command downloads the modified response.
- The shell pipe sends the response directly to Bash without verification.
- The payload executes with the permissions of the user running the command.
- The payload can subsequently modify files, access data available to that user, install additional software, or establish persistence.
Impact Assessment
Successful exploitation permits arbitrary command execution with the invoking user's privileges. Depending on that user's permissions and environment, the payload could access local files and credentials, modify user configuration, install persistent components, or retrieve additional payloads. If invoked from a privileged shell, the impact ...[truncated 39 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | bashinstallation instruction. - Prefer an official operating-system package manager with a pinned package version and authenticated repository metadata.
- If a standalone installer is unavoidable, download a versioned artifact to disk without executing it immediately.
- Publish and require verification of a pinned SHA-256 digest and, preferably, a cryptographic signature from a documented publisher key.
- Allow the installer to be inspected before execution and use a fixed release URL rather than a mutable generic installer URL.
- Keep CLI installation outside automated Skill execution and require explicit user approval before running any installer.
- Run installation with ordinary user privileges unless a documented installation step strictly requires elevated access.
- Remove the direct
