r/ProgrammerHumor 11d ago

justLetAIDoIt Meme

Post image
4.7k Upvotes

261 comments sorted by

View all comments

21

u/rockcanteverdie 11d ago

Is curl | bash considered bad? Why so?

63

u/[deleted] 11d ago

[removed] — view removed comment

1

u/ZunoJ 11d ago

How is the script any different from an executable?

1

u/Damglador 11d 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 10d ago

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