T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:16- Finding
Mutable Remote Installer Is Piped Directly into a Shell
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 16
Vulnerability Type: Remote payload retrieval and immediate execution
Risk Level: HighVulnerable Code:
bash curl -LsSf https://astral.sh/uv/install.sh | shTechnical Analysis
The installation instructions retrieve a mutable shell script from an external URL and pipe its contents directly into
sh. The script is executed before the user or agent can inspect it, and the command provides no version pinning, cryptographic signature verification, or checksum validation.HTTPS authenticates the server connection under ordinary conditions but does not establish that the script is immutable or safe. The effective payload can change after this Skill has been reviewed. Compromise of the hosting domain, its deployment infrastructure, DNS or certificate ecosystem, or the upstream installer could therefore turn this documented prerequisite step into arbitrary code execution.
This behavior exceeds the minimum privileges necessary for the declared anime search and download functionality. The Skill only needs an available package runner; it does not inherently need permission to retrieve and execute an unrestricted installation script. The apparent use of Astral's documented domain reduces the likelihood of abuse but does not remove the remote execution risk.
Attack Path
- A user asks the agent to search for or download anime content.
- The agent follows
SKILL.mdand checks whetheruvxis installed. - If
uvxis unavailable, the agent executes the documentedcurl | shcommand. - The response from
https://astral.sh/uv/install.shis sent directly to the shell without local review or integrity validation. - If the remote delivery source or installer has been compromised, attacker-controlled shell commands execute with the privileges of the user running the agent.
- Those commands could access user-readable files, modify shell config ...[truncated 741 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | shinstruction and treatuvoruvxas an explicit prerequisite that users install separately through a trusted system package manager. - If automated installation is required, pin an audited release rather than retrieving a mutable installer endpoint.
- Download the installer or release artifact to a local file without executing it immediately.
- Verify a publisher-provided cryptographic signature or a trusted, version-specific SHA-256 checksum before execution.
- Allow the user to inspect and explicitly approve the downloaded artifact.
- Run installation with ordinary user privileges and do not recommend
sudounless a separately justified operation requires it. - Document the exact files and directories the installation is expected to modify.
- Remove the
