Security context

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

openid/appauth-ios
master @ afd241c
6
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
Source/OIDAuthorizationService.m: 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: Parsing OAuth 2.0 authorization responses prior to confirming that the response 'state' parameter matches the initiated request state allows for state validation bypasses. State validation must always occur as a strict gate before processing parameters.
Auth Bypass: Omitting or taking shortcuts during ID token signature and claim verification during token exchange violates the OpenID Connect Core specification, opening the application to token forgery and identity spoofing.
Insecure Deserialization: Using standard secure decoding without specifying a strict allowlist of classes (e.g., failing to explicitly permit NSArray during NSSecureCoding unarchiving) can cause application instability or arbitrary class instantiation.