T03 · Remote Payload Retrieval and Execution
- Location
references/install-auth-and-profiles.md:8- Finding
Unverified Remote Installer Execution in Installation Guidance
- Content
View full analysis
Vulnerability Details
File Location:
references/install-auth-and-profiles.md, lines 8–16
Vulnerability Type: Remote payload retrieval and immediate shell execution
Risk Level: HighVulnerable Code
markdown | Environment | Good install choice | | --- | --- | | Generic macOS/Linux shell | `curl -fsSL https://resend.com/install.sh \| bash` | | Node-heavy dev machine | `npm install -g resend-cli` | | Homebrew-managed machine | `brew install resend/cli/resend` | | Windows PowerShell | `irm https://resend.com/install.ps1 \| iex` |Technical Analysis
The recommended Unix and Windows installation commands retrieve remotely mutable scripts and immediately execute them with
bashor PowerShell. The instructions do not pin a release, save the script for inspection, or verify a checksum or cryptographic signature.Although the scripts are hosted on the declared vendor domain, this does not provide artifact-level integrity. Compromise of the vendor website, CDN, DNS, TLS issuance, or installer publication process could change the effective code after this Skill has been reviewed.
These installation commands are relevant to the Skill's functionality, but immediate interpreter piping exceeds the minimum privilege and trust necessary to install the CLI safely. This file only documents the commands and does not execute them automatically.
Attack Path
- An attacker compromises or gains influence over the remote installer delivery path.
- A user or agent follows the documented
curl | bashorirm | iexcommand. - The shell executes the remotely supplied content without integrity verification.
- The payload inherits the invoking user's environment and filesystem permissions.
- The payload can steal accessible credentials, alter files, install additional software, or modify subsequent CLI behavior.
Impact Assessment
Successful exploitation provides arbitrary code execution with ...[truncated 282 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove all instructions that pipe network responses directly into an interpreter.
- Download a versioned release artifact to a local file before execution.
- Pin the expected CLI version rather than using a mutable installer endpoint.
- Verify a vendor-published SHA-256 checksum or cryptographic signature.
- Prefer a trusted, version-pinned package-manager installation where practical.
- For PowerShell, download the installer separately, validate its Authenticode signature or published hash, and only then invoke it.
- Explain the trust boundary and require explicit user approval before running any installer.
