-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[PM-30563] Change error response on Send Access token request #6911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[PM-30563] Change error response on Send Access token request #6911
Conversation
…required to protect against enumeration attacks.
test: updating tests to match new approach.
|
New Issues (2)Checkmarx found the following issues in this Pull Request
Fixed Issues (29)Great job! The following issues were fixed in this Pull Request
|
|
Claude finished @ike-kottlowski's task in 1m 54s —— View job Code Review: PM-30563 - Change error response on Send Access token requestStatus: Approved SummaryThis PR improves enumeration protection for the Send access email OTP flow by returning identical responses for valid and invalid emails, preventing attackers from determining which emails are associated with Sends. Previous Issue - RESOLVEDThe merge conflict issue identified in my previous review has been correctly fixed in commit Changes Reviewed
Key Changes
Reviewed by Claude Code |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6911 +/- ##
==========================================
+ Coverage 56.05% 56.06% +0.01%
==========================================
Files 1971 1971
Lines 87061 87060 -1
Branches 7758 7760 +2
==========================================
+ Hits 48801 48810 +9
+ Misses 36453 36442 -11
- Partials 1807 1808 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Patrick-Pimentel-Bitwarden
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Changes look good.


🎟️ Tracking
PM-30563
SDK PR: #717
Client PR: #18620
📔 Objective
To ensure that we return the same response for a valid and invalid email, while still sending the OTP to when the email is correct.
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes