T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:60- Finding
Unverified Remote Shell Script Execution in macOS/Linux Installation Instructions
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 60
Vulnerability Type: Remote payload retrieval and immediate execution
Risk Level: CriticalComplete Code Snippet:
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The installation instruction pipes a remotely downloaded script directly into
bash. The script is not pinned to a specific immutable version and is not subjected to checksum or cryptographic-signature verification before execution. Consequently, the code that executes may differ from the content assessed during this audit.HTTPS protects the connection in transit under normal conditions, but it does not protect against compromise of the hosting service, publication pipeline, signing account, or the remote script itself. The repository contains no copy of the installer and provides no evidence from which its behavior or integrity can be independently verified.
Installing the
ooCLI may be necessary to use the declared Momentum.io connector, but immediate execution of mutable remote content exceeds the minimum installation privilege necessary. A download, inspection, integrity-verification, and controlled-installation workflow would achieve the same purpose with less risk.Attack Path
- A user or Agent attempts to invoke
ooand receives anoo: command not founderror. - The Skill directs the user or Agent to execute the documented installation command.
curlretrieves the current content ofhttps://cli.oomol.com/install.sh.- The pipe sends the response directly to
bash, without local inspection or integrity verification. - If the remote host, installer, DNS/TLS trust chain, or release pipeline has been compromised, attacker-controlled shell commands execute as the invoking user.
- Those commands can access resources available to that account and may establish further compromise.
Impact Assessment
...[truncated 696 chars]
- A user or Agent attempts to invoke
- Remediation
View remediation
Remediation Suggestions
Replace the pipe-to-shell instruction with a verifiable installation process:
- Reference a specific, immutable CLI release rather than a mutable installer URL.
- Download the release artifact to a local file without executing it.
- Publish and verify a cryptographic signature from a documented, trusted release key. At minimum, verify a hard-coded SHA-256 checksum obtained through an independently protected channel.
- Inspect the downloaded artifact or installer before execution.
- Run installation with ordinary user privileges unless a narrowly defined operation explicitly requires elevation.
- Document the files, network destinations, and configuration changes performed by the installer.
- Consider directing users to a trusted package manager with signed, version-pinned packages.
- If a bootstrap script remains necessary, pin it by digest and fail closed when verification fails.
