The only way to guard against such an attack would be for websites to use an encrypted connection such as HTTPS.
So... Gmail, Outlook, PayPal, Amazon, iTunes/Apple Pay, Facebook, etc. is out.
Who cares?
You shouldn't type any password, any personal information or your credit card account over HTTP, full stop.
This is a complete non issue, and sites like MacRumors should follow their recommendation and use HTTPS.
[doublepost=1479741422][/doublepost]
I wonder...I just took delivery of a Powerline Wi-Fi extender which sends the data through the powerlines within the house. Now that USB-C combines data and charging capabilities, I wonder if it would be possible to hack into a charging Mac through the power cable?
Anyone know?
There's no power cable.
If you see a strange network adapter, then don't be stupid.