this post was submitted on 04 Aug 2026
447 points (98.9% liked)

Programmer Humor

32610 readers
1247 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
(page 2) 23 comments
sorted by: hot top controversial new old
[–] Unleaded8163@fedia.io 29 points 10 hours ago (1 children)

If you trust the site, curl | sh is no worse than any other install method. If you don't trust the site, it's also no worse.

[–] kayzeekayzee@lemmy.blahaj.zone 3 points 8 hours ago (4 children)

yeah you can also just curl > cat and check the script yourself

[–] FishFace@piefed.social 9 points 8 hours ago (2 children)

Do you mean curl | cat or do you really want to create a file called cat?

Also piping to cat seems redundant but malicious hosts can detect whether the request is getting redirected, using some clever trick, so it's not.

Also, your chance of spotting something bad in a malicious script is probably quite small.

[–] cenzorrll@piefed.ca 6 points 8 hours ago

This is my opinion on curl | sh/bash type directions. If the maintainers don't provide a hash so I can confirm that is what they intended, there ain't much I can do unless someone slapped in a function named "totallyNotMalware" into the script. I've looked through scripts, seen what they do, but I'm not good enough to recognize anything funky.

load more comments (1 replies)
[–] not_IO@lemmy.blahaj.zone 3 points 7 hours ago

or just curl

load more comments (2 replies)
[–] testaccount789@sh.itjust.works 20 points 10 hours ago


I don't know what the first one is about. Is it about how the Gemini webpage displays the output?

[–] raspberry_confetti@lemmy.ml 2 points 10 hours ago
load more comments
view more: ‹ prev next ›