T03 ยท Remote Payload Retrieval and Execution
- Location
SKILL.md:27- Finding
Unverified Remote Installer Executed Directly by the Shell
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:27
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 pipe its contents into
sh. The script is not pinned to a reviewed version, saved for inspection, or verified using a cryptographic signature or checksum.Although
astral.shis the documented Astral domain, this construction makes the code executed by users dependent on the content returned at installation time. A compromise of the upstream website, deployment infrastructure, redirect destination, or signing account could replace the installer after the Skill has already passed review.Installing software through an unrestricted remote shell script also exceeds the minimum privileges needed by the Skill's image-analysis functionality. The core functionality only requires an available, trusted client dependency; it does not inherently require executing mutable installation logic from the network.
Attack Path
- An attacker compromises the upstream installer, its hosting infrastructure, or a redirect destination followed because
curluses-L. - The attacker modifies the response at
https://astral.sh/uv/install.shto contain arbitrary shell commands. - A user follows the documented Quick Start instructions.
curlretrieves the modified response and passes it directly tosh.- The payload executes without an opportunity for inspection or integrity verification.
Impact Assessment
A substituted installer can execute arbitrary commands with all permissions held by the user running the installation. This can include reading or modifying user files, stealing credentials, installing persistence, downloading additional payloads, and accessing other resources available ...[truncated 242 chars]
- An attacker compromises the upstream installer, its hosting infrastructure, or a redirect destination followed because
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | shinstallation instruction. - Prefer a package-manager installation mechanism that provides versioning and integrity controls.
- Alternatively, download a specific release artifact as a separate step, pin its version, and verify a publisher signature or documented SHA-256 checksum before execution.
- Present download, verification, and installation as distinct commands so users can inspect the artifact.
- Require
uvxor an equivalent reviewed dependency to be installed before the Skill runs rather than installing it automatically with unrestricted shell code. - Explicitly advise users not to perform installation as root.
- Remove the
