T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:64- Finding
Unverified Remote Shell Script Download and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 64
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Criticalbash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The installation command downloads a mutable script from an external server and pipes it directly into Bash. The retrieved content is executed before the user or agent can inspect it, and the procedure provides no version pinning, cryptographic signature verification, checksum validation, or other mechanism that binds the executed payload to the version reviewed during this audit.
HTTPS protects the transport connection but does not establish that the hosted script will remain safe. Compromise of the hosting infrastructure, publisher account, domain, or release process could allow the installer to be replaced with arbitrary shell commands.
Installing the CLI may be necessary when it is unavailable, but immediate execution of an unverified remote script exceeds the minimum privileges and trust required for safe installation.
Attack Path
- A CATS action fails because the
ooCLI is not installed. - The agent or user follows the documented first-time setup instructions.
curlretrieves the current contents ofhttps://cli.oomol.com/install.sh.- The downloaded bytes are passed directly to Bash without inspection or integrity verification.
- If the remote endpoint or its release infrastructure has been compromised, attacker-controlled commands execute with the privileges of the invoking account.
- Those commands can access data available to that account, alter local files and tools, install persistence, or transmit information to an attacker-controlled service.
Impact Assessment
Successful exploitation provides arbitrary command execution with the privileges of the user or agent running the installation command. The resulting scope can include readable local files, environment variable ...[truncated 205 chars]
- A CATS action fails because the
- Remediation
View remediation
Remediation Suggestions
- Remove the pipe-to-shell installation command.
- Distribute the CLI as a version-pinned package or immutable release artifact from an authenticated release channel.
- Download the artifact to disk before execution so that it can be inspected.
- Publish and require verification of a pinned SHA-256 checksum or, preferably, a cryptographic signature tied to a trusted publisher key.
- Request explicit user approval before installing software.
- Run the installer with ordinary user privileges unless a narrowly defined operation specifically requires elevation.
- Document the expected files, installation paths, network destinations, and permissions.
- Prefer a trusted operating-system package manager with version locking and signature verification where available.
