by CodesInChaos · 6y ago · 0 comments
The only way to prevent that would be making the token purpose bound, and displaying that purpose on the trusted 2FA device.
https://security.stackexchange.com/questions/157756/mitm-att...
The security model relies on the browser validating the origin.
Domain binding protects you from fishing, but still relies on the user's computer, including the browser, being secure. So it doesn't help here.