News for hackers. Stuff that matters.
Re:Show HN: Inspect questionable scripts before piping them ... by Xavi on Saturday May 16, 2015 @05:11PM (#9557632)
Just brain storming... could another possible solution be to create a public list of hashes of well known scripts, and then write a small `sh` wrapper that verifies that hash of the script it's about to execute?
Re:Show HN: Inspect questionable scripts before piping them ... by sean-duffy on Saturday May 16, 2015 @05:13PM (#9557643)
You mean like... a package manager?
Re:Show HN: Inspect questionable scripts before piping them ... by Xavi on Sunday May 17, 2015 @01:22PM (#9560811)
Well a package manager does much more than verify downloads, but sure you can think of it as a single featured package manager.
Re:Show HN: Inspect questionable scripts before piping them ... by mekazu on Saturday May 16, 2015 @10:14PM (#9558413)
You shouldn't always trust even 'trusted' scripts due to the potential for various types of man in the middle attacks. True, though, that with all things being equal some scripts are more trustworthy than others, but if you're on a compromised network then you can't trust any.