T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:60
- Finding
- Unverified Remote Installation Scripts Are Executed Directly## Vulnerability Details **File Location**: `SKILL.md:60-64` **Vulnerability Type**: Unverified remote payload retrieval and execution **Risk Level**: Critical ### Vulnerable Code ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ```powershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell ``` ### Technical Analysis The first-time setup instructions download mutable scripts from external URLs and immediately pass them to local command interpreters. Neither command pins a particular script version, verifies a cryptographic hash or signature, saves the script for inspection, nor confirms its contents with the user before execution. HTTPS protects the connection in transit but does not establish that the current script is identical to the version reviewed with this Skill. Compromise of the hosting service, its deployment pipeline, DNS or certificate infrastructure, or the publisher account could change the effective payload after review. The Windows command is the direct PowerShell equivalent of the Unix `curl | bash` pattern and has the same trust-boundary problem. Although installation is presented as conditional on the CLI being absent, arbitrary remote code execution is not necessary for the Skill's declared read-only Agility CMS functionality and exceeds minimum privilege. ### Attack Path 1. The `oo` CLI is missing, or an attacker causes the command lookup to fail. 2. The Agent or user follows the documented first-time setup procedure. 3. The external installation endpoint, hosting infrastructure, or publishing pipeline has been compromised or serves an unexpectedly changed script. 4. `curl` or `Invoke-RestMethod` retrieves the attacker-controlled content. 5. The pipe sends that content directly to Bash or `Invoke-Expression` without integrity verification or inspection. 6. The payload executes with all permissions available to the invoking Agent or user. ### Impact Assessment Successful e ...[truncated 558 chars]
- Remediation
- ## Remediation Suggestions - Remove both direct download-to-interpreter pipelines. - Prefer installation through a trusted operating-system package manager or a pinned release artifact from a verified publisher. - Pin the installer or package to an explicit version rather than retrieving mutable latest content. - Publish cryptographic checksums and signed release metadata through an independently authenticated channel. - Download the artifact to disk, verify its signature and checksum, and only then permit execution. - Present the verified installer and its intended effects to the user and require explicit approval before running it. - Do not allow the Skill to install software automatically; direct users to reviewed manual installation documentation instead. - Run any necessary installer with ordinary user privileges and avoid privilege elevation unless a specific operation demonstrably requires it. - Document expected files, network destinations, and system changes so users can assess the installation's scope.
