T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:167- Finding
Remote Installer Downloaded and Executed Without Integrity Verification
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:167Vulnerability Type: Remote payload retrieval and direct shell execution Risk Level: CriticalVulnerable Code:
bash curl -LsSf https://astral.sh/uv/install.sh | shTechnical Analysis
The troubleshooting instructions pipe the response from an external URL directly into
sh. The retrieved script is not pinned to an immutable version and is not inspected or verified using a cryptographic checksum or signature before execution.Although the URL appears to be the official installer endpoint for uv, the effective payload is mutable and resides outside this audited project. Consequently, the code that will execute may differ from the code available at audit time. Compromise of the upstream server, publishing process, DNS resolution, certificate infrastructure, or network path could turn this instruction into an arbitrary-code-execution channel.
Direct execution also prevents the user from reviewing the downloaded content before it runs. This behavior exceeds the minimum privileges required to explain how to install a prerequisite safely.
Attack Path
- An attacker compromises the remote installer endpoint, its deployment process, or another component of the delivery chain.
- The user or Agent encounters the documented
uvx: command not foundcondition. - The Agent follows the remediation instruction and executes the
curl | shpipeline. curlretrieves the attacker-controlled response.- The response is immediately interpreted by the local shell without integrity verification or review.
- The payload performs arbitrary actions with the privileges of the user running the Agent.
Impact Assessment
Successful exploitation provides arbitrary command execution under the invoking user's account. The resulting payload could read or modify user-accessible files, steal source code and credentials, alter shell or Agent configuration, in ...[truncated 380 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | shinstallation instruction. - Prefer a trusted operating-system package manager or another installation mechanism that supports version pinning and package-signature validation.
- If a standalone installer is necessary:
- Pin an exact uv release.
- Download the artifact to a local file without executing it.
- Obtain the expected checksum or signature through a separately authenticated release channel.
- Verify the artifact before execution.
- Display the exact artifact, version, and intended changes to the user.
- Require explicit user approval before running it.
- Execute installation with ordinary user privileges and never recommend
sudounless a separately justified operation requires it. - Direct users to the official installation documentation rather than automatically executing mutable remote content.
- Remove the direct
