Security context

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

reserve-protocol/trusted-fillers
main @ 5ca2633
5
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Signature Bypass: 4 prior fixes. Scrutinize any change in this area.
contracts/extras/ImmutableTokenJar.sol: most-fixed (4 issues). Treat as high-risk during review.
4 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.

Signature Bypass: Multiple fixes corrected signature verification, indicating a high risk of unauthorized order fills if the wrong message format or prefix is used.
Signature Bypass: Switching from ECDSA.recover to SignatureChecker.isValidSignatureNow indicates a prior gap in supporting contract-based signers, which could be exploited.
Access Control: Missing check for self-trading could allow an attacker to manipulate the jar's token balance or price.