T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:62
- Finding
- Unverified Remote Shell Script Execution## Vulnerability Details **File Location**: `SKILL.md`, line 62 **Vulnerability Type**: Remote payload retrieval and immediate execution **Risk Level**: High **Vulnerable Code**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command pipes a mutable HTTPS response directly into Bash. The remote script is neither version-pinned nor verified using a cryptographic signature or checksum, and the user has no opportunity to inspect the downloaded content before execution. Although the URL uses HTTPS and appears to belong to the CLI vendor, the effective code is controlled by external infrastructure and can change after the Skill has been reviewed. Compromise of the hosting account, web server, DNS, release process, or another part of the delivery chain could cause arbitrary shell commands to be returned. The command is presented as a fallback when `oo` is not installed. The declared tool permission is limited to `Bash(oo *)`, so a conforming runtime should reject direct execution of `curl`; however, the documented installation instruction remains unsafe if copied by the user or executed by a runtime that does not enforce the declared restriction. ### Attack Path 1. The `oo` CLI is absent, and a command fails with `oo: command not found`. 2. The user or Agent follows the documented installation fallback. 3. An attacker compromises or otherwise influences the remote installer delivery path. 4. `curl` retrieves attacker-controlled shell content. 5. Bash executes that content immediately without integrity verification. 6. The payload performs arbitrary actions available to the invoking account. ### Impact Assessment Successful exploitation provides arbitrary command execution with the privileges of the user running the installation command. This may permit access to files, environment variables, authenticated sessions, developer credentials, and oth ...[truncated 269 chars]
- Remediation
- ## Remediation Suggestions - Replace the pipe-to-shell command with a version-pinned release artifact from a verified official source. - Download the artifact to disk without executing it. - Verify a vendor-published cryptographic signature and a checksum obtained through an independently protected channel. - Display or inspect the script before execution. - Prefer a signed operating-system package or package manager with publisher and integrity verification. - Document the exact expected installer version, digest, files created, and privileges required. - Keep installation outside automated Skill execution and require explicit user approval before running any installer.
