Highlights
Cryptography: 1 prior fix. Scrutinize any change in this area.
src/Crypto.php: most-fixed (2 issues). 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.
Cryptography: A variable name reuse vulnerability during legacy decryption caused the HMAC to be verified against unsliced ciphertext rather than the message ciphertext, creating a potential flaw in authentication verification. Future modifications to the decryption pipeline must avoid state shadowing or variable reuse that could corrupt cryptographic bounds.
Timing Attack: Inverting parameters in a constant-time HMAC comparison helper introduces potential timing side-channel leaks of the expected MAC. Developers must strictly enforce the correct parameter order (expected vs. actual) when calling constant-time verification functions.
Denial of Service: An undefined variable reference in the key derivation path caused runtime fatal errors. This demonstrates that key derivation flows are sensitive to state and reference errors which can lead to application crashes.