Security context

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

mit-plv/fiat-crypto
master @ f626727
1
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Integer Overflow: 1 prior fix. Scrutinize any change in this area.
curves: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

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

Integer Overflow: Incorrect casting of signed integers to unsigned before executing right-shift operations led to faulty carry/borrow calculations (e.g., in subborrowx operations for Curve25519 and P-224). This can compromise the constant-time properties or mathematical correctness of the cryptographic primitives, potentially enabling side-channel attacks or private key leakage.