[PM-32424] Send Access Enumeration protection#821
Conversation
|
Great job! No new security vulnerabilities introduced in this pull request |
🔍 SDK Breaking Change Detection ResultsSDK Version:
Breaking change detection completed. View SDK workflow |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #821 +/- ##
==========================================
+ Coverage 82.30% 82.31% +0.01%
==========================================
Files 346 346
Lines 41401 41434 +33
==========================================
+ Hits 34075 34108 +33
Misses 7326 7326 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| async fn request_send_access_token_invalid_grant_invalid_otp_error() { | ||
| // Create a mock error response | ||
| let error_description = "otp is invalid.".into(); | ||
| async fn request_send_access_token_invalid_request_invalid_otp_error() { |
There was a problem hiding this comment.
request_send_access_token_invalid_request_invalid_email_error and request_send_access_token_invalid_request_invalid_otp_error are in the invalid_grant_tests module but both assert InvalidRequest responses.
They should be moved to request_send_access_token_invalid_request_tests even though they used to be invalid grant errors.
|
Claude finished @ike-kottlowski's task in 2m 30s —— View job Re-Review: ApprovePR: PM-32424 Send Access Enumeration protection SummaryChanges since last review are test-only improvements that address prior feedback: test function names were updated to better describe enumeration protection semantics (e.g., Full PR AssessmentChanged files:
Security: The changes correctly implement enumeration protection by removing specific OTP error variants from the SDK. The server now returns a generic Breaking changes: Removing No issues found. |
|
…ccess Enumeration protection (bitwarden/sdk-internal#821)




🎟️ Tracking
PM-32424
Client PR: bitwarden/clients#19422
Server PR: bitwarden/server#7166
📔 Objective
Improve enumeration protection of Sends
🚨 Breaking Changes