Security context

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

openware/peatio
2-6-stable @ bafe530
66
Fixes
0
CVEs
CRITICAL
Peak severity
67.7%
Coverage
Highlights
Auth Bypass: 36 prior fixes. Scrutinize any change in this area.
app/api/api_v2/auth/authenticator.rb: most-fixed (9 issues). Treat as high-risk during review.
56 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 core API authenticator has been patched 9 times for signature and token bypasses, indicating a high-risk attack surface where subtle payload/parameter handling errors enable replay or forgery.
Auth Bypass: JWT verification was repeatedly flawed: used private key for decoding, lacked claim verification, and allowed algorithm confusion. These are classic critical auth bypasses.
Auth Bypass: Multiple 2FA bypasses in Google Authenticator setup/verification flow, including missing checks on show/update actions and session unlock issues.