Security context

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

thirdweb-dev/contracts
main @ 0da770f
71
Fixes
20
CVEs
CRITICAL
Peak severity
25.7%
Coverage
Highlights
Auth Bypass: 23 prior fixes. Scrutinize any change in this area.
contracts/token/TokenERC1155.sol: most-fixed (5 issues). Treat as high-risk during review.
54 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: Double-hashing in EIP-712 signature validation allowed attackers to bypass cryptographic signature verification, potentially taking full control of the smart account.
Access Control: The MultiTokenTransferLib utility exposed helper functions publicly instead of internally, allowing unauthorized external parties to call transfer routines directly and drain tokens.
Race Condition: Overwriting active claim conditions incorrectly reset the `supplyClaimed` counter back to zero, allowing malicious users to exceed the intended maximum mint and claim limits.