Security context

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

LayerZero-Labs/solidity-examples
main @ cdc9399
12
Fixes
0
CVEs
HIGH
Peak severity
25.0%
Coverage
Highlights
Access Control: 5 prior fixes. Scrutinize any change in this area.
contracts/token/oft/v2/OFTCoreV2.sol: most-fixed (3 issues). Treat as high-risk during review.
10 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.

Access Control: Multiple fixes address unauthorized token transfers due to incorrect _from handling or missing allowance checks, indicating systemic weakness in authorization logic across OFT variants.
Reentrancy: Reentrancy guards added to clearCredits and _mint functions across ONFT core and upgradeable variants, showing repeated exposure in NFT credit/mint operations.
Authentication Bypass: Cross-chain message sender validation was missing, allowing spoofed messages to trigger token transfers or state changes; fixes added caller validation and remote address allowlists.