T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:58
- Finding
- Unverified Remote Installer Download and Immediate Execution## Vulnerability Details **File Location**: `SKILL.md`, lines 58–62 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical The first-time setup instructions execute mutable remote installation scripts directly in the user's shell: ```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 Both installation commands combine remote content retrieval with immediate interpreter execution. The Unix command pipes the HTTP response directly to Bash, while the PowerShell command passes the response to `Invoke-Expression`. The downloaded scripts are not pinned to a reviewed version, saved for inspection, or verified with a cryptographic checksum or digital signature. Consequently, the effective code can change after the Skill itself has been reviewed. Compromise of the installer hosting infrastructure, publication pipeline, domain, or trusted network path could turn these instructions into an arbitrary-code execution channel. Installing the required CLI may support the declared E2B connector functionality, but executing an unverified, mutable response directly exceeds the minimum safe installation approach. The project contains no local installer whose behavior can be audited. ### Attack Path 1. The agent attempts an E2B operation and receives an `oo: command not found` error. 2. Following the documented fallback, the agent runs the applicable installation command. 3. The command retrieves the current script from `cli.oomol.com`. 4. A compromised hosting or release pipeline supplies attacker-controlled script content. 5. Bash or PowerShell executes that content immediately, without integrity verification or prior review. 6. The payload performs arbitrary actions with the permissions available to the agent process. ### Impact Assessment A substitu ...[truncated 708 chars]
- Remediation
- ## Remediation Suggestions 1. Remove the `curl | bash` and `irm | iex` installation patterns. 2. Direct users to a trusted, version-pinned package-manager entry or a specific official release artifact. 3. Download the artifact to disk without executing it. 4. Verify a vendor-published cryptographic signature and a version-specific SHA-256 digest before execution. 5. Permit the user to inspect the downloaded installer and require explicit approval before running it. 6. Execute installation with ordinary user privileges unless elevated access is demonstrably required. 7. Pin the CLI version supported by the Skill and document a controlled upgrade procedure. 8. If automated installation is unavoidable, vendor a reviewed installer in the package or use a signed package repository with integrity and provenance verification.
