T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:35- Finding
Unverified Remote Installer Executed Through a Shell Pipeline
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 35
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighVulnerable Code:
bash curl -LsSf https://astral.sh/uv/install.sh | shTechnical Analysis
The installation instructions download a mutable script from an external URL and immediately execute it with
sh. The downloaded content is not pinned to a specific version and is not verified using a cryptographic checksum or signature. Because it is never stored for inspection, users cannot meaningfully review the effective payload before execution.HTTPS protects the connection in transit under ordinary conditions, but it does not protect users if the hosting infrastructure, DNS/TLS trust chain, or upstream installer itself is compromised. The behavior also exceeds the minimum privileges necessary for image analysis: the Skill only needs a known-compatible dependency, not arbitrary execution of whichever installer content the URL returns at installation time.
Attack Path
- An attacker compromises the remote installer, its hosting infrastructure, or a relevant distribution channel.
- The attacker changes the response from
https://astral.sh/uv/install.shto include malicious shell commands. - A user follows the documented Quick Start command.
curlsends the attacker-controlled response directly tosh.- The malicious commands execute with all privileges and filesystem access available to the invoking user.
Impact Assessment
Successful exploitation provides arbitrary command execution under the account running the installation command. If the command is run by an administrator or root, the payload could obtain full system control. Possible consequences include credential theft, file modification, additional payload installation, persistence, and compromise of other data accessible to the user.
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | shinstallation instruction. - Require users to install a specific, audited release of
uvthrough a trusted package manager, or download a version-pinned release artifact. - Verify the artifact against a vendor-published cryptographic signature or SHA-256 checksum before executing or installing it.
- Store downloaded installation material locally so it can be reviewed before execution.
- Perform installation using a non-root account and grant only the filesystem permissions required by the Skill.
- Document the exact supported dependency version and update it through a controlled review process.
- Remove the
