Finding: LayerZero Config Immutability Risk. Protocol-level architectural gap confirmed against
live mainnet contracts. Two independent tests verify: (1) contract state confirms
the vulnerable configuration is active, (2) no on-chain mitigation enforcement
exists at the protocol level.
Fork Test Output
Ran 2 tests for test/POC002Real.t.sol:POC002RealTest
[PASS] testNoMitigationPresent() (gas: 10010)
[PASS] testVulnerabilityExists() (gas: 13643)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 400.69ms (93.45ms CPU time)