clients/libs
Leslie Tilton 7090547cb8
[PM-19814] Phishing Detection Warning Popup UI (#16064)
* Add PhishingDetectionService

* Add a tab listener.

* Get the known phishing domain from the server

* Get the known phishing domain from the server

* Add phishing detection content script.

* Revert "Add phishing detection content script."

This reverts commit ce64d3435a.

* Fix conflicts

* Add build configs.

* Decouple the phishing detection content script logic from the rest of the app.

* move the call to background

* Add communication between the content script and background service.

* Update code to use Log service.

* Resolve conflict

* Add changes for phishing domain report

* Fix initializer order issue.

* Fix domain error.

* Account for no responses.

* Add exit functionality for onclick.

* Wrapped phishing detection feature behind feature flag (#13915)

* push changes for alert

* Removed browser logic for checking feature flag

* move the alert as dialog

* Add functionality to navigate back in history.

* [PM-19814] Add redirect to warning page when a phishing domain is detected.

* [PM-19814] Add the phishing warning page to the Angular popup.

* [PM-19814] Add functionality to display phishing host.

* [PM-19814] Add exit button and learn more link.

* [PM-19814] Add phishing detection feature flag.

* [PM-19814] Move phishing service to phishing directory

* [PM-19814] Add UI to display phishing URL.

* [PM-19814] Disable the URL input and populate it with the phishing URL.

* [PM-19814] Add phishing icon

* [PM-19814] Temporarily remove phishing reporting feature. It can be released separately in another ticket.

* [PM-19814] Clean up

* [PM-19814] Add types to the handlers.

* [PM-19814] Remove logic for handling authentication since the endpoint will be unauthenticated.

* [PM-19814] Fixed as many type issues as possible; added @ts-strict-ignore to the remaining ones.

* [PM-19814] Fix race condition in feature flag check.

* [PM-19814] Update wording for the marketing request.

* [PM-19814] Move phishing detection check from content script to webRequest.onCompleted listener.

* [PM-19814] Use webNavigation.onCompleted for redirect to ensure that the redirect only happens when they land on the page.

* [PM-19814] Remove unused code.

* [PM-19814] Fix merge conflict and update text based on product owner’s request

* [PM-19814] Fix merge conflict

* [PM-19814] Update text

* Resolve the message catalog entries

* Update file for consistent import and exports

* Update imports

* Update another import for BrowserPopupUtils

* Update the rest of the imports for BrowserPopupUtils

* Updates messages

* Rename files

* Current phishing block changes

* Use globalthis for chrome

* Add types file

* Update browser api to include tab navigation and close tab functions

* Update phishing detection to track multiple tabs and not trust info from content script

* Change chrome to browser.

* Fixed phishing detection checking previous url instead of current on navigation. Updated def flag for testing urls.

* Move phishing icon

* Fix chrome specific issues. Add comments to where BrowserApi should be used

* Fix command errors. Typecheck messages. Added guard for phishing detection messages

* Use concat map instead of merge map

* Unformat webfonts.scss file

* Fix lint and import errors

* Move phishing blocker files to dirt folder

* Rename background folder to services

* Add code ownership for phishing blocker

* Update text to use locales on phishing blocker learn more page

* Change navigation from using webapi to browser on updated event for safari support

* Update icon usage

* Fix type issues and add test file

* Fix linting error in test

---------

Co-authored-by: Jimmy Vo <huynhmaivo82@gmail.com>
Co-authored-by: Cy Okeke <cokeke@bitwarden.com>
Co-authored-by: Conner Turnbull <133619638+cturnbull-bitwarden@users.noreply.github.com>
Co-authored-by: Conner Turnbull <cturnbull@bitwarden.com>
Co-authored-by: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com>
Co-authored-by: Tom <144813356+ttalty@users.noreply.github.com>
2025-09-19 10:56:27 -05:00
..
.vscode Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
admin-console [PM-24633] - group same parent name collections by org (#16404) 2025-09-17 09:25:59 -07:00
angular [PM-25918] Move required userId for export request up to component/command level (#14391) 2025-09-19 13:39:55 +02:00
assets [CL-581] Update svgs to new designs and make responsive (#16219) 2025-09-10 17:23:53 -04:00
auth [CL-581] Update svgs to new designs and make responsive (#16219) 2025-09-10 17:23:53 -04:00
billing Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
client-type refactor: introduce @bitwarden/state and other common libs (#15772) 2025-08-04 11:01:28 -04:00
common [PM-19814] Phishing Detection Warning Popup UI (#16064) 2025-09-19 10:56:27 -05:00
components [Cl-726] layout spacing updates (#15979) 2025-09-19 08:32:30 -07:00
core-test-utils refactor: introduce @bitwarden/state and other common libs (#15772) 2025-08-04 11:01:28 -04:00
dirt/card feat(nx): add basic-lib generator for streamlined library creation (#14992) 2025-06-05 14:20:23 -04:00
eslint [CL-846] forbid hardcoded colors in svg (#16167) 2025-09-10 22:22:39 -04:00
guid refactor: introduce @bitwarden/state and other common libs (#15772) 2025-08-04 11:01:28 -04:00
importer [PM-25629] Hide Chromium importer for Brave/Windows only (#16456) 2025-09-18 12:26:56 -07:00
key-management [PM-25458] Add error handling stubs & logging for critical decrypt paths (#16284) 2025-09-09 10:19:00 -04:00
key-management-ui [PM-16718] Focus unlock with biometrics button on lock view swap (#16342) 2025-09-16 15:14:32 -05:00
logging [PM-22544] Add Performance measurement tools (#15475) 2025-07-17 15:03:57 +02:00
messaging refactor(libs): consolidate messaging-internal into messaging library (#16386) 2025-09-12 13:04:13 +02:00
node [PM-22271] Switch to SDK argon2 implementation, and drop other impls (#15401) 2025-07-15 11:53:58 +02:00
nx-plugin build: ensure new libraries are added to the root jest.config (#16166) 2025-08-27 11:56:42 -04:00
platform Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
pricing [PM-24982] Create Cart Summary Component in Bitwarden Pricing (#16344) 2025-09-10 15:22:16 -04:00
serialization build: ensure new libraries are added to the root jest.config (#16166) 2025-08-27 11:56:42 -04:00
shared Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
state [PM-23243] In sync response and identity success response add MasterPasswordUnlockDataResponse in decryption options response model. (#15916) 2025-09-05 16:13:56 +02:00
state-internal Resolve state <-> state-test-utils circular dependency (#16093) 2025-08-25 12:38:28 -04:00
state-test-utils Resolve state <-> state-test-utils circular dependency (#16093) 2025-08-25 12:38:28 -04:00
storage-core build(nx): create per-lib tsconfig.eslint configs (#15519) 2025-07-07 14:17:52 -07:00
storage-test-utils build(nx): create per-lib tsconfig.eslint configs (#15519) 2025-07-07 14:17:52 -07:00
tools [PM-25918] Move required userId for export request up to component/command level (#14391) 2025-09-19 13:39:55 +02:00
ui Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
user-core build(nx): create per-lib tsconfig.eslint configs (#15519) 2025-07-07 14:17:52 -07:00
vault [PM-24305] Only enable the cipher form when it is disabled (#16259) 2025-09-17 13:58:46 -05:00