with one click
doc-curl-antipattern
Rule matrix negative fixture - documentation mentions curl-pipe-shell as an antipattern to avoid; not intended for production deployment.
Menu
Rule matrix negative fixture - documentation mentions curl-pipe-shell as an antipattern to avoid; not intended for production deployment.
Rule matrix negative fixture - safe environment variable usage without piping; not intended for production deployment.
Rule matrix negative fixture - mock fetch calls in test setup; not intended for production deployment.
Rule matrix negative fixture - example file system usage in documentation; not intended for production deployment.
Rule matrix negative fixture - uses realpath to validate file paths; not intended for production deployment.
Rule matrix negative fixture - plain text file with .pdf extension marker; not intended for production deployment.
Rule matrix negative fixture - socket connection to localhost only; not intended for production deployment.
| 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 |
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?
Safe alternative:
Always verify the integrity of downloaded scripts using checksums or signatures.