Prevent Pastejacking: attacks on users via copy & pasting
See http://thejh.net/misc/website-terminal-copy-paste and https://github.com/dxa4481/Pastejacking. (Overview article also here)
I don't know whether this has already been discussed before (think so, but could not find anything in GitLab).
In my tests, it did not work with zsh and GNOME Terminal, but with bash the examples did work.
Solution
Maybe as shown here you can do it like iTerm and display a warning if a "suspicious" command is pasted. (One with newlines or so)
At least as an optional security feature, it would be very nice.
Edited by rugk