T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:59- Finding
Unverified Remote Installer Download and Immediate Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 59–63
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighComplete Vulnerable Code Snippet:
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 retrieve mutable scripts from an external server and pass their contents directly to a command interpreter. The Unix command pipes the HTTP response into Bash, while the Windows command passes the response to PowerShell's
Invoke-Expression.Neither installation path pins a release version, validates a cryptographic checksum, verifies a digital signature, nor gives the user an opportunity to inspect the downloaded script before execution. Consequently, the code that ultimately runs is not the code contained in the reviewed project and may change after this audit.
Although installing the
ooCLI supports the declared Cronitor connector functionality, immediate remote-script execution is not the minimum privilege or minimum-risk installation method necessary to provide that functionality. The risk is partially constrained by the instruction to use installation only after anoo: command not foundfailure. In addition, the declared tool policy isBash(oo *), which does not itself authorizecurl,bash, or PowerShell. Nevertheless, these commands remain unsafe installation guidance and could be executed manually or by an environment that does not strictly enforce the declared tool restriction.The audit did not establish that the referenced OOMOL installers currently contain malicious content. The vulnerability is the absence of controls ensuring that the remotely supplied content is authentic, immutable, and reviewed before execution.
Attack Path
- The
ooCLI is absent, or an attacker creates cond ...[truncated 1764 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove both pipe-to-shell installation commands from the skill instructions.
- Direct users to a version-pinned release artifact or trusted platform package manager rather than a mutable installer endpoint.
- Download the artifact without executing it, then verify a vendor-published SHA-256 or stronger digest and a cryptographic signature before installation.
- Publish checksums and signatures through a separately protected release channel and document the expected signing identity.
- Allow the user to inspect the downloaded installer and require explicit approval before any installation command runs.
- Avoid elevated execution. Install only with the minimum permissions required and clearly warn users not to run the installer as root or administrator unless strictly necessary.
- Keep installation outside the skill's automated workflow. If
oois unavailable, report the missing dependency and provide a verified installation page rather than executing setup automatically. - Preserve and enforce the declared
Bash(oo *)tool restriction so the skill cannot invoke downloaders, shells, or unrelated commands. - If scripted installation is unavoidable, pin the installer to an immutable versioned URL and fail closed when signature, checksum, certificate, or expected-version validation does not succeed.
