T03 · Remote Payload Retrieval and Execution
Error
- Location
- reference/install.md:3
- Finding
- Unverified Remote Installer Executed Directly by Shell## Vulnerability Details **File Location**: `reference/install.md`, line 3 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ### Vulnerable Code ```sh curl -fsSL https://nummo.ai/install | sh ``` ### Technical Analysis The installation command retrieves a script from an external URL and pipes the response directly into `sh`. The downloaded script is not present in the audited project and therefore cannot be statically inspected. Its behavior can also change after this Skill has been reviewed. The command does not pin an installer version, validate a cryptographic checksum, or verify a digital signature. Although HTTPS protects the connection in transit under normal conditions, it does not protect users if the domain, hosting environment, deployment process, or installer itself is compromised. Installing the CLI is relevant to the Skill's declared functionality, but executing an unverified and mutable server response is not the minimum privilege or minimum trust mechanism necessary to perform that installation. ### Attack Path 1. A user follows the installation instructions in `reference/install.md`. 2. The user's shell requests the current response from `https://nummo.ai/install`. 3. An attacker who has compromised the domain, hosting infrastructure, TLS termination, deployment pipeline, or installer content substitutes malicious shell commands. 4. Because the response is piped directly to `sh`, those commands execute immediately without an inspection or integrity-verification step. 5. The payload operates with the permissions of the user running the command and can access resources available to that account. ### Impact Assessment Successful exploitation provides arbitrary shell-command execution with the invoking user's privileges. Depending on those privileges and the remote payload, this may permit filesystem modification, credential or session-token theft, financial-data expos ...[truncated 432 chars]
- Remediation
- ## Remediation Suggestions 1. Replace the direct `curl | sh` pipeline with a download-first installation process that allows inspection before execution. 2. Publish immutable, versioned release artifacts from a documented official release repository. 3. Pin the requested CLI version and platform-specific artifact rather than using a mutable installer endpoint. 4. Publish SHA-256 checksums over an independently protected channel and require checksum validation before installation. 5. Prefer digitally signed release artifacts and document signature verification using a pinned public key. 6. Make the complete installer source available for audit and clearly document every file, permission, and path it modifies. 7. Avoid requiring elevated privileges. Install into a user-controlled directory unless a system-wide installation is explicitly requested and justified. 8. If an installer script remains necessary, download it to a local file, verify its integrity and signature, allow the user to inspect it, and only then execute it.
