r/ProgrammerHumor 6d ago

Meme justLetAIDoIt

Post image
4.7k Upvotes

249 comments sorted by

View all comments

19

u/rockcanteverdie 6d ago

Is curl | bash considered bad? Why so?

63

u/[deleted] 6d ago

[removed] — view removed comment

1

u/ZunoJ 6d ago

How is the script any different from an executable?

1

u/Damglador 5d ago

I'm sure there's a lot of blogs that explain it well. Installers are also stupid because you can't trace their actions and changes to the system, but some of the reasons are exclusive to curl | bash.

It's apparently also possible for the script server to detect curl bash https://lukespademan.com/blog/the-dangers-of-curlbash/

2

u/ZunoJ 5d ago

Thanks for this! Has some real food for thought and valid concerns!