Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
Sources/Base/OAuth2Base.swift: 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: The password grant flow historically authorized clients without validating the presence of an access token or the absence of an error key in JSON responses, creating critical logic bypass vectors.
Auth Bypass: State validation was vulnerable to bypasses if the state parameter returned from the provider was nil or empty, compromising standard OAuth CSRF protections.
Cleartext Transmission of Sensitive Information: OAuth2 authorizing and token requests did not enforce TLS (HTTPS) transport, risking interception of authorization codes and credentials on unencrypted connections.