Live data from Hacker News

Look before you paste from a website to terminal

lifepluslinux.blogspot.com

1–2 of 2 posts

Re: Look before you paste from a website to terminal

#2
Very creative. Not sure how one could defend against it; perhaps by noticing if there is a significant difference between the byte count of text and its rendered area, or just don't allow selection of offscreen text to begin with?

On the terminal side, perhaps a way to warn about pastes that match certain expressions such as "sudo"?