-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent notification authentication MFA fatigue attacks
Prior to this change, if a bad actor could obtain the login credentials of a user, and the user has push notifications enabled, the bad actor could trigger a flood of push notifications in the hope the user would push one. This change makes it so a push notification will never be sent if the user did not complete a QR authentication in the browser. If a QR is scanned, the most recently used notification address is stored in a secure cookie. If that address is still the same when a user logs back in, a push notification will be sent allowing the user to perform MFA. Resolves #290
- Loading branch information
Showing
40 changed files
with
2,557 additions
and
450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.