T03 · Remote Payload Retrieval and Execution
- Location
install.sh:34- Finding
Remote Installer Is Downloaded and Executed Without Integrity Verification
- Content
View full analysis
Vulnerability Details
File Location:
install.sh:34-38; duplicated in installation guidance atREADME.md:76-82
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighVulnerable Code
bash # Install uv if missing if ! check_command uv; then echo "📦 Installing uv..." curl -LsSf https://astral.sh/uv/install.sh | sh export PATH="$HOME/.local/bin:$PATH" fiThe README instructs users to perform the same operation:
bash # 2. Install uv curl -LsSf https://astral.sh/uv/install.sh | sh # 3. Install mlx-audio uv tool install --force mlx-audio --prerelease=allowTechnical Analysis
The installer pipes an HTTPS response directly into a shell. Although
astral.shis associated with the legitimateuvproject, the downloaded content is mutable and is neither version-pinned nor authenticated with a published checksum or signature.This means the effective code executed during installation can differ from the code reviewed in this project. A compromise of the upstream website, delivery infrastructure, DNS/TLS trust chain, or installer publishing process could result in arbitrary shell commands being returned and immediately executed.
Installing
uvis relevant to the Skill's functionality, but directly executing an unverified remote response exceeds the minimum privilege and trust necessary to install that dependency safely.Attack Path
- An attacker compromises the upstream installer endpoint or an element of its delivery chain.
- The attacker modifies the response from
https://astral.sh/uv/install.sh. - A user runs
./install.shor copies the command from the README. curldownloads the attacker-controlled response.- The pipe passes the response directly to
shwithout inspection or integrity verification. - The payload executes with all permissions of the user running the installer.
Impact Assessment
A s ...[truncated 607 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove all
curl | shinstructions from bothinstall.shandREADME.md. - Prefer installation through a trusted operating-system package manager, such as:
bash brew install uv - If direct installation is necessary:
- Pin a specific
uvrelease. - Download the release artifact to disk.
- Verify a publisher-provided cryptographic checksum or signature.
- Abort installation if verification fails.
- Execute the verified local artifact only after validation.
- Pin a specific
- Display the exact version and source that will be installed before changing the system.
- Avoid requesting elevated privileges for any dependency that can be installed within the user's account.
- Remove all
