Highlights
Cryptographic Issue: 1 prior fix. Scrutinize any change in this area.
aes_gcm_kw.go: 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.
Cryptographic Issue: Decryption path lacked nonce size validation, allowing malformed IVs to reach AES-GCM and potentially cause panics or incorrect plaintext.
Invalid Curve Attack: Ephemeral public key was not validated to be on the intended elliptic curve before key derivation, enabling invalid curve attacks that can leak the private key.