T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:55
- Finding
- Unverified Remote Shell Script Execution## Vulnerability Details **File Location**: `SKILL.md`, line 55 **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 downloads a shell script from an external server and pipes the response directly into Bash. The downloaded content is neither pinned to an immutable release nor verified using a cryptographic signature or checksum before execution. Consequently, the effective code executed by this Skill can change after the Skill itself has been reviewed. HTTPS protects data in transit under normal conditions, but it does not protect against compromise of the hosting server, publication account, DNS or certificate infrastructure, or the upstream installer. The `-f`, `-s`, and `-S` options also minimize output and may make it harder for a user to inspect what is being executed. This installation behavior exceeds the minimum privileges needed for the declared Alibaba Cloud ACK connector functionality. Installing the CLI may be necessary when it is absent, but immediately granting a mutable network response shell execution is not necessary. A pinned and integrity-verified installation process can provide the same functionality with substantially less risk. ### Attack Path 1. The `oo` CLI is absent, causing an action to fail with `oo: command not found`. 2. The agent or user follows the first-time setup instructions in `SKILL.md`. 3. An attacker compromises the remote installer, its hosting infrastructure, publication process, DNS resolution, or another component in the delivery chain. 4. `curl` retrieves the attacker-controlled response from the installer URL. 5. The pipe passes that response directly to Bash without local inspection or integrity verification. 6. The malicious script executes with all permissions available to the user runnin ...[truncated 728 chars]
- Remediation
- ## Remediation Suggestions - Remove the `curl | bash` installation pattern. - Pin the CLI to a specific, reviewed release and download the artifact without immediately executing it. - Publish and verify a cryptographic signature using a trusted, separately distributed signing key. At minimum, verify a release-specific SHA-256 checksum obtained through an independent trusted channel. - Abort installation if signature or checksum verification fails. - Display the artifact source, pinned version, expected digest, and intended installation location before proceeding. - Require explicit user approval before executing an installer or making system changes. - Run installation with ordinary user privileges whenever possible and avoid unconditional use of `sudo`. - Prefer a trusted package manager with package-signature verification and version pinning. - Keep the existing guidance that installation occurs only after a genuine command-not-found failure, but do not treat that condition as authorization to execute unverified remote code.
