T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:96
- Finding
- Unverified Remote Shell Installer Execution## Vulnerability Details **File Location**: `SKILL.md`, line 96 **Vulnerability Type**: Remote payload retrieval and immediate shell execution **Risk Level**: Critical ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command retrieves a mutable script from an external server and pipes it directly into Bash. The remote payload is neither pinned to a reviewed version nor validated using a cryptographic checksum or signature before execution. Consequently, the code that executes may differ from the content available when the Skill was audited. Trust is delegated to the remote host, its infrastructure, DNS and TLS trust chain, and any systems used to publish the installer. Although installing the CLI supports the declared Slack connector functionality, immediate execution of an unverified remote payload exceeds the minimum necessary installation behavior. ### Attack Path 1. The `oo` command is unavailable in the environment. 2. The agent or user follows the first-time setup instructions. 3. An attacker compromises the installer host, publishing pipeline, CDN, or another component of the delivery path. 4. `curl` retrieves the modified `install.sh` payload. 5. The shell executes the payload immediately without an inspection or integrity-verification step. 6. The malicious installer performs arbitrary actions using the privileges of the account that invoked the command. ### Impact Assessment Successful exploitation permits arbitrary command execution with the current user's privileges. The accessible scope may include user files, environment variables, active session data, locally available credentials, and modification of user-level applications or configuration. If the command is invoked from a privileged account, the impact expands to all resources available to that account. No privilege escalation or persistence behavior is directly demonstrated in t ...[truncated 103 chars]
- Remediation
- ## Remediation Suggestions - Remove the direct `curl | bash` installation pattern. - Prefer an official package manager that supports pinned package versions and package-signature verification. - If a standalone installer is required, download a versioned artifact to a local file without executing it immediately. - Publish the expected SHA-256 or stronger digest through an independently protected release channel and verify it before execution. - Cryptographically sign release artifacts and verify the signature against a pinned, documented publisher key. - Allow the user to inspect the downloaded script before explicitly approving execution. - Run installation with ordinary user privileges unless a specific, documented operation strictly requires elevation. - Pin the documentation to a reviewed installer version rather than an unversioned mutable endpoint.
