Security context

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

opengsn/gsn
master @ da4222b
23
Fixes
0
CVEs
HIGH
Peak severity
39.1%
Coverage
Highlights
Auth Bypass: 9 prior fixes. Scrutinize any change in this area.
contracts/RelayHub.sol: most-fixed (4 issues). Treat as high-risk during review.
8 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.

Auth Bypass: Attackers could bypass designated routing mechanics and hijack relay calls because the system failed to enforce that the actual transaction sender matched the designated relay worker encoded in the signed payload.
Signature Malleability: The omission of chainId validation within the EIP712 domain separator allowed valid transaction signatures from one network to be replayed maliciously on another.
Denial of Service: Relayers could be subjected to excessive gas-draining or griefing attacks because the system lacked constraints on paymaster acceptance budgets and calls to external gas estimators.