T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:78
- Finding
- Unverified Remote Shell Script Execution<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 78–81 **Vulnerability Type**: Remote payload retrieval and immediate execution **Risk Level**: High ### Vulnerable Code ```bash - **`oo: command not found`** — install the oo CLI (other platforms: <https://cli.oomol.com/install-guide.md>): ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ``` ### Technical Analysis The installation instruction pipes a mutable network response directly into Bash. The downloaded script is not pinned to a specific release and is not checked against a cryptographic digest or trusted signature before execution. Although installing the `oo` CLI supports the Skill's declared Figma functionality, executing unverified remote code is broader than the minimum capability required. The actual code executed can change after the Skill has been reviewed. Compromise of `cli.oomol.com`, its deployment pipeline, or the TLS/DNS trust path could therefore turn this instruction into arbitrary local code execution. The `-f`, `-s`, and `-S` options affect error handling and output but do not establish the integrity or authenticity of the script beyond ordinary HTTPS transport. ### Attack Path 1. The `oo` command is unavailable on the Agent's host. 2. The Agent follows the first-time setup instructions in `SKILL.md`. 3. `curl` retrieves the current content of `https://cli.oomol.com/install.sh`. 4. The response is passed directly to Bash without being saved, reviewed, pinned, or cryptographically verified. 5. If the remote host or delivery chain has been compromised, attacker-controlled shell commands execute with the privileges of the Agent process. 6. Those commands can access or modify any files, processes, credentials, and network resources available to that local account. ### Impact Assessment Successful exploitation provides arbitrary command execution under the account running the Agent. Depending on that account's permissions ...[truncated 658 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Do not pipe a network response directly into a shell. 2. Reference a version-pinned CLI release from an authenticated official release channel. 3. Download the installer or package without executing it: ```bash curl --fail --location --output oo-install.sh \ https://example.invalid/releases/vX.Y.Z/oo-install.sh ``` 4. Publish and verify a cryptographic checksum or trusted digital signature before execution. 5. Allow the user to inspect the downloaded file before running it. 6. Require explicit user approval before installing software or invoking any privilege-elevation mechanism. 7. Prefer a signed native package or package-manager installation with version pinning. 8. Document the expected files, permissions, and network endpoints used by the installer. ]]>
