Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

mongodb/node-mongodb-native
main @ 995edbf
22
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
auth/scram.js: most-fixed (5 issues). Treat as high-risk during review.
14 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Authentication Bypass: Multiple SCRAM fixes address payload parsing, digest verification, and iteration count validation, indicating a fragile authentication flow where subtle bugs could bypass mutual authentication.
Improper Certificate Validation: Defaults for sslValidate and rejectUnauthorized were changed from false to true, meaning TLS certificate validation was disabled by default, exposing connections to MITM attacks.
Auth Bypass: Wildcard host matching in the OIDC allowlist was too permissive, allowing partial-suffix spoofing and unauthorized hosts to pass.