Security context

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

zkemail/zk-email-verify
main @ 9f01979
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
packages/helpers/src/lib/mailauth/dkim-verifier.ts: most-fixed (1 issue). Treat as high-risk during review.
2 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: A logical condition error during DKIM parsing allowed critical body hash validation to be skipped under specific header configurations, potentially permitting forged emails to pass authentication.
Auth Bypass: The lack of access control on administrative functions allowed unauthorized callers to modify trusted mailserver public keys, directly compromising the contract's trust roots.