4 ms·
Imagine you highlight a command and copy, but Js in the background replaces it with a malicious command.
by tehlike 4y ago
Imagine you highlight a command and copy, but Js in the background replaces it with a malicious command.
- bzxcvbn 4y agoThe answer is simple: don't copy/paste commands, or at the very least review what you're about to execute after pasting. Reasonable terminals give you a warning that you're about to paste multiple lines and let you read the text before okaying. Besides this is irrelevant. Websites have always been able to do what you're describing, because copying is a gesture. This bug doesn't change that.
- Eduard 4y ago"the answer is simple: don't use computers"
- laundermaf 4y agoThat has already been possible for a long time. Try copying text from a news or lyrics website and you’ll see extra junk in your clipboard.