T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:60- Finding
Unverified Remote Installer Downloaded and Executed Directly
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 60–64
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 first-time setup instructions retrieve mutable scripts from
cli.oomol.comand immediately execute them through Bash or PowerShell. The downloaded content is not pinned to a specific release and is not authenticated through a detached signature or verified against a documented cryptographic checksum. It is also not saved for inspection before execution.Consequently, the code executed on a user's system can differ from the content that existed when the Skill was audited. Compromise of the distribution server, its deployment process, or the delivery path could turn these commands into an arbitrary-code execution channel. The conditional instruction to use the installer only when
oois unavailable reduces execution frequency but does not remove the underlying supply-chain risk.Installing a CLI may be necessary for the declared functionality, but piping a mutable network response directly into a shell exceeds the minimum safe mechanism required to perform that installation.
Attack Path
- The
ooCLI is absent, causing anoo: command not foundfailure. - The agent or user follows the documented first-time setup procedure.
- An attacker compromises the installer host, its publication pipeline, or another component capable of controlling the delivered script.
- The
curlorirmcommand retrieves the attacker-controlled payload. - The shell pipe passes the response directly to Bash or
Invoke-Expression, without integrity verification or prior inspection. - The payload executes with the permissions of the account running the comman ...[truncated 669 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Replace pipe-to-shell and
Invoke-Expressioninstallation commands with installation through a trusted operating-system package manager or a pinned release artifact. - Pin the CLI to a specific version rather than retrieving a mutable installer endpoint.
- Download the package or installer to disk without executing it automatically.
- Publish an expected SHA-256 or stronger checksum over a trusted channel and require verification before execution.
- Prefer signed release artifacts and verify the publisher's signature using a documented, pinned public key.
- Present the exact artifact, version, source, and intended changes to the user, and obtain explicit approval before installation.
- Run installation with ordinary user privileges unless elevated privileges are demonstrably required; clearly document any required filesystem or system changes.
- For automated environments, use an internally reviewed and integrity-pinned copy of the CLI artifact.
- Replace pipe-to-shell and
