T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:57- Finding
Unverified Remote Installer Executed Directly by Bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 57
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighVulnerable Code:
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The setup instructions pipe a remotely downloaded script directly into Bash. The payload is neither pinned to an immutable version nor checked using a cryptographic signature or trusted checksum. Although HTTPS protects the connection in transit under normal conditions, it does not guarantee that the server will always return the same audited content.
The effective code therefore remains outside the reviewed project and can change after publication. Compromise of the hosting service, vendor account, DNS resolution, or release pipeline could cause arbitrary attacker-controlled shell commands to be returned and executed.
Installing the CLI may support the Skill's weather-service functionality, but immediate execution of mutable network content exceeds the minimum mechanism necessary to perform that installation safely.
Attack Path
- The
oocommand is unavailable, causing the first-time setup instructions to apply. - An attacker compromises or gains control over the installer delivery path or upstream publishing infrastructure.
- The URL returns a modified shell script containing attacker-controlled commands.
curlsends the response directly to Bash without inspection or integrity verification.- Bash executes the commands with the privileges of the user running the setup process.
Impact Assessment
Successful exploitation permits arbitrary command execution under the invoking user's account. The resulting scope could include access to readable files and credentials, modification of user-owned data, installation of persistence within that user's permission boundary, and execution of further network requests. If the command is run f ...[truncated 75 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Replace the pipe-to-shell command with installation through a trusted, version-pinned package manager or immutable release artifact.
- Download the installer to a local file without executing it immediately.
- Pin a specific release version and verify its cryptographic signature or a checksum obtained through a separately trusted channel.
- Allow the user to inspect the downloaded file and require explicit approval before execution.
- Document the installer's required permissions and instruct users not to run it with elevated privileges unless strictly necessary.
- Prefer a reproducible installation command referencing an official release repository rather than a mutable generic installer URL.
