clients/apps/browser
Alex 41c547015d
[PM-32843] Fix phishing blocker not blocking HTTPS variants of HTTP URLs (#19265)
* fix(phishing): check alternate protocol when matching URLs against block list

The phishing blocker's IndexedDB lookup only checked the exact URL href.
When the block list contains http:// entries but the browser auto-redirects
to https://, the lookup failed silently. This adds O(1) alternate-protocol
lookups (swapping http:// ↔ https://) with the same trailing-slash
normalization.

[PM-32843]

* test(phishing): add unit tests for alternate-protocol URL matching

Covers HTTP→HTTPS and HTTPS→HTTP matching, trailing slash normalization
with protocol swap, short-circuit when exact match is found, no false
positives, and non-HTTP protocol handling.

[PM-32843]
2026-03-16 11:21:50 -07:00
..
.vscode Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
config feat(account-switching) [PM-5594]: Enabling account switching causes performance issues on safari (#18339) 2026-01-27 14:27:13 -05:00
scripts [BRE-1530] Updating certificate name from 8bit to Bitwarden (#19380) 2026-03-04 16:16:12 -05:00
spec Fix skipped memory storage tests (#18168) 2026-01-05 11:12:31 +01:00
src [PM-32843] Fix phishing blocker not blocking HTTPS variants of HTTP URLs (#19265) 2026-03-16 11:21:50 -07:00
store Autosync the updated translations (#19410) 2026-03-06 08:31:44 +00:00
webpack [PM-22629] Forbid importing popup outside (#15168) 2025-06-13 08:54:49 -05:00
.gitignore Ps/pm 2910/browser header component (#6641) 2023-10-25 18:27:32 +00:00
CLAUDE.md [PM-26337] Create a Claude markdown file (#16676) 2025-10-03 16:48:01 +02:00
crowdin.yml Fix Crowdin Pull workflow (#2667) 2022-05-10 10:20:32 -04:00
jest.config.js Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
package.json Bumped client version(s) 2026-02-23 11:48:40 +00:00
postcss.config.js eslint: report unused disable directives (#13463) 2025-03-10 09:33:08 -04:00
project.json build(nx): fix serve browser (#16972) 2025-10-22 06:21:25 -04:00
README.md Remove gitter chat badges from READMEs (#19368) 2026-03-04 16:33:27 +00:00
tailwind.config.js [CL-434] Swap extension to use tailwind preflight (#17054) 2025-12-09 15:40:00 -05:00
test.setup.ts [deps] Platform: Update @types/chrome to v0.1.0 (#15697) 2025-09-26 17:02:39 +02:00
tsconfig.json [CL-761] Enable strict template typechecking (#17334) 2025-11-25 11:04:37 -05:00
tsconfig.spec.json [CL-525] Upgrade angular to v19 (#14815) 2025-06-02 13:13:31 -04:00
webpack.base.js generate sourcemaps for mv3 background.js (#19227) 2026-03-02 10:15:29 -05:00
webpack.config.js refactor(nx): remove unneeded tsconfig.build.json & adjust nx docs (#16864) 2025-10-14 11:07:23 -04:00

Github Workflow build browser on main Crowdin

Bitwarden Browser Extension

The Bitwarden browser extension is written using the Web Extension API and Angular.

My Vault

Documentation

Please refer to the Browser section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.