Re:Don't copy paste from a website to a terminal
by jeffcox on Thursday November 12, 2015 @02:51PM
(#10555629)
Little Snitch serves this purpose to some extent on OS X. If the malicious hidden script invoked a remote server I'd get a popup asking if I would like to allow it.
Re:Don't copy paste from a website to a terminal
by hueving on Thursday November 12, 2015 @06:17PM
(#10556894)
Assuming the script didn't inject malware in a way that allowed traffic bypassing little snitch.
Re:Don't copy paste from a website to a terminal
by stcredzero on Thursday November 12, 2015 @04:27PM
(#10556267)
And in such a scenario, it's going to get out pretty quickly that the site is compromised/dangerous.
If a perpetrator is smart, the malicious script is going to be hidden a few invocation layers deep, and will only remain up for short intervals. A naive or stupid perpetrator is going to get caught quickly. But the medium is such that a smart one can hope to evade detection.
While this doesn't help that theoretical set of initial victims, it just doesn't feel like a credible risk worthy of too much worry, especially for information from higher profile sites with reputable backing.
Perhaps the solution here is better mechanisms for validating what a script can do - "script is attempting to access xyz, allow? y/n".