Security context

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

google/tink
master @ 1f4cd38
126
Fixes
1
CVEs
CRITICAL
Peak severity
36.8%
Coverage
Highlights
Cryptographic Issues: 37 prior fixes. Scrutinize any change in this area.
java/src/main/java/com/google/crypto/tink/subtle/Ed25519.java: most-fixed (4 issues). Treat as high-risk during review.
46 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 Issues: Mishandling identifier formats (such as converting raw bytes into a UTF-8 string) allowed ciphertext malleability where mutated identifiers still resolved to valid primitives (associated with CVE-2020-8929).
Auth Bypass: Failure to strictly validate the key ID ('kid') parameter in JWT headers allowed attackers to bypass signature validation by spoofing key IDs or exploiting mismatching key states.
Cryptographic Issues: In-place mutation of private key buffers during scalar multiplication could leak private key material or lead to corrupt signature states.