Security context

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

Chia-Network/clvm_rs
main @ 15bad6b
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
src/allocator.rs: most-fixed (1 issue). 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.

Memory Safety: Unsound internal APIs returning references to temporary buffers (such as 'temp_vec') can lead to use-after-free or data corruption when the buffers are subsequently reused or overwritten. Developers must ensure references do not outlive their backing allocations by utilizing owned arrays or strict borrow lifetimes.
Auth Bypass: Returning falsey or status code values instead of raising immediate execution errors during BLS signature verification can allow validation failures to be ignored or misinterpreted by calling contracts, leading to authentication bypasses.