# Does two-factor authentication stop a malicious browser extension?

> No. Two-factor protects the sign-in, and a malicious extension works after it, inside the session you just opened. It can read the page and act as you. Fewer extensions, and none running on sensitive sites, is the defense.

Haven Field Guide · Question
Canonical page: https://www.starthaven.com/field-guide/q/does-two-factor-stop-malicious-extensions

## How it works

Two-factor and passkeys answer one question: is the person signing in really you? Once you are in, the site trusts your browser session. An extension with access to that site runs inside the same session. It doesn't need your password or your phone, because you already did the hard part. It can read balances and account numbers, change what the page shows you, and send the site's own requests as you.

## A pattern seen often

Someone is told to install a helper for a well-known video-meeting app. The "helper" is an extension. To avoid suspicion it even opens the real app. Then it waits in the browser until the person signs in to their bank.

## How this differs from MFA phishing

A fake sign-in page that relays your code is a different attack, covered in the related question on phishing past MFA. Here there is no fake page at all: the bank site is real.

## What helps

1. Remove extensions you don't use, and question any that ask to read all sites.
2. Keep sensitive sessions free of extensions: a separate profile, or a tool that pauses them there.
3. Sign out and close sensitive tabs when you finish.

## Haven's role

While a Protected site is the tab you're looking at, Haven keeps your other browser extensions paused so nothing can read what you type into a login form, and they come back when you switch away. In Haven's settings, under "Pause other extensions on Protected sites", that is the default, "Only the tab I'm looking at" (Recommended); "While any Protected tab is open" keeps them paused until every Protected tab is closed.

Haven can't switch off an extension that your IT administrator installed through browser policy. When such an extension keeps running on a protected site, Haven does not show that page as protected.

## How Haven handles this

- While a Protected site is the tab you're looking at, Haven keeps your other browser extensions paused so nothing can read what you type into a login form, and they come back when you switch away. In Haven's settings, under "Pause other extensions on Protected sites", that is the default, "Only the tab I'm looking at" (Recommended); "While any Protected tab is open" keeps them paused until every Protected tab is closed. Paused extensions include ad blockers, shopping and coupon tools, writing assistants and AI sidebars. Your password manager keeps working. Pausing is on by default; you can turn it off in Haven's settings, and Haven's other protections keep running. It needs you signed in to the extension and is not limited to paid plans. (verified by engineering 2026-10-29)
- Haven can't switch off an extension that your IT administrator installed through browser policy. When such an extension keeps running on a protected site, Haven does not show that page as protected. (verified by engineering 2026-10-28)

## Related questions

- [Can phishing get past multi-factor authentication?](https://www.starthaven.com/field-guide/learn/can-phishing-get-past-mfa.md): Yes. Adversary-in-the-middle kits relay your sign-in to the real site and capture the session issued after you finish MFA, so the attacker can reuse it. Passkeys and security keys resist this because they're bound to the real domain.
- [What can a malicious browser extension actually do?](https://www.starthaven.com/field-guide/learn/what-can-a-malicious-browser-extension-do.md): An extension with broad permissions can read and change the pages you visit, which can include what you type and the cookies that keep you signed in. A trusted extension can also be sold and updated with harmful code.
- [Why did Haven turn off one of my extensions?](https://www.starthaven.com/field-guide/q/why-did-haven-turn-off-my-extension.md): On Protected sites such as your bank, Haven pauses your other extensions so none of them can read the page. By default they come back when you switch to another tab; a setting keeps them paused while any Protected tab is open. In an organization, your admin may also have disallowed that extension.
- [Should I close my bank's tab when I'm done?](https://www.starthaven.com/field-guide/q/should-i-close-my-banking-tab.md): Yes. A signed-in tab is a live session, and anything running in your browser can use it while it stays open. Sign out, close the tab, and keep extensions you don't need away from your banking sessions.

## Sources

- [Malicious Browser Extensions Are Stealing Enterprise Logins, and MFA Doesn't Stop It — Haven blog](https://www.starthaven.com/blog/malicious-browser-extensions-steal-sessions)
- [5 malicious Chrome extensions enable session hijacking — Socket](https://socket.dev/blog/5-malicious-chrome-extensions-enable-session-hijacking)

## Review

Signed off by Miluse Najmr (2026-11-26).
Last reviewed 2026-11-26.

## More

- Field Guide: https://www.starthaven.com/field-guide
- Every Field Guide entry, with short answers: https://www.starthaven.com/llms-full.txt
- Report a mistake: https://www.starthaven.com/contact?topic=issue
