Security context

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

hyperlane-xyz/hyperlane-monorepo
main @ f6a383e
47
Fixes
0
CVEs
CRITICAL
Peak severity
34.5%
Coverage
Highlights
Denial of Service: 14 prior fixes. Scrutinize any change in this area.
rust/main/agents/relayer/src/msg/metadata/ccip_read/mod.rs: most-fixed (2 issues). Treat as high-risk during review.
35 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.

Authorization Bypass: Multiple high/critical fixes address missing validation of message recipients, amounts, or message IDs, allowing unauthorized fund transfers or withdrawals.
Denial of Service: Recursion depth caps, gas limits, and resource size limits were added to prevent unbounded loops and excessive consumption that could stall message processing.
Insufficient Payment Validation: Insufficient msg.value checks allowed underpayment of fees or forwarding excess ETH to untrusted routes, risking fund loss.