T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:59- Finding
Unverified Remote Installer Scripts Executed Directly by Shell Interpreters
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 59–63
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighVulnerable Code
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linuxpowershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShellTechnical Analysis
The installation instructions download scripts from
cli.oomol.comand pass their contents directly to Bash or PowerShell. The scripts are not pinned to an immutable version, authenticated with a cryptographic signature, or checked against a known checksum before execution. Users and agents also receive no opportunity to inspect the downloaded content before it runs.HTTPS provides transport protection but does not establish that the mutable script remains identical to the version assessed during this audit. Compromise of the distribution server, publishing account, DNS or network trust path, or installer-generation infrastructure could turn these commands into an arbitrary-code delivery mechanism.
Installing the required CLI is related to the Skill's declared functionality, but executing an unverified network response immediately exceeds the minimum safe privilege necessary. A safer installation process could download a pinned artifact, verify its integrity, and require explicit approval before execution.
Attack Path
- The
ooCLI is unavailable, causing the user or agent to follow the first-time setup instructions. - An attacker compromises the remote installer, its publishing infrastructure, or another trusted component in its delivery path.
- The attacker modifies
install.shorinstall.ps1to include malicious commands. - The documented
curl | bashorirm | iexcommand retrieves the modified payload. - Bash or PowerShell executes the response immediately without local inspection or integrity verification.
- The payload operat ...[truncated 776 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove direct
curl | bashandirm | iexexecution from the setup instructions. - Pin installation artifacts to an immutable, reviewed release rather than mutable installer endpoints.
- Download the artifact to a local file before execution so its contents can be inspected.
- Publish SHA-256 checksums and, preferably, cryptographic signatures through a separately secured channel.
- Verify the checksum and release signature before running the installer; abort installation on any mismatch.
- Prefer a trusted operating-system package manager or signed package format with built-in integrity and publisher verification.
- Require explicit user approval before executing any downloaded installer.
- Run installation with ordinary user privileges unless a specific operation demonstrably requires elevation, and document any required filesystem or network access.
- Consider using commands equivalent to the following controlled flow:
bash curl -fSLo oo-install.sh "https://cli.oomol.com/releases/<pinned-version>/install.sh" echo "<expected-sha256> oo-install.sh" | sha256sum --check - less oo-install.sh bash oo-install.shThe PowerShell installation flow should likewise use a pinned download, validate an Authenticode signature or published checksum, and execute only after successful verification and user approval.
- Remove direct
