Skip to content

Comment on Show HN: Run unknown shell script with a line-by-line confirmation prompt

Comments

It’s probably possible to craft a script that looks innocuous line-by-line, but does something malicious as a whole.

Indeed. If the person does not understand why/what is encoded by things like xxd or base64 or using tr to swap/filter characters, then one should hopefully pull the eject lever. When in doubt, one can sandbox scripts and see what they are in effect trying to do.

Or LFS=

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.