Security context

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

bitwarden/clients
main @ 3247136
237
Fixes
50
CVEs
CRITICAL
Peak severity
23.7%
Coverage
Highlights
Auth Bypass: 124 prior fixes. Scrutinize any change in this area.
apps/web/src/connectors/duo-redirect.ts: most-fixed (4 issues). Treat as high-risk during review.
77 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.

Auth Bypass: WebAuthn requests processed inside content scripts were vulnerable to unauthorized interception and generation by compromised or sandboxed iframes failing strict document permissions policy checks.
Sandbox Escape: Misconfigured Node integration and disabled context isolation inside the Electron wrapper permitted malicious renderer processes to execute arbitrary OS commands and bypass shell execution boundaries.
Path Traversal: Custom file protocol resolvers and attachment download commands were vulnerable to directory traversal, allowing local file access or write operations outside sandbox constraints when canonicalization and prefix checks were omitted.