T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:60- Finding
Unverified Remote Installation Script Executed by Bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:60
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Highbash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The installation instruction downloads a shell script from an external URL and pipes it directly into Bash. The retrieved script is not included in the audited project, pinned to an immutable version, or validated with a cryptographic signature or checksum. Consequently, its effective behavior can change after the Skill has been reviewed.
HTTPS protects the connection in transit but does not establish that every future script served by the endpoint is safe. Compromise of the hosting infrastructure, release process, DNS/account controls, or the vendor itself could cause arbitrary commands to be delivered. Piping directly into Bash also prevents a normal inspection and verification step before execution.
Installing a CLI can be necessary for the declared MoonClerk connector functionality, but executing an unverified remote script is not the minimum privilege or safest installation method required to accomplish that task.
Attack Path
- The
oocommand is unavailable and the agent or user follows the documented first-time setup instructions. - An attacker compromises the remote script endpoint or its publishing pipeline, or otherwise causes it to return a modified payload.
curlretrieves the attacker-controlled shell script.- The pipe sends the response directly to Bash without version, checksum, signature, or content verification.
- Bash executes the payload with the privileges of the invoking user.
- The payload can read or modify accessible files, steal locally available credentials, install additional software, or establish persistence.
Impact Assessment
Successful exploitation provides arbitrary command execution under the invoking user's account. The a ...[truncated 483 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Replace the pipe-to-shell installation command with a trusted package-manager installation or a pinned release artifact.
- Download the installer without executing it, then verify a vendor-published cryptographic signature or checksum obtained through an independent trusted channel.
- Pin the download to a specific immutable version rather than a mutable installation URL.
- Allow the user to inspect the downloaded script before execution.
- Require explicit user approval before installing software or executing an installer.
- Run installation with ordinary user privileges and avoid
sudounless a specific, documented operation requires elevation. - Document the files, permissions, and network endpoints used by the installer.
