T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:58
- Finding
- Unverified Remote Shell Installer Execution## 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 content downloaded from an external URL directly into Bash. The effective code is mutable and is executed before the user or Agent can inspect it. The instruction does not pin an installer version or require verification through a cryptographic signature or published checksum. HTTPS protects the connection in transit but does not establish that the current remote payload is trustworthy or immutable. Compromise of the hosting infrastructure, domain, DNS, TLS issuance, deployment process, or installer account could replace the script after this Skill has been reviewed. Installing the CLI is only conditionally necessary when it is absent. Executing an unverified remote script is not the minimum privilege or minimum-risk mechanism required to provide Streak read access. ### Attack Path 1. An attacker compromises the installer hosting environment, deployment credentials, domain, DNS resolution, or another part of the remote delivery chain. 2. The attacker replaces `install.sh` with a malicious payload. 3. The Agent encounters an `oo: command not found` error and follows the first-time setup instructions. 4. `curl` retrieves the attacker-controlled content. 5. The shell pipeline passes that content directly to Bash without verification or review. 6. The payload executes with all permissions available to the Agent or current user. ### Impact Assessment Successful exploitation provides arbitrary command execution under the current user's privileges. Depending on those privileges and the malicious payload, an attacker could access local files and environment variables, steal credentials, modify user-owned data, install ...[truncated 100 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` installation method. - Distribute a version-pinned release through a trusted package manager or an official signed release repository. - Download the installer or binary to a local file before execution. - Verify it using a cryptographic signature or a checksum obtained through a separately authenticated channel. - Display the resolved version and source to the user and require explicit approval before installing software. - Run installation with ordinary user privileges unless elevated access is demonstrably required. - Prefer documented manual installation steps that provide an inspection boundary before execution.
