T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:66
- Finding
- Unverified Remote Installation Scripts Executed Directly by Shells## Vulnerability Details **File Location**: `SKILL.md`, lines 66–70 **Vulnerability Type**: Remote payload retrieval and immediate 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 `cli.oomol.com` and immediately execute them using Bash or PowerShell. No immutable version, cryptographic checksum, digital signature, or publisher verification is required before execution. The piped execution also prevents meaningful inspection of the downloaded content before it runs. Because the effective payload resides outside the reviewed project, it can change after this Skill has passed review. HTTPS provides transport protection but does not establish that future script contents are safe. Compromise of the hosting service, publishing account, DNS infrastructure, or upstream release process could therefore turn the documented installation command into an arbitrary-code execution channel. This behavior is not necessary for the Skill's declared connector functionality. Installation can instead be performed using a versioned, integrity-verified package after explicit user approval. ### Attack Path 1. The `oo` CLI is absent, causing a command to fail with `oo: command not found`. 2. The Agent follows the first-time setup instructions in `SKILL.md`. 3. Bash or PowerShell retrieves a mutable installation script from `cli.oomol.com`. 4. The response body is passed directly to the relevant shell without integrity or publisher verification. 5. If the remote endpoint or publishing chain has been compromised, attacker-controlled commands execute with the privileges of the user running the Agent. 6. Those commands can access data available to that user, modify the local envi ...[truncated 701 chars]
- Remediation
- ## Remediation Suggestions 1. Remove direct `curl | bash` and `irm | iex` execution patterns. 2. Direct users to an official, versioned release whose artifact is immutable. 3. Pin the installation instructions to a specific reviewed CLI version rather than a mutable installation endpoint. 4. Publish and require verification of a SHA-256 or stronger checksum. Prefer a digitally signed release with documented publisher-key verification. 5. Download the installer to a local file first, verify its integrity and signature, and permit inspection before execution. 6. Require explicit user approval immediately before running any installer. 7. Run the installer with ordinary user privileges unless a narrowly defined operation demonstrably requires elevation. 8. Prefer a trusted package manager that supports version pinning and package-signature validation. 9. Apply equivalent controls to both the Bash and PowerShell installation paths. 10. Document the expected files, network destinations, and system changes made by installation so users can assess the requested privileges.
