Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
core/crypto/src/elgamal.rs: most-fixed (1 issue). Treat as high-risk during review.
8 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.
Auth Bypass: Ignoring the return value of zero-knowledge proof verification allows completely invalid or unsatisfiable proofs to be accepted as valid, bypassing the entire system security model.
Replay Attack: Failing to include and inputize a transaction nonce inside the confidential transfer zk-SNARK circuit makes transfers vulnerable to replay attacks, potentially draining user balances.
Logic Error: Passing the wrong verification identity (e.g., the asset issuer instead of the target account) to signature validation allows unauthorized parties to manipulate or destroy assets they do not own.