This is just a PoC. Now imagine that the author instead:
1. Writes up that post.
2. Inserts an iframe in the post, which enumerates known sites. (hidden out of view with css tricks)
3. Instead of alerting on screen, sends the results back to their server.
4. Submits to HN.
It's also REALLY easy to deliver that malicious site through web ads, especially background pops.
Re:LastPass autofill exploit
by martin-adams on Wednesday July 27, 2016 @06:06AM
(#12171631)
My interpretation is. How I could create a web page that give ME all the commonly used site's passwords for ANY last pass visitor who has autofill enabled.
So no, I don't think it will only give you your own passwords.
Update: after a few answers to my badly thought through comment, I now feel enlightened. The attack scenario is a malicious web site which can gobble up my passwords. Thanks