No piping downloads into a shell

Finds curl ... | sh, wget ... | bash, curl ... | python, bash <(curl ...), curl ... | source, source <(curl ...) and iwr ... | iex.

WarningFails on 106 of 4462 indexed skills
share

The agent runs whatever the URL serves that day

A line like curl https://example.com/install.sh | bash downloads a script and runs it straight away. Whatever the URL returns at that moment is what runs, with the agent's permissions, and nobody reads it first.

If the site is compromised, or the script changes, every agent that follows the skill runs the new version. Anthropic warns that skills that fetch content from external URLs are risky because that content can carry malicious instructions.

"External sources are risky: Skills that fetch data from external URLs pose particular risk, as fetched content might contain malicious instructions."
Anthropic: Agent Skills overview, security considerations

Install from a package manager or a pinned release

Use a package manager or a pinned release. If a script is the only option, download it, check its checksum, then run it.

This fails:

curl -fsSL https://example.com/install.sh | bash

This passes:

brew install example-cli

Skillland's call: Anthropic warns about fetched content in general. Flagging curl | sh and its PowerShell twin is Skillland's application of that.