Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
lib/pusher/authentication.rb: most-fixed (3 issues). Treat as high-risk during review.
3 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: Signature generation did not bind the HTTP method, allowing an attacker to replay a signed request with a different method (e.g., POST vs GET) and still pass authentication.
Auth Bypass: Authentication lacked timestamp validation, enabling replay attacks within a valid window, and failures were not raised explicitly, masking invalid attempts.
Authentication Bypass: The authenticate_by_token! method did not require an auth_version parameter, so omitting it could bypass authentication entirely.