T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:59
- Finding
- Unverified Remote Shell Script Download and Execution## Vulnerability Details **File Location**: `SKILL.md:59` **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation instruction pipes a remotely downloaded shell script directly into Bash. The effective code is controlled by the remote server and can change after the Skill has been reviewed. The instruction does not pin a release, verify a checksum or cryptographic signature, or provide an opportunity to inspect the script before execution. HTTPS protects data in transit but does not protect against compromise of the publishing infrastructure, malicious replacement of the hosted installer, or misuse of the vendor's deployment credentials. Because the script executes as the invoking user, it can perform any operation available to that account. ### Attack Path 1. The `oo` command is unavailable, causing the documented first-time setup path to be used. 2. An attacker compromises the installer host, its publishing pipeline, or credentials capable of modifying `install.sh`. 3. The user or agent runs the documented `curl | bash` command. 4. `curl` downloads the current attacker-controlled response without validating a pinned digest or signature. 5. Bash immediately executes the response with the invoking user's privileges. 6. The payload can modify files, execute additional programs, access user-readable credentials, or establish persistence within the account's permission boundary. ### Impact Assessment Successful exploitation provides arbitrary command execution with the privileges of the user running the installer. This may expose local files, environment variables, application credentials, and NetSuite-related business data accessible to that account. The payload may also modify user configuration or install persistent components. If the command is run by an administrator, th ...[truncated 46 chars]
- Remediation
- ## Remediation Suggestions - Replace the pipe-to-shell command with a version-pinned package or release artifact from the official distribution channel. - Download the artifact to a local file without executing it automatically. - Publish and require verification of a cryptographic signature or a checksum obtained through an independently authenticated channel. - Display the resolved version, source URL, and requested installation scope before execution. - Require explicit user approval before installing software or making system changes. - Run installation with ordinary user privileges unless elevated access is strictly required. - Prefer a trusted operating-system package manager with package signing and reproducible version selection. - If a script remains necessary, document a safer sequence such as download, signature verification, inspection, and explicit execution as separate steps.
