Security context

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

kkrt-labs/kakarot
main @ 563af42
22
Fixes
0
CVEs
HIGH
Peak severity
30.0%
Coverage
Highlights
Auth Bypass: 7 prior fixes. Scrutinize any change in this area.
solidity_contracts/src/CairoPrecompiles/DualVmToken.sol: most-fixed (3 issues). Treat as high-risk during review.
19 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: Signature malleability and incorrect validation limits allow unauthorized transactions if bounds (such as EIP-2 SECP256K1N // 2 limits) are not rigidly checked on transaction inputs.
Signature Verification Bypass: Validation flaws in transaction decoding and parsing of variable-sized signature components (like R and S values or y_parity limits) risk permitting forged or malformed transactions.
Integer Overflow: Missing overflows and saturation checks during low-level EVM operations like ADDMOD, BYTE, or gas calculations allow math underflows/overflows that disrupt VM logic.