More RLP limits, sizes, and positions checks#11488
Conversation
|
Claude finished @alexb5dh's task in 8m 18s —— View job PR Review: More RLP limits and sizes checks
SummaryThis PR adds important input validation across the RLP decoding stack — sequence length checks on withdrawals, typed-tx envelope guards, blob count limits, trailing-bytes rejection in the execution payload, and cross-boundary checks in P2P message parsers. The core security fixes are all correct and well-motivated. There are no critical or high-severity issues. Two medium-severity issues were found in test code, plus three low-severity observations. Correctness — Main CodeAll the substantive production-code changes look correct:
FindingsMedium1.
2.
Low3. Unused 4. V0 and V1 proof-count limits produce identical error messages — both 5. Test CoverageNew tests are well-structured and cover the right scenarios: cross-boundary withdrawal attack, all five blob-count per-array limits, versioned hash size enforcement, and execution payload trailing-bytes rejection. |
|
@claude re-review |
|
Claude finished @alexb5dh's task in 3m 59s —— View job PR Re-Review: More RLP limits and sizes checks
Status of Previous FindingsAll five items from the first review have been addressed:
Fresh Review of All ChangesProduction code correctness:
No new Critical, High, or Medium findings. Remaining Low Observation
SummaryAll previously-flagged medium issues are resolved. The security fixes (cross-boundary withdrawal, typed-envelope legacy rejection, blob count caps, versioned hash size enforcement, execution payload trailing bytes) are correct and align with how other clients behave. The PR is ready to merge. |
|
Claude finished @alexb5dh's task in 2m 55s —— View job PR Re-Review: More RLP limits and sizes checks
SummaryAll previously-flagged Medium issues have been resolved, and the V0/V1 proof-limit disambiguation Low issue has also been fixed. The Status of Previous Findings
No New Issues FoundAll production-code changes were re-verified:
This PR is ready to merge. |
RLP fixes related to collection sizes, limits, and post-decode positions checks.
Changes
Rlp.DecodeByteArraysTypes of changes
What types of changes does your code introduce?
Testing
Requires testing
If yes, did you write tests?