Security context

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

across-protocol/relayer
master @ 3f3b918
8
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Denial of Service: 3 prior fixes. Scrutinize any change in this area.
src/dataworker/Dataworker.ts: most-fixed (2 issues). Treat as high-risk during review.
5 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.

Validation Bypass: Refund requests from events were processed without validating origin/destination chain IDs, fill block range, matching fill/deposit, or token validity, allowing invalid requests to cause financial discrepancies.
Validation Bypass: Multicall bundles did not enforce that all transactions target the same contract and chain, enabling potential misrouting or incorrect execution of batched operations.
Improper Access Control: Deposits could be executed against arbitrary periphery addresses nominated by messages, lacking an allowlist, allowing unauthorized or malicious target execution.