Security context

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

dapphub/ds-token
master @ 16f187a
11
Fixes
0
CVEs
HIGH
Peak severity
87.5%
Coverage
Highlights
Access Control: 4 prior fixes. Scrutinize any change in this area.
src/token.sol: most-fixed (11 issues). Treat as high-risk during review.
7 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: The burn function previously allowed burning tokens from arbitrary addresses without validating allowances or trust relationships, bypassing the core token authorization model.
Logic Error: Parameter naming mismatches (validating 'value' but passing or declaring 'x') in 'transferFrom' completely bypassed critical rule validation checks, leaving token transfers unvalidated.
Access Control: Sensitive transfer and approval operations lacked the 'stoppable' modifier or correct wrapper enforcement, which could allow unauthorized state changes when the token was intended to be paused.