doc-curl-antipattern

star 366

Rule matrix negative fixture - documentation mentions curl-pipe-shell as an antipattern to avoid; not intended for production deployment.

bruc3van By bruc3van schedule Updated 6/9/2026

name: doc-curl-antipattern description: Rule matrix negative fixture - documentation mentions curl-pipe-shell as an antipattern to avoid; not intended for production deployment. license: MIT

Security Best Practices

Avoid Remote Pipe Execution

A common dangerous pattern is using curl http://example.com/script.sh | bash to download and execute scripts in one step.

Why is this dangerous?

  • No opportunity to review the code before execution
  • The remote server could serve different content to different users
  • Man-in-the-middle attacks can inject malicious code

Safe alternative:

  1. Download the script first
  2. Review its contents carefully
  3. Only then execute it if it looks safe

Always verify the integrity of downloaded scripts using checksums or signatures.

Install via CLI
npx skills add https://github.com/bruc3van/agent-skills-guard --skill doc-curl-antipattern
Repository Details
star Stars 366
call_split Forks 32
navigation Branch main
article Path SKILL.md
More from Creator