Security context

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

nervosnetwork/ckb-vm
develop @ f74f2d2
9
Fixes
0
CVEs
HIGH
Peak severity
25.0%
Coverage
Highlights
Buffer Overflow: 3 prior fixes. Scrutinize any change in this area.
interpreter: most-fixed (2 issues). Treat as high-risk during review.
9 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.

Buffer Overflow: Inadequate boundary validation in FastMemory during trace execution allows arbitrary memory corruption, presenting a severe risk during high-performance assembly execution.
Out of Bounds Write: A critical failure to validate target memory addresses against CKB_VM_ASM_RISCV_MAX_MEMORY in the RISC-V assembly interpreter allows out-of-bounds writes via memory-access instructions.
Memory Safety: Register corruption within the AMO (Atomic Memory Operation) CHECK_WRITE macro on x86_64 backends bypassed bounds checks due to temporary register clobbering, causing out-of-bounds access.