Highlights
Cryptographic Issues: 2 prior fixes. Scrutinize any change in this area.
crates/redstone/src/crypto/mod.rs: most-fixed (4 issues). Treat as high-risk during review.
2 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: An incorrect secp256k1 curve order constant (ECDSA_N) directly compromises the integrity of cryptographic verification, potentially allowing invalid or manipulated signatures to pass validation checks.
Signature Malleability: Insufficient signature component bounds checks and missing malleability protections allow attackers to construct alternative valid signatures, potentially leading to replay attacks or bypasses of uniqueness constraints.
Signature Malleability: Missing signature length validation before public key recovery can trigger out-of-bounds panics, causing denial-of-service conditions in contract execution environments.