Security context

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

matter-labs/zksync-os
main @ f91897c
5
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Integer Overflow: 3 prior fixes. Scrutinize any change in this area.
basic_bootloader/src/bootloader/account_models/eoa.rs: most-fixed (1 issue). Treat as high-risk during review.
5 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.

Integer Overflow: Overflow in parsing u32 values and encoding offsets can lead to incorrect transaction parsing and denial of service.
Integer Overflow: Unchecked errors from try_begin_next_tx can cause overflow when reading transaction length, leading to incorrect processing and DoS.
Integer Overflow: Carry overflow not propagated in bigint multiplication can produce incorrect computation results, potentially breaking system invariants.