T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:58
- Finding
- Unverified Remote Shell Script Execution on macOS and Linux## Vulnerability Details **File Location**: `SKILL.md`, line 58 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High **Vulnerable Code**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction pipes a remotely hosted script directly into Bash. The downloaded payload is not pinned to a version and is not authenticated through a published checksum or digital signature before execution. Consequently, the effective code can change after the Skill has been reviewed. Although the URL uses HTTPS and its domain is consistent with the named vendor, transport encryption alone does not establish the integrity of future script versions. Compromise of the vendor endpoint, hosting infrastructure, DNS resolution, TLS trust chain, or publishing account could cause arbitrary attacker-controlled commands to be executed. This behavior is conditional on the `oo` command being unavailable and is not needed during ordinary connector operations when the CLI is already installed. It therefore exceeds the minimum privileges required for the Skill's normal read-only Autotask functionality. ### Attack Path 1. An attacker compromises or redirects `https://cli.oomol.com/install.sh`, or malicious content is published at that mutable endpoint. 2. The `oo` CLI is absent, causing a user or agent to follow the documented first-time setup procedure. 3. `curl` retrieves the attacker-controlled response. 4. The shell pipe sends the response directly to Bash without local inspection or integrity verification. 5. Bash executes the payload with all privileges and environment access available to the invoking user. 6. The payload may access local files and credentials, modify user configuration, download further components, or transmit data externally. ### Impact Assessment Successful exploitation provides arbitrary command execution under the in ...[truncated 638 chars]
- Remediation
- ## Remediation Suggestions - Replace direct `curl | bash` execution with a version-pinned installation artifact from a verified official release. - Download the artifact to a local file without executing it automatically. - Publish and verify a cryptographic checksum from an independently authenticated source. - Prefer a signed package and verify its digital signature and expected signer identity. - Allow the user to inspect the downloaded script before execution. - Require explicit user approval before running any installer. - Prefer a trusted operating-system package manager where packages, versions, and signatures can be validated. - Run installation with ordinary user privileges and avoid `sudo` unless a specific, documented operation requires it. - Document the exact files, network destinations, and configuration changes made by the installer.
