Security context

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

zama-ai/concrete
main @ ecb729b
6
Fixes
1
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
backends/concrete-cpu/implementation/src/c_api/secret_key.rs: most-fixed (1 issue). Treat as high-risk during review.
3 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.

Insecure Defaults: The client support layer incorrectly bound the encryption seed to the secret seed's value, severely compromising cryptographic entropy and seed independence. Developers must ensure distinct, strong entropy sources are mapped correctly to their respective parameters.
Auth Bypass: A failure to write the encrypted ciphertext output back to the provided C output pointer could lead to uninitialized memory use or silent execution failures, acting as a structural bypass in ciphertext validation.
Double Free: Declaring and initializing dynamic STL containers such as std::vector in a C++ header file included across multiple translation units caused double-free vulnerabilities at runtime during static destruction.