SMT2 formal verification of security-critical code paths
CVE-2026-33322 class: OIDC token verifiers must reject HS* signatures when verifier key material can include client secrets. This catches sibling JWT algorithm-confusion variants where key selection by kid and permissive alg allow attacker-forged HMAC tokens to impersonate arbitrary identities.
; benchmark generated from python API
(set-info :status unknown)
(declare-fun oidc_asymmetric_jwt_only () Int)
(assert
(<= oidc_asymmetric_jwt_only 0))
(assert
(>= oidc_asymmetric_jwt_only 0))
(assert
(and (distinct oidc_asymmetric_jwt_only 1) true))
(check-sat)