T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:64- Finding
Unverified Remote Installer Download and Immediate Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 64–68
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighThe first-time setup instructions provide two platform-specific commands that download mutable content from an external server and execute it immediately:
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linuxpowershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShellTechnical Analysis
Both commands pass an external HTTP response directly to a command interpreter. The instructions do not pin an installer version, verify a cryptographic checksum or publisher signature, or provide an opportunity to inspect the downloaded file before execution.
Consequently, the code ultimately executed is not fixed by the reviewed Skill and may change after the audit. Compromise of the installer host, publishing account, hosting infrastructure, DNS or TLS trust path could turn these commands into an arbitrary-code-execution mechanism.
Installing the CLI may be necessary for the declared Atlas.so integration, but immediate execution of unverified remote content exceeds the minimum privilege and trust required to perform installation. A package-manager installation or a separately downloaded, version-pinned, cryptographically verified artifact would provide the required functionality with lower risk.
Attack Path
- The
ooCLI is absent, and a command fails withoo: command not found. - A user or agent follows the Skill's first-time setup instructions.
- An attacker compromises the remote installer publication channel or causes the endpoint to return attacker-controlled content.
- On macOS or Linux,
curlstreams the response directly intobash; on Windows,Invoke-RestMethodsupplies it directly toInvoke-Expression. - The attacker's commands execute with the privileges of the user running the installat ...[truncated 1080 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove both direct download-to-interpreter patterns:
- Do not pipe
curloutput directly tobash. - Do not pass
Invoke-RestMethodoutput directly toInvoke-Expression.
- Do not pipe
- Prefer an official operating-system package manager or a signed, versioned release package from a documented publisher.
- Pin the installer or CLI to a specific reviewed version rather than retrieving a mutable latest installer.
- Download the artifact to a local file before execution.
- Publish and verify a cryptographic publisher signature. Where signature verification is unavailable, verify a SHA-256 digest obtained through an independently trusted and version-specific channel.
- Abort installation if verification fails; never treat checksum or signature failures as warnings.
- Allow the installer content to be inspected before execution and document the files, network endpoints, and system changes it performs.
- Run installation with standard-user privileges unless a specific operation demonstrably requires elevation. Avoid blanket
sudoor administrator execution. - Keep setup manual and conditional. The agent should not automatically install software merely because
oois unavailable. - If automated installation is essential, package a reviewed, version-pinned installer through a trusted release mechanism rather than executing mutable network responses.
- Remove both direct download-to-interpreter patterns:
