T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:62
- Finding
- Unverified Remote Shell Script Execution via Bash<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, line 62 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ### Vulnerable Code ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command pipes a remotely retrieved script directly into Bash. The remote payload is mutable and is executed without local inspection, version pinning, cryptographic signature verification, or checksum validation. Although `cli.oomol.com` is consistent with the declared OOMOL service, the audited project does not establish the installer’s contents or integrity. Consequently, control of the remote endpoint, DNS resolution, hosting infrastructure, or trusted delivery path provides effective arbitrary code execution with the privileges of the user running the command. Installing the required CLI is related to the Skill’s functionality, but immediate execution of unverified remote content exceeds the minimum privilege and trust necessary for installation. ### Attack Path 1. A user or Agent attempts to use the Skill on a system where the `oo` CLI is unavailable. 2. The documented first-time setup procedure is followed. 3. `curl` retrieves the current contents of `https://cli.oomol.com/install.sh`. 4. The response is passed directly to Bash without being saved, reviewed, or authenticated. 5. If the remote source or delivery path has been compromised, attacker-controlled shell commands execute with the invoking user’s privileges. 6. Those commands can modify files, steal accessible credentials, install persistence, or transmit local data. ### Impact Assessment Successful exploitation provides arbitrary command execution under the invoking account. The accessible scope may include that user’s files, shell configuration, environment variables, authentication material, connected-service data, and any resources available through the user’s existing permissions. If ...[truncated 244 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Do not pipe network responses directly into a shell. - Download a version-pinned installer or release artifact to a local file without executing it. - Publish and verify a cryptographic signature from a separately trusted key. At minimum, verify a version-specific cryptographic checksum obtained through an independent trusted channel. - Permit inspection of the downloaded artifact before execution. - Prefer an established, signed package manager or a pinned release from a verifiable official repository. - Run installation with ordinary user privileges unless a narrowly defined step explicitly requires elevation. - Document the files, permissions, and network destinations used by the installer. - Fail closed if integrity verification does not succeed. A safer workflow is: download a specific release, verify its signature or checksum, inspect it where appropriate, and execute the verified local artifact as a separate step. ]]>
