Code Poets, HAIL! Need your gorgeous thoughts re using #JavaScript event listeners to flip content of an #HTML element for malicious exploits. Seems way too easy, with the copying and the pasting, oh my! Help reality check me, peas and carrots, thxu ๐Ÿฅ• ๐Ÿ˜›bleepingcomputer.com/news/seโ€ฆ
3
3
3
there are valid uses for event listeners for copying/pasting, as well as for manually setting the value of the clipboard (which is what's happening here, it's not changing the content of the element). it's important to always check copy/pasted terminal contents before running -
2
1
Replying to @jegtnes
Thanks Alex ๐Ÿ˜Š. Especially for clarity on what is actually happening with the event listener in relation to the HTML and content. Very helpful.

Jan 4, 2022 ยท 5:29 PM UTC