T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:26- Finding
Unverified Remote Installation Scripts Executed Directly by Shells
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 26-29
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Criticalbash curl -LsSf https://astral.sh/uv/install.sh | sh # Windows (PowerShell) powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Technical Analysis
The installation instructions download scripts from an external URL and immediately execute the received content using
shor PowerShell'sInvoke-Expression. The downloaded payload is not pinned to a specific immutable version and is not verified using a cryptographic checksum or signature before execution.The PowerShell command additionally uses
-ExecutionPolicy ByPass, disabling a local protection intended to restrict script execution. Although the URL is presented as the official installation source foruv, direct execution still creates a mutable supply-chain code-execution channel. A compromise of the hosting service, domain, DNS resolution, TLS delivery path, or publisher account could change the effective payload after this Skill has been reviewed.Installing
uvis relevant to the documented workflow, but executing an unverified remote response and bypassing execution policy are not necessary minimum-privilege methods of installation.Attack Path
- A user or Agent follows the installation instructions in
SKILL.md. - The system requests
install.shorinstall.ps1from the external server. - An attacker compromises or otherwise controls the remote delivery path or hosted script.
- The malicious response is passed directly to
shoriexwithout local inspection or integrity verification. - The payload executes with all permissions available to the invoking user.
- The payload can access local data, modify user configuration, steal credentials, install additional software, or establish persistence.
Impact Assessment
Successful exploitatio ...[truncated 530 chars]
- A user or Agent follows the installation instructions in
- Remediation
View remediation
Remediation Suggestions
- Remove all direct
curl | shandirm | iexinstallation commands. - Do not bypass the PowerShell execution policy.
- Prefer a trusted operating-system package manager with a version-pinned package.
- If a standalone installer is required, download a specific immutable release artifact separately.
- Verify the artifact against a publisher-provided cryptographic signature or pinned SHA-256 checksum before execution.
- Display or inspect the downloaded script before running it rather than piping the network response directly into an interpreter.
- Execute installation with an unprivileged account and avoid
sudo, administrator shells, or other unnecessary elevation. - Document the exact expected release version and trusted distribution source so the installation process remains reproducible.
- Remove all direct
