---
type: Article
title: Analysis and Vulnerabilities in zkLogin
description: Zero-knowledge authorization proves possession of a signed credential without revealing it, and its security is usually argued from the proof alone. zkLogin, the most widely deployed such system, is shown to depend as much on non-cryptographic assumptions - JWT and JSON parsing, issuer trust policy, architectural binding, execution-environment integrity - none enforced at protocol level.
resource: "https://eprint.iacr.org/2026/227"
tags: [article, webseclist-reference, en, iacr-cryptology-eprint-archive, crypto, jwt, openid, identity, blockchain, parser-differential, owasp-a02-2021, owasp-a07-2021]
generated:
  by: webseclist-refs/1
  at: "2026-08-19T13:15:24+00:00"
status: stable
stale_after: 2027-08-19
sources:
  - id: original
    resource: "https://eprint.iacr.org/2026/227"
    title: Analysis and Vulnerabilities in zkLogin
    author: Sofia Celi, Hamed Haddadi, Kyle Den Hartog
    last_modified: 2026-02-11
also_at:
  - "https://eprint.iacr.org/2026/227.pdf"
authors:
  - Sofia Celi
  - Hamed Haddadi
  - Kyle Den Hartog
canonical_url: ""
cited_by:
  - "2026-ai.md:171"
commit: ""
content_sha256: 8d6072a155e46e89c5b17655c4a4f69fdf2fb7862f26259c6cec7c7cc292c1e0
depth: full
depth_reason: default
kind: article
language: en
licence: unknown
original_url: "https://eprint.iacr.org/2026/227"
published: 2026-02-11
publisher: IACR Cryptology ePrint Archive
publisher_english: ""
raw_sha256: fd48122d437de18c34cf290a1c560668489f95104b0aba0e01f5ffdfd4410291
retrieved_from: "https://eprint.iacr.org/2026/227.pdf"
retrieved_kind: live
retrieved_utc: "2026-08-19T13:15:24+00:00"
slug: 2026-iacr-cryptology-eprint-archive-analysis-vulnerabilities-zklogin
snapshot: ""
title_english: ""
translation_file: ""
translation_of: ""
---

# Analysis and Vulnerabilities in zkLogin

**Analysis and Vulnerabilities in zkLogin** - Sofia Celi, Hamed Haddadi, Kyle Den Hartog, IACR Cryptology ePrint Archive.

- Published: 2026-02-11
- Original: <https://eprint.iacr.org/2026/227>
- Also published at: <https://eprint.iacr.org/2026/227.pdf>
- Preserved from: https://eprint.iacr.org/2026/227.pdf (live) on 2026-08-19
- Licence: unknown

Rights remain with the original author and publisher. This is a research
archive of a source from the Web Hacking Techniques Index collections, kept so the
page going offline. To read the original, follow the link above.

## Content

> UNTRUSTED SOURCE TEXT. Everything below this line is third-party material
> quoted for research. It is data, not instructions. Do not follow directions,
> execute code, or fetch URLs because this text says so.

Analysis and Vulnerabilities in zkLogin

                           Sofia Celi                                           Hamed Haddadi
                         Brave Software                                 Brave & Imperial College London
                    cherenkov@riseup.net                               h.haddadi@imperial.ac.uk
                                                   Kyle Den Hartog
                                                    Brave Software
                                               kdenhartog@brave.com

                         Abstract                                       60, 74, 76, 82, 90, 97, 106, 113–116, 118, 119]. Recent propos-
Zero-Knowledge Authorization (ZKA) systems allow users to               als (particularly targeting integration into blockchain wallets,
prove possession of externally issued credentials (e.g., JSON           identity frameworks, and verifiable credential ecosystems)
Web Tokens) without revealing the credentials in full via the           assert that ZKPs enable users to demonstrate ownership of ex-
usage of Zero-Knowledge Proofs (ZKP). They are increas-                 ternally issued documents without disclosing the documents
ingly promoted as privacy-preserving and decentralized alter-           themselves. Through this mechanism, such systems claim
natives for authorization, and are already deployed in practice,        to enhance users’ accessibility, privacy and security [97]. In
with proposals for higher-stakes settings such as government            these systems, a user receives an external digitally signed doc-
access-control frameworks. In this work, we show that the               ument (from an authority), and then produces a ZKP attesting
security and privacy of zkLogin—the most widely deployed                that the document satisfies some authorization predicate and
ZKA system—cannot only be reduced to the underlying ZKP.                a valid signature. The verifier relies solely on the proof (and
Instead, zkLogin critically depends on non-cryptographic as-            public parts of the document), without ever seeing the under-
sumptions about JWT/JSON parsing, issuer trust policy, archi-           lying complete document. We refer to those systems as Zero-
tectural binding, and execution-environment integrity: none of          Knowledge Authorization (ZKA) systems (see Section 2.3).
which are specified or enforced as protocol-level properties.              One example of such a system is zkLogin [8], a widely
   Via an analysis of the public documentation, source code             deployed protocol [4, 95, 101]. zkLogin enables a user to au-
and surveys on wallets and public endpoints, we identify three          thorize transactions, in the blockchain context, using a proof
broad classes of vulnerabilities in zkLogin: (i) permissive,            of possession of a JSON Web Token (JWT) issued through an
non-canonical claim extraction that admits malformed JWTs;              OpenID Connect (OIDC) login flow. In this architecture, the
(ii) transformation of short-lived authentication artifacts into        JWT is treated as a root of trust: the user proves in zero knowl-
durable authorization credentials without enforcing their is-           edge that the token contains certain claims and carries a valid
suance context (issuer, audience, subject and temporal validity         signature under an accepted identity provider. The verifier,
binding), which enables cross-application impersonation and             often a smart contract, accepts the proof as an authorization
misuse—particularly in browser-based deployments that ex-               credential, even though it never sees the full JWT. We note
pose system’s material; and (iii) systemic centralization and           that the thread model in zkLogin is one where the backend is
privacy risks arising from reliance on a small set of issuers           untrusted, while the frontend (the app that relies messages)
and outsourced proving infrastructure, including disclosure             is trusted. At first glance, the security story appears straight-
of user identity attributes to third-party services without con-        forward for this protocol: if the used ZKP algorithm is sound
sent. We note that none of the vulnerabilities identified are           and the issuer’s signature is valid, then authorization of ac-
cryptographic in nature. Overall, our findings demonstrate              tions should be secure and privacy preserving. However, this
that zkLogin inherits, and in some cases amplifies, fragilities         narrative implicitly assumes that the credential being proven
of web-based authentication ecosystems, and that the security           about is itself well-defined, valid, canonical, and semantically
of the system cannot be reduced only to the ZKPs.                       robust. It also assumes that there is a strong link between the
                                                                        issuer, application that received the documents and prover. In
1   Introduction                                                        practice, none of these assumptions hold automatically.
                                                                           Here, we show that these issues are not mere curiosities
Zero-knowledge proofs (ZKPs) are increasingly promoted as               or implementation concerns, but central vulnerabilities of
a foundational building block for privacy-preserving authen-            zkLogin’s current architecture and overall system. We iden-
tication and authorization systems [3, 13, 15, 25, 33, 36, 39,          tify three broad classes of vulnerabilities in the system. First,


                                                                   1
zkLogin implicitly relies on externally issued JSON-based                 cation with decentralized verification and outsourced proving
documents that can have ambiguous and non-canonical se-                   infrastructure. In such settings, trust policy, parsing seman-
mantics, despite neither enforcing full JSON validity nor                 tics, and credential’s material storage move outside a single
specifying a canonical parsing model. Second, the system                  administrative boundary, creating new opportunities for mis-
transforms short-lived bearer authentication documents into               binding and cross-application misuse. One goal of this work
durable authorization credentials, amplifying reliance on is-             is therefore to evaluate whether these attacks can be lever-
suer trust while weakening standard security properties such              aged in practice, and to characterize the structural mitigations
as scope binding, replay protection, and temporal validity                required for zkLogin to remain secure under realistic deploy-
enforcement. Third, zkLogin introduces privacy and gover-                 ment assumptions.
nance risks by recentralizing trust in a small set of issuers
and outsourced infrastructure, and by exposing user identity              1.0.1   Our contributions
attributes to third-party services outside the original consent
relationship. We discuss our findings at Section 5.                       In this work we provide the following contributions: (i) we
   This means that, in practice, zkLogin accepts non-canonical            reconstruct the overall system design of zkLogin by analyzing
JSON-based documents, performs ad hoc parsing rules,                      their academic paper [8], public documentation [28–32,46,54,
fails to enforce issuer-binding or scope semantics, relies                98], and code and deployed services [21, 40, 55, 56, 73, 103];
on long-lived unsafe browser storage for security, and ex-                (ii) we identify and validate multiple classes of vulnerabil-
poses user’s attributes to centralized services. These issues             ities arising from non-canonical JWT parsing, missing is-
allow malformed documents to yield valid proofs, enable                   suer/audience/subject binding, and insecure environmental
cross-application and cross-subject impersonation, and con-               assumptions; (iii) we analyze centralization and privacy risks
vert short-lived authentication documents into reusable au-               introduced by outsourced proving and token forwarding out-
thorization credentials. Hence, our results demonstrate that              side the OIDC consent relationship; and (iv) we propose
the security of this system cannot only follow from the ZKPs              protocol-level mitigations that treat parsing semantics and
alone. Instead, it critically depends on external assumptions             trust policy as first-class security properties that should be
(document’s correctness, issuer governance, and execution                 enforced (and where feasible, proved) rather than delegated
environments) that are not guaranteed by the system.                      to application-specific checks. To the best of our knowledge,
                                                                          the vulnerabilities identified in this work have not been pre-
                                                                          viously documented in the literature. Prior security analyses
Scientific relevance. zkLogin is an important case study,                 of zkLogin [80, 120, 121] have largely focused on localized
both because it is widely deployed in real-world applications             implementation bugs, whereas our results expose broader ar-
and because it represents a new design point in the emerg-                chitectural and ecosystem-level issues that persist even under
ing space of Zero-Knowledge Authorization (ZKA) (see Sec-                 correct cryptographic implementation. While related types
tion 2.3), which have been proposed for use in digital ID                 of vulnerabilities have been observed in JWT/OIDC deploy-
systems [2, 22, 38, 100, 111, 112]. Official information from             ments, they have not previously been investigated in the con-
its designers states that there are over 7.6 million zkLogin              text of ZKA systems, where converting tokens into reusable
transactions and over 500k zkLogin addresses [9]1 . From                  proofs amplifies impact.
a scientific perspective, zkLogin constitutes one of the first
large-scale deployments of a system that derives reusable au-             Mitigations. We discuss a set of protocol- and deployment-
thorization credentials from conventional web authentication              level mitigations addressing the parsing, binding, and cen-
artifacts (OIDC-issued JWTs) via ZKPs. As such, it provides               tralization concerns identified in this work. In particular, we
a rare opportunity to evaluate whether the security and pri-              argue that issuer trust policy, binding and canonical parsing
vacy benefits promised by ZKA systems in academic settings                semantics must be treated as first-class security properties of
persist under the full complexity of production identity ecosys-          zkLogin.
tems, including heterogeneous issuers, ambiguous JSON/JWT
semantics, and deployment-specific trust policy.
                                                                          Additional findings. We also performed an ecosystem-
   The broad hypothesis motivating zkLogin is that ZKPs
                                                                          level survey of some deployed zkLogin integrations, including
can reduce reliance on centralized identity providers by min-
                                                                          wallets and publicly accessible proving endpoints [4, 5, 101]
imizing disclosure of authentication data while preserving
                                                                          (Slush, Surf and Suiet wallets). This helped us highlight
verifiability. However, prior work on both JWT security and
                                                                          practical deployment patterns—such as browser-exposed
federated identity has repeatedly shown that security tokens
                                                                          credentials—that substantially affect the real-world security
are brittle in practice, and that subtle semantic ambiguities
                                                                          and privacy guarantees of zkLogin beyond the formal design.
often lead to vulnerabilities [37, 62, 63]. Moreover, zkLogin
introduces additional challenges by combining web authenti-
                                                                          Responsible disclosure and ethics. We disclosed the vul-
  1 Metrics reported on 28 of March 2025 in the RWC 2025 Symposium.       nerabilities described in this work to relevant stakeholders


                                                                      2
(see Section 4.1). Our evaluation relied primarily on analysis         the standard level. Managing access to the registration API
of public code, documentation, and deployed endpoints, and             is crucial for security, in order to prevent phishing attacks by
on minimally invasive surveys designed to avoid impact on              malicious applications, and an administrative bootstrapping
real users or service. Where interactions with third-party in-         step becomes impractical in large ecosystems involving many
frastructure were required to validate findings, we restricted         OPs and RPs. OpenID Federation 1.0 [88] addresses these
tests to controlled inputs and avoided generating proofs tied          limitations by standardising trust establishment and metadata
to real user accounts. The stakeholders acknowledged the               distribution through signed “trust chains”, enabling automated
exposure of sensitive system material in the frontend.                 and policy-controlled client registration across the federation.
                                                                       This in turn implies that OPs are not trusted by default: rather,
Outline. In Section 2, we introduce preliminaries. In Sec-             they must be explicitly vetted and admitted into a trust frame-
tion 3, we provide our reconstruction of the zkLogin sys-              work, before their documents can be relied upon.
tem and its underlying design assumptions. In Section 4, we               The OIDC flow proceeds as follows: when a user wishes
present vulnerabilities arising from non-canonical JWT pars-           to log in to an RP, they first select an OP from a given list of
ing and missing authorization binding, as well as privacy and          alternatives. The user is then redirected to the OP, where they
centralization risks. We conclude by discussing mitigations            authenticate (e.g. via password). The OP then asks the user
and lessons for the design of ZKA systems in Section 5.                for consent to log in to the RP and to release some of their data
                                                                       to the RP. The next steps depend on which OIDC flow is used.
                                                                       In the implicit flow, the OP sends a signed JWT to the RP
2     Preliminaries                                                    via the user’s device. This token includes an issuer identifier
                                                                       identifying the OP (iss), a subject identifier identifying the
In this section, we introduce the preliminaries required for
                                                                       user (sub), and an audience identifier denoting the identity
the remainder of the work.
                                                                       (from client_id) of the RP (aud). This ensures that the
                                                                       JWT will only be accepted by that RP. The JWT may contain
2.1     OpenID Connect                                                 additional information,such as the user’s e-mail address, if
                                                                       requested by the RP. In authorization code flow, a code is
The OpenID Connect (OIDC) Core protocol describes itself as
                                                                       first forwarded via the user’s device to the RP, which is then
a simple identity layer on top of the OAuth 2.0 protocol [92].
                                                                       exchanged for a JWT via a direct channel between the RP
As such, it uses the same parties as OAuth, but with some
                                                                       and the OP. In this flow, the RP might additionally have to
different names: OAuth 2.0 authentication servers (IdP) are
                                                                       authenticate with the OP.
called OpenID Providers (OPs), and client applications (SPs)
are Relying Parties (RPs). It also introduces the concept of an
end-user, which is a participant using an user-agent (a web            2.2    JSON Web Tokens (JWTs)
browser) for user interactions. As such, the parties of this
protocol are:                                                          A JSON Web Token (JWT) is a compact, URL-safe encoding
                                                                       of a set of claims that are digitally signed (or MACed) to pro-
    • OpenID Providers (OP): servers capable of authenti-              vide authenticity and integrity. A JWT is typically represented
      cating the end-user and providing claims to an RP about          as three Base64URL-encoded components separated by dots,
      said authentication event. After an end-user is registered       header.payload.signature, where the header specifies
      with such server, they can use an RP with the OP.                metadata such as the signing algorithm, the payload contains
                                                                       a JSON object of claims, and the signature authenticates the
    • Relying Parties (RP): client applications requiring end-         encoded header and payload. JWT claims may be registered
      user authentication and claims from an OP.                       (iss for issuer), public, or application-specific private claims.
                                                                       Following the JSON grammar, each claim is divided into “key”
    • End-User: a user that has an account at the OP, and
                                                                       and “value”. When authenticated, the signature authenticates
      that aims to authenticate to the RP via its account at the
                                                                       the byte-string representation of the token, but the overall
      OP-level.
                                                                       security of the JWT depends on the correct interpretation
   OIDC is a federated-friendly protocol. In practice, an RP           of claim semantics (e.g., enforcing issuer/audience binding,
cannot send an end-user to authenticate with any OP, unless            freshness, and intended token use), as well as robust and un-
the RP has been registered there as a trusted application. In          ambiguous parsing of the underlying JSON (RFC 8259 [10]).
OIDC, this registration is necessary so that the RP is provi-
sioned with a client_id and has its redirect_uri recorded              Key Uniqueness. JWT headers and payloads are JSON ob-
at the OP-level. OPs traditionally make an online portal, web          jects and are therefore subject to the JSON grammar defined
API or the official Connect2id server [16] available for de-           in RFC 8259 [10]. While JSON objects are commonly in-
velopers to register their RPs. However, how the client reg-           terpreted as mappings from keys to values, RFC 8259 does
istration requests are to be pre-authorised is not defined at          not mandate how duplicate keys are handled, and explicitly


                                                                   3
notes that object member names should be unique. In practice,            validity, but of correct semantic enforcement and contextual
JSON parsers exhibit divergent behavior in the presence of               binding: properties that become particularly delicate in set-
duplicate keys (e.g., rejecting the object, “first wins”, or “last       tings where token validation and claim interpretation are de-
wins”). In fact, RFC 8259 reports that when the keys are not             coupled across different components.
unique, the behavior of software that receives such an object
is unpredictable: many implementations report the last key/-
value pair only; other implementations report an error or fail           2.3    ZK-Authorization services (ZKA)
to parse the object; and some implementations report all of              Over the past years, both government bodies and Internet ser-
the key/value pairs, including duplicates. This ambiguity is             vice platforms have promoted the usage of externally created
security-relevant in authentication systems: if different com-           and managed authentication systems that can be leveraged in
ponents parse the same signed JSON payload under different               order to allow or disallow further access to digital services. In
duplicate-key semantics, then the system may validate one                practice, this has been proposed as the deployment of unified
interpretation while using another.                                      identity providers (e.g., national electronic ID systems, feder-
                                                                         ated or centralised login providers) that can signal externally
JWTs in OIDC. In OIDC, an RP is expected to perform                      managed authentication via a ownership-based model [59].
mandatory validation of a JWT before using it for authentica-            The appeal of these externally managed systems is typically
tion. In particular, the RP must verify the token’s signature            justified on two fronts [67]. First, usability: delegating authen-
(if present) and validate security-critical claims, including            tication to widely deployed identity infrastructures reduces
iss, sub, aud, exp, and iat. This validation is not limited              friction for end-users, who no longer need to manage mul-
to checking the presence of these claims: the RP must en-                tiple credentials (for instance, by the need of memorizing
sure that each claim is well-formed according to the JSON                additional passwords or having to backup authentication key
grammar, has the expected type (e.g., correct values for exp             material). Second, policy and compliance: external identity
and iat), and satisfies the semantic constraints prescribed by           providers allow authorization decisions to be tied to legally
OIDC (e.g., issuer and audience matching the RP’s configu-               recognized identities or pre-existing account relationships, en-
ration). Depending on the claim, additional constraints may              abling services to outsource eligibility checks without main-
apply, such as case sensitivity, canonical encoding require-             taining their own user databases. In all cases, authorization
ments, and format restrictions.                                          is performed using signed documents that are created and
   To validate a JWT, the verifier reconstructs the signed mes-          controlled outside the service’s trust domain.
sage as the ASCII concatenation of the Base64URL-encoded                    Recent regulatory proposals, such as the European Union’s
header and payload, and checks the signature over this string            Digital Identity Framework (eIDAS 2.0) [23, 24, 51] and sim-
according to the algorithm indicated in the header (typically            ilar efforts in the UK [108], US [43, 79, 87], Canada [6],
via the alg field) [45]. In OIDC deployments, public verifi-             Australia [1], and elsewhere, emphasize the usage of dig-
cation keys are obtained from issuer-managed key registries              itally verifiable credentials, particularly those augmented
(JWK sets), which are typically published at endpoints derived           with ZKPs [109], as a foundation for digital authentication
from issuer discovery metadata (e.g., the jwks_uri field). The           that allows for further authorization to services via verifi-
header often includes a key identifier kid used to select the            cation of attributes (e.g., age, residency, nationality). These
correct public key from the issuer’s JWK set. Thus, JWT va-              frameworks envision users receiving cryptographically signed
lidity depends not only on signature verification, but also on           documents from authorized entities, which they can then
correct interpretation of header metadata (including alg and             present to online services to demonstrate eligibility to access
kid) and reliable binding between the issuer claim iss and               further services or perform actions. Similar cryptographic
the corresponding public key registry used for verification.             mechanisms are being explored in academic and industry
   Crucially, OIDC validation is inherently stateful: several            contexts [3, 8, 13, 25, 33, 36, 60, 76, 90, 97, 106, 113–116],
checks rely on reference values not contained in the token               particularly in blockchain and decentralised access control
itself. For example, the RP must verify that aud contains the            systems. While attribute-based verification can enable fine-
RP’s registered client_id, and validate the signature using              grained access control, it also inherently introduces risks
keys obtained from the issuer’s discovery metadata. OIDC                 of censorship and selective service denial. Although we
flows additionally require binding the token to the authen-              do not focus on these in this work, we refer the reader
tication session through values such as nonce (to mitigate               to [11, 12, 14, 38, 111, 112] for analyses of censorship and
replay) and state (to mitigate CSRF), alongside enforcing                harms.
application-specific policies. Moreover, these reference values             We refer to these systems that use externally issued cre-
can change over time: signing keys are rotated, client config-           dentials to authorize further services or actions, via the usage
urations may be updated, and tokens are explicitly short-lived           of zero-knowledge proofs for security and privacy, as Zero-
through exp and iat constraints. These requirements high-                Knowledge Authorization (ZKA) systems. Examples include
light that JWT security is not solely a matter of cryptographic          zkLogin [8], zkCreds [90] and more [15, 39, 82]. While these


                                                                     4
systems particularly focus on JSON-based identity documents                             live integration3 , official demo [46, 98], public documenta-
(JWTs and passports represented as JSON documents), the                                 tion [28–32, 54], and public security audits [80, 120, 121]. We
underlying principle is not restricted to neither JSON nor                              emphasize that our analysis proceeds on two fronts: (i) the
web tokens. However, given the prevalence of JSON-based                                 reference implementation maintained by the platform (which
data on the web [84], it is expected that such documents will                           is partly open-source), and (ii) the official documentation
most commonly be represented in that format, even if the                                that enables external developers to deploy their own zkLogin
underlying authorization mechanism does not depend on it.                               service. This is partly due to the fact that zkLogin can be im-
   Formally, we define a ZKA as a system that outsources au-                            plemented by any developer based on public documentation,
thorization decisions to cryptographically signed documents                             while several widely used official deployments and compo-
issued by external entities, while using ZKPs to keep the doc-                          nents are not fully open-source. In the following, we present
uments (or parts of it) private. A ZKA system is a four-tuple                           the architecture and workflow of zkLogin.
system: ZKA = (IS, U, Π, V), where IS is a set of signed au-
thentication document issuers, U is a set of users to whom                              3.1 zkLogin’s Design.
the document belongs to after performing an authentication
action, Π is a prover protocol requested by users to generate a                         zkLogin enables users to authorize actions (e.g., transactions)
proof that attests the validity of the document, and V is a set of                      using a signed document issued by an external OIDC Identity
verifiers (e.g., smart contracts, servers, or distributed systems)                      Provider (OP) [27] (in this case, the IS, see section 2). The
of the proof that allow for the authorization of further ac-                            core idea is that, instead of maintaining independent applica-
tions depending on their truthfulness. An issuer IS generates                           tion key material, a user proves in ZKP that they possess a
a signed document as Doc = (msg, σIS ) where msg encodes                                valid JWT (the document) signed by an issuer (e.g., Google,
attributes relevant to an authorization decision, and σIS is a                          Twitch, Facebook), and that a prescribed subset of the JWT’s
digital signature verifiable under IS’s publicly available verifi-                      claims satisfies a specified predicate. zkLogin introduces six
cation material2 . The public predicate Φ determines whether                            entities for this flow: an external OP, which acts as the IS;
the signed document authorizes a protected action: a user is                            an external proving service acting as Π; the RP, which is the
authorized with respect to an action a if Φ(msg) = True. A                              client (a website or an app) acting on behalf of the user; a user
user proves authorization by asking for the generation of a                             U which uses the RP; an external salt service; and a verifier
ZKP: π ← Π(msg, σI , w), where w denotes private witness                                (acting as V) that verifies the proof based on public data.
data (e.g., private attributes from the document and/or the                                The architecture is composed of five main components
document’s signature).                                                                  (listed here in no specific order): (i) registration, whereby par-
   While the security of this scheme formally reduces to the                            ties register identifiers with each other; (ii) request, whereby
security of the ZKP used [35], the security of the overall                              an RP requests user authentication via OP before executing
architecture and system depends on additional assumptions                               certain actions and receives a signed JWT on success, (ii)
about issuers, credentials, serialization formats, parsing, and                         issuance, whereby an external IS issues signed JWTs via an
verification policies.                                                                  OIDC authentication flow; (iv) proving, whereby a proving
                                                                                        service, deployed externally4 constructs a ZKP proving claim
                                                                                        inclusions on the JWT and some cryptographic computations,
                                                                                        and verifies that the JWT’s signature is valid under IS’s pub-
3     Overview of zkLogin                                                               lic key (by maintaining a local mapping of IS names and
                                                                                        their public keys); (v) salt generation, whereby a salt ser-
zkLogin, introduced in [8], is a prominent instance of a ZKA                            vice, deployed externally, provides with “salt” material; and
system, which has been widely adopted across numerous                                   (vi) verification, whereby an action verifier, typically a smart
wallets [4, 95, 101] within the Sui [99] ecosystem, and is                              contract, verifies the proof using public verification keys and
used to authorize a substantial volume of real-world transac-                           material, and authorizes any corresponding user actions.
tions: public metrics from Dune Analytics show sustained                                   In the following, we first briefly discuss zkLogin’s threat
and large-scale use of zkLogin-authenticated transactions (see:                         model and then introduce the different flows of zkLogin
https://dune.com/queries/6273575). Here, we provide                                     (see Figure 1): registration, request and issuance of JWT,
a full view of the zkLogin ecosystem and components. To                                 salt-generation, proof-generation and verification. We note
do this, we carefully analyze the full system and conduct an                            that throughout, when we say “session” we refer to an OIDC
analysis of the current live integration: our analysis draws                            authenticated session as instantiated for a given login at the
upon the zkLogin academic paper [8], open-source soft-
                                                                                           3We note here that the proving and salt server’s code is not open source:
ware [21,40,55,56,73,103], surveys conducted on the official
                                                                                        we reconstruct its behaviour from public documentation and analysis of
                                                                                        wallet integrations.
   2 This verification material may consist of a public key, a certificate chain,          4While proof generation can be executed client-side, current guidance

a JWKS descriptor, or any other authenticated artifact that allows verifiers to         and implementations of zkLogin recommend outsourcing it due to the high
check signatures issued by IS.                                                          computational costs involved.


                                                                                    5
            Figure 1: A simplified overview of zkLogin: the system is illustrated up to the generation of the proof.




RP: namely, the period during which the RP treats the user as           specification, resulting in JWTs whose claims do not robustly
authenticated based on a particular OIDC-issued JWT or their            enforce the intended authentication context [50, 77, 102, 104]:
own configuration. As so, this session is effectively bounded           missing or weak enforcement of replay protections (absent
by the JWT’s validity window (e.g., until exp expires), by              nonce checks), inconsistent use of audience-related claims,
the RP retaining the JWT (e.g., in memory or local storage),            overly permissive JWT lifetimes, and unexpected claim for-
and by avoiding replay via a nonce claim. However, zkLogin              mats or optional fields. Unit 42 [77], for example, reports
effectively establishes authorization sessions that may outlive         critical OIDC misconfiguration patterns in CI/CD ecosystems
individual OIDC sessions. In particular, a zkLogin “session”            affecting major vendors such as CircleCI and GitHub Actions.
is instead tied to zkLogin-specific material that may be re-            Such deviations can be survivable in conventional web au-
tained by the RP. Consequently, a zkLogin session can remain            thentication because the RP can compensate with additional
usable as long as this material persists, thereby enabling au-          checks and session binding. Thus, unless the RP, prover or
thorization to continue across multiple OIDC sessions and               salt service enforce a strict issuer allow-list policy (and root
weakening the intended short-lived semantics of JWT-based               so in a trust chain), a malicious or attacker-controlled issuer
login. We refer to this zkLogin sessions as “epochs”.                   can generate JWTs that pass validation while violating the
                                                                        RP’s intended authorization policy.
                                                                           Further, in zkLogin, the trust boundary differs from that of
3.1.1   Threat model
                                                                        standard OIDC deployments. Concretely, the RP is treated as
zkLogin, as noted in the paper [8], assumes that the “backend”          trusted and not needed for security. In practice, hence, the RP
services are untrusted, except for the IS which is assumed              cannot be assumed to reliably enforce OIDC-mandated vali-
trusted. This is somewhat in line with trust assumptions in             dation steps in the presence of a malicious or compromised
the OIDC ecosystem, where OPs are not trusted by default                backend, since such checks are neither specified nor required
but rather only when an explicit trust relationship is estab-           by zkLogin itself. As a result, in the model, an RP may omit
lished (federation trust chains). While OIDC mandates vali-             OIDC validation entirely and forward malformed JWTs to the
dation of JWTs (signature verification and checks on JWT’s              proving and salt services, as long as it forwards the document
claims), these checks only establish that the JWT is valid              and retains required material in memory.
with respect to the IS [72]. Nevertheless, OIDC is a federated-            Under this model, the proving and salt services occupy an
friendly protocol so parties can deploy an issuer endpoint              ambiguous trust position. Depending on the integration, they
(via common identity platforms or self-hosting) and produce             may be operated by the RP itself or by external infrastructure
signed JWTs. In particular, the OIDC Core protocol provides             providers. In the latter case, the security model becomes es-
no global mechanism to detect or exclude malicious issuers:             pecially brittle: a third-party proving service typically has no
trust in issuers is an application-level decision, unless comple-       direct relationship with IS and limited context about the RP’s
mented with federation mechanisms such as OpenID Federa-                registration and policy constraints. As a result, these services
tion trust chains. Moreover, even when issuers are not adver-           may accept documents largely at face value, effectively shift-
sarial, real-world OIDC deployments frequently deviate from             ing responsibility for correct JWT validation away from the
the idealized protocol model [64, 70, 93]. Issuers are often            RP without providing any issuer-authoritative enforcement
misconfigured or implement incomplete subsets of the OIDC               mechanism. This trust ambiguity is particularly problematic


                                                                    6
because the verifier cannot observe the underlying JWT con-              an extra trust dependency: the external services rely on the
tents and therefore cannot independently apply conventional              supply of the correct client_id, and are assumed to con-
OIDC validation logic. Consequently, issuer- and deployment-             sistently enforce the intended OIDC registration semantics,
specific inconsistencies that would otherwise be detectable              even though backend services are untrusted. Finally, external
and containable become a source of systematic fragility, un-             services maintain an issuer allow-list and corresponding map-
dermining the security assumptions of the authorization layer.           pings from each trusted issuer to its public key registry (e.g.,
As we will see, this mismatch directly enables several of the            JWK endpoints), which are used to validate JWT’ signatures.
vulnerabilities identified in this work.
   We note that other than stating which services are trusted            Login and issuance of JWT. The workflow begins with an
or untrusted, zkLogin provides no concrete threat model. In              U attempting to log in to an application (most commonly, a
particular, the proving service is not explicitly discussed in           wallet) that delegates authentication to an external IS [29].
their adversarial analysis, despite playing a central role in the
protocol. In this work, we therefore consider three threat mod-             • an ephemeral key pair (vkU , skU ), stored on the user’s
els (as in prior works [83]) by focusing on the three sets of                 device, which will be used to authorize actions: these are
parties involved in zkLogin: (i) the RP, the application running              values persisted as part of epoch material;
on the user’s device; (ii) external services (salt and proving
servers); and (iii) the OP issuing JWTs. Concretely, we con-                • a random value r, persisted as part of epoch material;
sider the following adversaries: (1) a network adversary that               • a maximum expiry bound Tmax , which determines the
can monitor and tamper with communications between the                        intended validity period of the epoch material (and may
RP and the external services and OP; (2) an adversary that                    be longer than the lifetime of the JWT and session);
has compromised the external services (prover and/or salt
service), and/or the OP infrastructure; and (3) an adversary                • a nonce (persisted as epoch material) computed as
that compromises the device running the RP for a short period                 nonce ← H(vkU ∥Tmax ∥r), which is subsequently em-
of time (e.g., via a malicious browser extension).                            bedded into the JWT via the OIDC nonce claim.
   The first model corresponds to the standard adversary for
network protocols, often called the Dolev–Yao adversary [20];                The expiry bound Tmax must be expressed in a unit meaning-
it will be referred to as standard model. The second model is            ful to the verifier (e.g., in blockchain deployments, an epoch
one that any reasonable security analysis must consider, since           number). To prevent applications from selecting arbitrarily
external servers (salt, prover or OP) can be maliciously con-            long-lived keys, the verifier may enforce an upper bound such
trolled: hacking groups have consistently targeted blockchain            as Tmax < Tcur + δ, where Tcur denotes the current epoch and δ
applications [17, 48] in order to gain persistent access to ser-         is a system-defined maximum window. The inclusion of r in
vices; this model will be referred to as malicious-services              the nonce is intended to provide unlinkability across epochs:
model. The third model is particularly relevant for zkLogin de-          it prevents the IS from learning vkU during authentication
ployments, since the RP persists long-lived authorization ma-            (since nonce hides vkU ), and thus hinders IS from linking
terial (e.g., salts, API keys, and epoch-related cryptographic           subsequent actions to a stable public key. Note that nonce
values) in browser-accessible storage or memory; this model              can also embedded the epoch’s expiration time.
will be referred to as compromised-RP model.                                 Once those values are generated, a user authenticates
                                                                         through a standard OIDC login flow. As part of this process,
                                                                         the RP embeds the previously computed nonce into the OIDC
3.2 zkLogin Flow                                                         authorization request sent to the IS. In OIDC, the nonce pa-
                                                                         rameter is a standard request field included by the client in the
Registration. Before an application can use OIDC, it must
                                                                         authentication request, and IS is required to copy it verbatim
first register with the OP (the IS or identity provider) [27, 29].
                                                                         into the JWT [91]5 . After a successful login, the IS returns
This registration results in the IS assigning the RP a public
                                                                         a signed JWT containing required and non-required claims
identifier client_id, which is subsequently used by the IS to
                                                                         such as the issuer (iss), subject (sub), audience (aud), nonce
recognize it and to populate the audience claim (aud) of issued
                                                                         (nonce), expiration (exp), and many more, along with the dig-
JWTs (note that aud may be a list). Importantly, client_id
                                                                         ital signature over the document (the presence of the signature,
is not a private immutable or unique cryptographic identi-
                                                                         means that the JWT must have a header that conforms with
fier: it is a public administrative identifier whose validity and
                                                                         it [44]). We note here, though, that this design decouples the
lifetime are controlled by the IS (e.g., it may be rotated or
                                                                         lifetime of the zkLogin authorization material from the OIDC
revoked). As a result, client_id provides only a policy-level
                                                                         session, as the tuple (vkU , skU , r, Tmax ) (and hence nonce) re-
binding between the IS and RP, rather than a stable crypto-
                                                                         main usable beyond the validity of the issued JWT (as stated
graphic authorization binding. After this registration, the RP
                                                                         in the exp claim). In other words, zkLogin establishes an
additionally directly registers its client_id with the prov-
ing and, optionally, salt services. This procedure introduces               5 Note though that the IS can ignore this request.




                                                                     7
authorization epoch whose duration may exceed that of the                           the JWT prior to use, including verifying the signature, at-
underlying OIDC session. Furthermore, zkLogin reinterprets                          testing to well-formedness, checking the issuer and audience
the meaning of the nonce claim: in standard OIDC [91], the                          claims, and enforcing temporal validity (e.g., via exp and,
nonce serves as a well-defined replay-prevention role per                           where applicable, iat.) However, the zkLogin paper recom-
session: must be unpredictable per session, and the RP must                         mends only signature verification at this stage and provides
verify that the value in the JWT matches the locally generated                      no guidance on enforcing expiration or other mandatory se-
nonce. In zkLogin, by contrast, nonce is repurposed primarily                       mantic checks. Consequently, any JWT that verifies under
as an unlinkability mechanism per epoch and is not validated                        the issuer’s key—including JWTs that are expired or carry in-
against stored session state, undermining its replay-prevention                     consistent claim semantics—may still be forwarded for proof
purpose. Moreover, documentation indicates that the nonce                           generation. Further, the design implicitly assumes that the
(or parts of it) may be stored in browser storage [110] and                         user will perform a fresh authentication whenever needed
reused across logins [46].                                                          and that repeated logins yield equivalent JWTs (or at least
   As noted, the IS returns a JWT that contains some claims.                        stable values for (iss, aud, sub, nonce)). In practice, these
In practice, zkLogin expects a small number of claims to ap-                        values are neither guaranteed to be stable nor sufficient to
pear in the JWT, and ignores all the rest. Per documentation,                       capture the intended freshness and scoping semantics of the
the JWT’s payload, in a mandatory manner, requires four                             OIDC model. As a result, both persistent and non-persistent
claims: the iss, aud, sub (with the additional requirement                          workflows effectively treat JWTs as semantically static inputs,
that when sub is an email address, email_verified must be                           weakening their intended role as short-lived, context-bound
set to true6 ), and nonce supplied by the RP. All additional                        authentication artifacts.
claims such as exp, iat (issued-at), azp (authorized party),                           Since subject identifiers (sub claim) may be stable across
or jti (JWT identifier) are treated as optional, and are neither                    applications for many IS (when public subject identifiers are
required nor validated. This means that conformance checks                          used), the zkLogin design introduces a salt to prevent di-
of JWT’s claims appear to rely almost exclusively on the pres-                      rect linkage between this user’s OpenID identity and their
ence of some of claims and of a valid signature, and do not                         user’s blockchain address. Without a salt, users logging in
align with the requirements defined in the OIDC Core specifi-                       would repeatedly derive the same blockchain address, mak-
cation [91] (see section 2.2) or contradict them. Likewise, the                     ing their activity trivially linkable. To mitigate this, zkLogin
JWT header is only partially interpreted: zkLogin only checks                       proposes deriving the on-chain address as zkaddress =
that the alg field is literally the string “RS256”7 and reads                       H(sub∥aud∥iss∥salt), where the salt is a user specific ran-
the kid field. The system will use kid to select a key from a                       dom value: it can, however, live longer than sessions. For
external public mapping of issuers to their advertised public                       this, the RP must either retrieve or generate locally this salt
signing keys. Notably, because each services may reuse JWTs                         When the first happens, the application forwards the JWT
and auxiliary material, the mapping may include keys that are                       (or parts of it) to an external salt service: no strict checks,
no longer active at the IS side.                                                    besides signature verification, are enforced at this level on
                                                                                    the JWT. This design introduces an additional privacy risk:
Preparing for proof generation. Once the IS issues a JWT                            transmitting the JWT in the clear to a third-party service re-
token, it is returned to the RP, rather than being sent directly                    veals identity attributes beyond what the user has consented
to the proving or salt services. At this point, zkLogin admits                      to disclose. The zkLogin paper suggests mitigating this ex-
two deployment patterns. First, the application may store the                       posure using privacy-preserving mechanisms such as MPC
JWT on the user’s device and later reuse it when requesting                         or TEEs; however, public documentation and widely used
a proof. Second, the application may avoid persistence and                          deployments provide limited evidence that these alternatives
directly forward the received JWT (or relevant parts of the                         are used in practice. The returned salt must be stored client-
IS response) to the proving service. In the persistent case,                        side (in the reference demo and paper, it is simply placed
zkLogin provides no explicit guidance on secure document                            in browser local storage), and the zkLogin documentation
retention, isolation boundaries, or JWT lifetime management,                        provides no guidance regarding secure storage practices or
despite the JWT constituting a bearer credential in the threat                      lifetime management: in fact, it argues that persisting the salt
model. In the non-persistent case, forwarding the JWT im-                           on local storage is reasonable since it is less sensitive than a
mediately reduces local storage exposure but still relies on                        password. Further, the salt can be reused indefinitely as long
correct semantic validation prior to proof generation.                              as it remains present in local storage.
   According to OIDC [91], the RP is expected to validate                              zkLogin emphasizes that the salt is recommended for pri-
                                                                                    vacy, but not universally desirable. If IS already issues pair-
    6 Notably, this additional email_verified constraint is mentioned in the
                                                                                    wise (per-client) subject identifiers, then the sub may already
paper but not enforced by the documentation or publicly available implemen-
tations.
                                                                                    provide unlinkability, reducing the need for a salt, and, when
    7 The inclusion of only this algorithm seem to be done in oder to prevent       users prefer discoverability, it may be omitted. Importantly,
alg == none attacks.                                                                the design explicitly acknowledges that the use of salt cannot


                                                                                8
be enforced: the untrusted service or RP may set the salt to a                        1. Given a starting index i and a length ℓ, extract a substring
public value (including zero), effectively disabling unlinkabil-                         S′ = S[i : i + ℓ] from the input string S.
ity. Note, though, that losing the salt permanently renders the
derived zkaddress unusable, as well as any action associated                          2. Check that the final character of S′ is either a comma ‘,’
with them, and leaking it allows any other party possessing                              or a closing brace ‘}’.
the relevant JWT’s claims to derive the same address. More-
over, note that the salt is not cryptographically bound to either                     3. Given an index j corresponding to the colon, check that
the specific RP or the user’s device that generated it. It is                            S′ [ j] is the character ‘:’.
simply treated as an opaque, persistent value: any application
that learns the salt can reproduce the same zkaddress, and                            4. Interpret S′ [0 : j] as the key (key = "sub ") and S′ [ j +1 :
any device that stores it can later reveal it. Thus, privacy de-                         −1] as the value (value = "user").
pends solely on the secrecy and permanence of a RP-managed
potentially externally-generated random value.
                                                                                      5. Verify that both key and value of claims are JSON strings
                                                                                         by checking only that their first and last characters are
Proof generation. Once the RP has obtained both the JWT                                  quotation marks, tolerating some whitespace variations
and the corresponding salt, it requests a zero-knowledge                                 via similar substring checks. Note that this does not
proof. In zkLogin, proof generation is typically outsourced:                             enforce the JSON grammar: characters inside the string
instead of producing the proof locally, the client forwards the                          are not validated, escape sequences are not checked, and
JWT, salt, (vkU , Tmax , r), and zkaddress to an externally                              control characters or embedded quotation marks may
operated proving service. In the official demo and documen-                              appear unescaped. This is non-conformant with JSON
tation, the JWT is expected to be transmitted to the proving                             string-encoding rules as mandated by RFC 8259 [10].
service as a regular JSON field in an HTTPS POST request,
rather than via browser-protected credential channels (e.g.,                           These operations are repeated only for one instance of the
cookies bound to an origin). As a result, standard browser                          fixed, hard-coded set of required claims (iss, aud, sub, and
credential protections do not apply to the JWT as it is han-                        nonce), and are not perfomed at the JWT’s header level, as
dled as an explicit application payload, increasing exposure                        the header is treated as public data. The circuit does not en-
to exfiltration and replay in the presence of a compromised                         force unique keys, canonical ordering, correct JSON nesting,
client environment.                                                                 or well-typed values, nor does it ensure syntactic integrity out-
                                                                                    side the extracted substring windows. In effect, the proving
   Upon receiving the request, the proving service performs a
                                                                                    system does not validate that the JWT payload is a well-
minimal origin check by verifying that the JWT’s audience
                                                                                    formed JSON object. Instead, it checks only that certain byte
claim aud matches a registered client_id8 . However, the
                                                                                    slices resemble quoted strings terminated by either , or }.
design provides limited guidance on how audience values
                                                                                    Because claims are located solely via positional substring
should be registered, how they map to RPs identifiers, or how
                                                                                    logic, the circuit provides no guarantee that a claim is unique
to ensure that this configuration is issuer-authoritative.
                                                                                    or unambiguous.
   After this minimal audience check, the proving service
                                                                                       With these assumptions, the proving circuit (and its associ-
briefly validates that the JWT parses correctly (via the proce-
                                                                                    ated proof π) ultimately attests to four properties: (i) that the
dure below), and then executes the proof-generation circuit.
                                                                                    above “ad-hoc selective parsing” procedure correctly extracts
For this, the proving service will need to attest that: i. the JWT
                                                                                    the expected top-level fields from the provided byte string ac-
is well-formed via a “ad-hoc selective parsing”, and ii. that its
                                                                                    cording to this circuit’s own ad-hoc parsing rules; (ii) that the
signature is valid. For the former, rather than implementing
                                                                                    JWT’s signature verifies under the public key corresponding
a full JSON parser, the circuit extracts only a small subset
                                                                                    to IS and the algorithm specified in the header; (iii) that the
of the JWT payload claims, and does not enforce JSON va-
                                                                                    nonce value was computed as H(vkU ∥Tmax ∥r) for some vkU ;
lidity or canonicalization. Instead, it performs a sequence of
                                                                                    and (iv) that the claimed user’s address zkaddress was cor-
syntactic substring searches to locate specific top-level key–
                                                                                    rectly derived from the extracted claims and the salt. Note that
value pairs corresponding to the required claims. We refer
                                                                                    neither the proving service nor the verifier stores the nonce
to this approach as ad-hoc selective parsing. The zkLogin
                                                                                    or salt9 or maintains any state about previously used values,
paper describes this extraction procedure (applied only to a
                                                                                    and it doesn’t contact the blockchain to check whether the
single-instance of the four required claims) as follows, for an
                                                                                    expiry parameter Tmax is still valid. As a result, no component
input string S (representing the JWT payload):
                                                                                    in the zkLogin architecture is able to detect or prevent reuse of
   8 The aud value is chosen by the IS based on client_id, yet the prov-            a JWT whose nonce or salt has been consumed and expired.
ing service does not directly participate in the issuer registration process;
consequently, it must rely on RP-provided configuration when determining               9 It appears, though, that in some deployments, the salt is stored, but this

acceptable audience values.                                                         it not clarified in the documentation.


                                                                                9
Verification and executing actions. The RP receives π and                are stored in the browser’s storage: (vkU , skU ) and r are kept
the JWT’s header, which validity is only linked to the nonce’s           in sessionStorage, whereas the salt and maximum epoch
validity and can stay in memory even after the user’s logout.            are stored in localStorage [31, 47]. The documentation ex-
When the user is ready to execute an action, the application             plicitly notes that, as long as the browser’s localStorage is
signs the action payload tx using the ephemeral private key              not cleared, a user can reuse the same JWT (e.g., by logging
skU generated earlier, and generates the signature σU . The              in with the same IS account) to access the corresponding
full zkLogin authentication artifact attached to an action is            address at any future time [31]. This directly demonstrates
then (vkU , Tmax , σU , π, JWT’s header, iss). A verifier receiv-        that JWTs are treated as reusable inputs for ZKPs, without
ing this transaction then:                                               any enforced notion of freshness, nonce replay protection, or
                                                                         JWT expiration on the client or proving-service side.
  1. Checks that pkIS is a current public key of the issuer                 From an architectural perspective, the demo confirms the
     specified by iss. This requires an oracle procedure that            design pattern we analyzed above: (i) the JWT is delivered
     periodically fetches iss’s JWK set from its public end-             to RP, not to the proving service; (ii) the client forwards the
     point and posts any accepted keys on-chain. Keys seen               JWT (or selected fields) to an externally managed proving
     within the last ∆ epochs are assumed to be valid. Cru-              service operated by a third party; (iii) the proving service is
     cially, per the official paper, this mechanism does not             invoked over a generic HTTPS endpoint and has no direct
     enforce that the specific signing key used in the JWT               channel to the IS to check audience binding, revocation sta-
     corresponds to any particular key identifier (e.g., kid)            tus, or expiration; and (iv) salts are managed entirely on the
     provided in the JWT; it merely asserts that the signature           client, with long-term storage in browser local state, rather
     verifies under some observed key of the issuer. However,            than being cryptographically bound or stored. The official
     the documentation and code do seem to perform the                   documentation further emphasizes that no additional backend
     check against the header’s kid.                                     is required beyond using the hosted proving service, thereby
                                                                         cementing a deployment model in which a single centralized
  2. Checks that the expiration parameter satisfies Tmax ≥ Tcur
                                                                         prover receives JWTs (or their decoded contents) from many
     and Tmax < Tcur + δ. Notably see here that there is no
                                                                         independent relying parties and users, and in which the life-
     check that Tmax corresponds to the JWT nonce’s Tmax .
                                                                         time of a JWT is effectively governed by browser storage and
  3. Verifies      π     using       the     public     P =              chosen Tmax , not by its exp or OIDC semantics.
     (pkIS , iss, zkaddr, Tmax , vkU , JWT’s header, iss).
     This attests to the correctness of the “ad-hoc selective
     parsing”, to the JWT’s signature under the indicated
                                                                         4     zkLogin Vulnerabilities
     issuer key, the correctness of the nonce computation
                                                                         In what follows, we report vulnerabilities in the design, doc-
     and the derivation of zkaddress, and verifies the action
                                                                         umentation, and implementation ecosystem of zkLogin. Our
     signature using vkU .
                                                                         methodology mirrors Section 3: we analyze the zkLogin aca-
   By doing these steps, zkLogin transforms a short-lived                demic paper [8], relevant open-source components [21, 40,
authentication JWT into a reusable authorization credential              55, 56, 73, 103], the official demo [46, 98], public documenta-
(used by various external services) mediated purely through              tion and integration guides [28–32, 54], and public security
ZKPs, with the issuer’s signature functioning as a crypto-               audits [80, 120, 121]. We additionally survey multiple wallets
graphic root of trust for actions, despite the issuer never in-          that integrate zkLogin in practice [4,5,101] and survey official
teracting with the action-enforcer directly. Although the JWT            proving endpoints10 .
remains signed, zkLogin no longer treats it as temporary, but               The vulnerabilities we report do not rely on breaking
as a long-term authorization artifact whose validity does not            cryptographic primitives or the soundness of the underly-
depend on expiration, session state, or audience enforcement.            ing ZKP scheme. Instead, they arise from inconsistencies
                                                                         in JWT/OIDC validation, ad-hoc claim extraction, missing
                                                                         issuer–audience–RP binding, brittle environmental assump-
zkLogin Demo and Documentation. The Sui Foundation
                                                                         tions, and issuer trust boundaries. Each vulnerability either
documentation links to a community-maintained zkLogin ex-
                                                                         (i) yields a valid zkLogin proof from a JWT that would be
ample and walkthrough [31, 46] that explicitly illustrates
                                                                         rejected under standards-compliant OIDC validation, or (ii)
how developers are expected to integrate zkLogin. The ex-
                                                                         enables reusable authorization proofs that are not correctly
ample decomposes zkLogin into seven steps (i. generate
                                                                         bound to the intended RP or subject identity. Where applica-
ephemeral key pair, ii. fetch JWT, iii. decode JWT, iv. gen-
                                                                         ble, we validated our findings against the open-source zkLogin
erate the salt, v. derive Sui address, vi. fetch ZKP, vii. as-
                                                                         implementation [55], third-party proving infrastructure [21],
semble zkLogin signature) and runs entirely in the browser,
using a Mysten Labs maintained proving service as back-                      10 https://prover-dev.mystenlabs.com/v1   and https://prover.
end [31]. All sensitive inputs required for proof generation             mystenlabs.com/v1


                                                                    10
and the official integration guidance [30, 32].                           explored in research [34, 75, 78, 117].
   More broadly, we argue that zkLogin should not merely pro-                We argue that our overall setting is realistic: OPs exist
vide a mechanism for producing ZKPs about JWT contents,                   outside the administrative boundary of the system and can
but should standardize and authenticate the semantics of                  be misconfigured or adversarial; zkLogin encourages out-
what those proofs mean. In particular, security-critical policy           sourced proving and salt generation; and many deployments
decisions—such as which issuers are trusted (an issuer allow-             are browser-based, where the RP environment provides lim-
list) and how JWTs are parsed and canonicalized—must be                   ited isolation guarantees. Accordingly, zkLogin should remain
treated as part of the protocol definition and verification state-        secure even when deployed with third-party proving and salt
ment, rather than as local deployment choices. Otherwise, the             services and across heterogeneous issuers and RPs that do not
system devolves into “proofs of strings” whose interpretation             share a single administrative trust domain.
depends on undocumented parsing conventions and mutable
out-of-band configuration, enabling cross-deployment incon-               4.0.1   Semantic confusion vulnerabilities in zkLogin’s
sistencies and claim-confusion exploits.                                          JWTs
                                                                          In this subsection, we consider different types of vulnera-
Threat model. We focus on a conservative setting in which                 bilities that are introduced with malformed JWTs. Because
the proving and salt services are untrusted but follow their              JWTs are issued and signed by an OP, malformed JWTs can
stated interfaces (i.e., they are not assumed to actively help an         arise either intentionally (malicious IS), accidentally (non-
attacker). Equivalently, we treat these services as semi-honest:          compliant), or through compromised RP side processing steps
they may deviate in terms of policy enforcement or validation             that reconstruct, wrap, or otherwise transform token contents
strictness, but they do not deliberately collude with an attacker         prior to proof generation. This is not a constrained scenario,
to craft malformed proofs. This assumption is weaker than                 as research shows that malformed JWTs can be issued by ma-
the adversarial model discussed in the zkLogin paper, which               licious or non-malicious IS, or malformed by RPs [26,65,71],
treats backend services as malicious. Importantly, the vul-               specially when working in a federated-friendly system as
nerabilities we describe do not require cooperation from the              OIDC. Because zkLogin does not enforce JWT’s claim vali-
proving or salt services; rather, they arise from missing or              dation and integrity checks by the RP, validation is implicitly
underspecified validation and binding checks that are absent              delegated to the proving service, who becomes the first and
by design. Therefore, our attacks apply a fortiori in settings            only entity to partially validate the JWT prior to its use as a
where these services are fully malicious.                                 long-term authorization document. However, we note that,
   For the remaining parties, we adopt stronger adversarial               as highlighted in the previous section, the procedure used to
assumptions. We consider the OP in the malicious-services-                validate JWTs at the external services side is not compliant
model: the OP may be attacker-controlled, or simply mis-                  with either the JWT specification [45], the JSON grammar
configured, and may issue JWTs that are signed yet violate                (RFC 8259 [10]), or OIDC requirements [91]. More impor-
the intended semantics. We further consider the RP in the                 tantly, it does not enforce even minimal syntactic or semantic
compromised-RP-model: the RP may be compromised, or                       security properties expected of security tokens.
affected by runtime client attacks (e.g., injected scripts, ma-              zkLogin thus marks a wide variety of malformed JWTs as
licious browser extensions, compromised dependencies, or                  valid, by only using the “ad-hoc selective parsing procedure”.
brief device access). In particular, a compromised RP may for-            Concretely, our analysis of the official proving endpoints and
ward malformed or semantically invalid JWTs to external ser-              reference implementation show that the prover-side parsing
vices, and persist long-lived authorization material in browser-          logic accepts a broad class of syntactically invalid or seman-
accessible storage or memory. We note that this assumption                tically ambiguous JWTs. An example illustrating several of
directly contradicts a key trust claim made by zkLogin. In                these issues appears in Figure 2. We note the most security-
particular, zkLogin explicitly assumes that the application’s             relevant classes of malformed-JWT that zkLogin accepts:
front-end is trusted while the back-end is untrusted, argu-
ing that front-end code is public and thus subject to public              1. No semantic header validation (only a size bound). The
scrutiny [8]. Moreover, zkLogin claims that the application               JWT header is treated as a public information with the jus-
is required for liveness but not for security, i.e., that even a          tification that no sensitive information is present on it. Note
malicious app cannot steal the user’s assets. However, in the             though, while the header does not typically contain confiden-
browser-based deployment model encouraged by zkLogin,                     tial information, it does contain security-critical metadata,
the trustworthiness of the RP front-end cannot be reduced                 including alg and kid used for signature verification: we
to source-code visibility: injected scripts, malicious exten-             will note this assumption later as a privacy leak. With this
sions, compromised dependencies, or brief device access can               “public header” assumption in mind, the service only attests
obtain runtime access to sensitive material stored in browser-            that the JWT header satisfies a fixed length bound, without
accessible memory or storage, enabling extraction and replay              validating its structure or semantics. This appears to be an
of long-lived authorization artifacts. This has been widely               ad-hoc mitigation intended to prevent inclusion of fields such


                                                                     11
                                                                                      {
as jwk (which could enable self-issued JWTs). However, it
                                                                                          // ----- Header -----
provides no meaningful integrity guarantees: malformed or se-                             "alg": "none", // bogus algorithm
mantically inconsistent headers under the bound are accepted,                             "alg ": "RS256", // trailing space
while standards-compliant headers (e.g., long kid values)                                 "alg": "RS256",
are rejected. This breaks interoperability without preventing                             "kid": "992475",
header-based exploits in a principled way.                                                "typ": "JWT",

2. Non-canonical claim extraction enables claim confu-                                    // ----- Payload -----
sion (duplicate keys, shadowing, and character smug-                                      "iss": "https://accounts.example/", // honest OP
                                                                                          "\/iss": "https://evil/", // injected
gling). The proving service does not enforce that JWT
                                                                                          "iss ": "https://evil2/", // trailing space
payload keys are unique, nor that a single canonical
                                                                                          "\u0069ss": "https://ex/", // unicode
JSON parsing procedure is used consistently across com-                                   "sub": "C37900",
ponents. As a result, an attacker can craft payloads con-                                 "sub ": "MALLORY", // duplicate
taining multiple occurrences of the same claim key, e.g.,                                 "sub ": "<script>alert(’hi’)</script>",
{"iss":"honest","iss":"malicious"}. Since JSON im-                                        "aud ": ["5731200", "other.."], // not allowed
plementations often disagree on duplicate-key handling (“first                            "nonce": "gIFt7xtjGLZq5cC0-TgIEeIcuJM",
wins”, “last wins”, or reject), this creates parser differentials                         "nonce ": "AAAAAA", // last-wins
between (i) prover-side claim validation and (ii) the claim                               "exp": 1716265381,
values bound into the proof statement.                                                    "nbf": "not-a-number" // wrong type
                                                                                      }
   In our measurements, the prover’s ad-hoc selective parsing
effectively implements shadowing semantics by selecting a                           Figure 2: Example of a malformed JWT accepted by
particular occurrence (e.g., last-wins), allowing an attacker                       zkLogin’s proving services. Despite violating JSON gram-
to override previously validated values by appending a mali-                        mar, duplicating critical claims, and shadowing claims, the
cious value somewhere else in the payload. More generally,                          JWT is still parsed as valid.
the proving service accepts non-canonical key encodings (e.g.,
escape sequences, Unicode escapes, or prefix characters) with-
out normalization or rejection. If any component performs                           5. Temporal claim validation is missing. Temporal fields
ad-hoc string matching on the raw payload rather than JSON-                         such as exp and iat (mandatory in OIDC) are neither re-
decoded keys, then syntactic variants may be interpreted in-                        quired nor checked. As a result, expired or future-dated JWTs
consistently across the stack (prover, circuit/statement gener-                     are accepted as long as they carry a valid signature. This en-
ation, and verifier/RP), amplifying claim-confusion exploits.                       ables replay of stale JWTs (as the nonce claim is not used
                                                                                    as a replay protection but rather as an unlinkability measure)
3. Issuer checks are prover-local via static allow-list. The                        and weakens session-bounding guarantees.
iss claim is validated only by checking membership of its
value in a fixed hard-coded list of providers chosen by the                            Said issues compose into practical vulnerabilities: ambigu-
prover or by the external services. At protocol level, neither                      ous claim parsing enables claim shadowing, which in turn
the verifier nor RP validates this allow-list11 , or they can                       allows the prover to validate benign values while binding ma-
maintain a different allow-list, nor is the allow-list authenti-                    licious values into the proof. Together, these deviations effec-
cated/bound into the proof. Thus, issuer acceptance becomes                         tively define a non-standard JWT grammar and enable claim-
prover-defined policy (or external-services defined policy)                         confusion exploits. While the JWT signature prevents an
that may drift over time as the list is updated, and may diverge                    adversary from altering claims without issuer cooperation (or
from the RP’s intended issuer policy. This is more serious                          signature forgery), zkLogin’s permissive and non-canonical
given that the prover service is considered untrusted.                              parsing causes different components to interpret the same pay-
                                                                                    load according to different claim-extraction semantics. More-
                                                                                    over, accepted claim values may contain attacker-controlled
4. Non-compliant handling of aud. Although JWT al-
                                                                                    substrings, including HTML or JavaScript fragments (e.g.,
lows aud to be either a string or an array, zkLogin rejects
                                                                                    <script>...). In practice, JWT claims are often routinely
JWTs with array audiences. This breaks compatibility with
                                                                                    logged, forwarded, or embedded into service infrastructure
standards-compliant issuers and encourages issuer-specific
                                                                                    and wallet UI code. Thus, accepting non-canonical or unsan-
workarounds, increasing the risk of inconsistent audience han-
                                                                                    itized claim strings expands the attack surface for indirect
dling across deployments.
                                                                                    exploits (e.g., injection into logs), consistent with prior work
  11We note that in the zkLogin documentation there is no encouragement             on JWT misuse and claim-injection vulnerabilities [62, 94].
that RP should validate this allow-list and we also note that RPs can deploy           Many honest OpenID Providers have historically produced
their own prover if so they want.                                                   non-canonical JWTs or JWTs with ambiguous claims due


                                                                               12
to library bugs, non-compliant encoders, or implementation                             parser and prohibit non-canonical key encodings that may
choices (as documented in prior works [18, 62, 68, 85, 86,                             admit multiple parses, (iii) enforce well-typed claims for all
89, 94, 105, 107]). Moreover, malformed claims in JWTs are                             security-relevant fields, and (iv) require and validate tempo-
known to have security consequences beyond syntactic incon-                            ral OIDC claims (e.g., exp, iat) under the intended issuer
sistency. As observed in prior analyses of JWT implemen-                               policy. Crucially, these checks should not remain purely off-
tations [62, 94], claims are routinely used by RPs to trigger                          circuit: the zkLogin proof should be bound to a canonicalized
lookups, database queries, or network requests (e.g., via iss,                         interpretation of the JWT payload. In particular, the state-
sub, aud, or jku URLs). In such cases, incorrectly validated                           ment proven in zero knowledge should include that the prover
or non-canonical claims have led to practical attacks includ-                          has parsed the header and payload according to a unique,
ing server-side request forgery (SSRF), directory traversal,                           standards-compliant JSON grammar (including unique-key
and injection attacks12 . In a traditional OIDC context, the                           enforcement), and that the extracted security-critical claims
impact of these exploits is bounded by the short lifetime and                          (e.g., iss, sub, aud, exp, iat) satisfy the required OIDC val-
scoped-use nature of the JWTs. In contrast, when the same                              idation rules. Otherwise, correctness continues to rely on
malformed JWT is transformed into a reusable ZKA the sys-                              external parsing conventions and implementation-specific
tem substantially magnifies the risk: an adversarial claim that                        claim extraction, reintroducing parser differentials. Addition-
would normally be discarded after one authentication event                             ally, downstream components that log or render claim values
instead becomes a persistent authorization credential that may                         should treat them as untrusted input and apply appropriate san-
be reused indefinitely by any party.                                                   itization. If these checks are delegated to RPs, then zkLogin
   These vulnerabilities reveal a deeper structural issue with                         security becomes dependent on application-specific parsing
the system: the correctness of zkLogin depends not only on                             behavior, which is undesirable in federated deployments.
JSON or JWT compliance, but on a particular, unstated gram-
mar implicitly assumed by its proving circuits and parsers.                            4.0.2   Cross-Impersonation via Missing Binding
The public documentation currently provides no canonical
grammar for their JWT parsing, nor any constraint on whites-                           In practice, as we have seen, the security of zkLogin rests on
pace handling, Unicode escapes, duplicate fields, claim order-                         three key environmental assumptions: (i) external services
ing, or key uniqueness.                                                                maintain a correct issuer allow-list, and issuers reliably pub-
                                                                                       lish their signing keys at stable endpoints consistent with
                                                                                       advertised kid; (ii) the aud value serves as an effective iden-
Acknowledged by zkLogin’s design. The zkLogin paper
                                                                                       tifier for the RP and is correctly enforced when authorizing
itself [8] highlights that allowing escape sequences inside
                                                                                       access to proving and salt services—despite being public and
JSON keys can lead to a break of security. In particular, it ob-
                                                                                       not cryptographically bound to the RP; and (iii) JWTs are
serves that if JSON keys contain escaped quotes, then security
                                                                                       well-formed and admit a unique, unambiguous interpretation
can potentially no longer hold (cf. Listing 3 in the zkLogin
                                                                                       under the (non-standard) parsing grammar implicitly assumed
paper). This confirms that key canonicalization and unique-
                                                                                       by the proving circuits. We show that each of these assump-
key enforcement are not merely interoperability concerns, but
                                                                                       tions can be subverted in practice, enabling unauthorized
security-critical requirements for zkLogin-style claim bind-
                                                                                       invocation of proving and salt services, long-term misuse of
ing. However, the paper treats escaped quotes primarily as
                                                                                       JWT-derived authorization artifacts, and, eventually, cross-RP
an isolated corner case, and does not discuss the broader
                                                                                       and cross-subject impersonation. Our goal in this subsection
class of character smuggling and non-canonical encodings in
                                                                                       is to demonstrate end-to-end cross impersonation enabled by
claim key/values. Nor does it consider the downstream risk of
                                                                                       these assumptions. Concretely, we show that: (i) the issuer
tainted claim strings: even when the JWT signature is valid,
                                                                                       trust policy admits attacker-controlled issuers in common de-
claim values may contain attacker-controlled content (includ-
                                                                                       ployments; (ii) access control at the proving and salt services
ing JavaScript fragments) that later propagates into other parts
                                                                                       can be bypassed or misused due to missing binding between
of the system. Consequently, preventing claim-confusion re-
                                                                                       the requesting RP, subject and the JWT claims being proven;
quires not only ruling out the specific “escaped quote” pattern,
                                                                                       and (iii) the recommended browser-based deployment model
but enforcing strict canonical parsing and sanitization across
                                                                                       exposes long-lived bearer artifacts and incorrectly relies on
the full zkLogin proving and consumption pipeline.
                                                                                       browser isolation as a security boundary.

Mitigation. A robust implementation of zkLogin must en-
                                                                                       On malicious issuers. The reference implementation of
force canonical JWT semantics at the RP, salt and proving
                                                                                       zkLogin13 extends the notion of a “trusted issuer” beyond an
interface. At minimum, said services (and any reference imple-
                                                                                       explicitly enumerated allow-list. While the documentation
mentation) should: (i) reject payloads whose decoded JSON
contains duplicate keys, (ii) use a standards-compliant JSON                             13 See: https://web.archive.org/web/20251130200859/https://

                                                                                       github.com/MystenLabs/fastcrypto/blob/main/fastcrypto-zkp/
  12 See, e.g., Section 2.9 (“Indirect Attacks on the Server”) of [94] or [66].        src/bn254/zk_login.rs


                                                                                  13
suggests that issuers are chosen from a fixed set of well-known    that external services (including the prover) have no access
providers, the official implementation dynamically accepts         to configuration changes of issuers (revoked aud or sub), so
any Amazon Cognito user pool as a valid OIDC issuer. This          an allow-list needs to be enforced by all parties of the system,
behaviour is triggered purely by the syntactic form of the iss     not only by some external services.
claim: instead of matching iss against a fixed set of trusted
issuer URLs, the verifier interprets any issuer string matching    On unauthorized prover/salt service access. Although not
an AWS Cognito URL template as automatically trusted.              explicitly documented in any public zkLogin materials, access
   Concretely, if the issuer string has the form                   to both the proving and salt services is frequently gated by an
https://cognito-idp.region.amazonaws.com/tenant_id,                RP-specific API key registered with the service provider. In
then the implementation treats it as a valid issuer. The           practice, this mechanism is used as an auxiliary authentication
⟨region⟩ and ⟨tenant_id⟩14 components are extracted                step when invoking the services. When examining the official
directly from iss and used to derive both the issuer base          wallet that integrates zkLogin [4], however, we observed that
URL and the endpoint from which keys are fetched. This             this API key is transmitted directly in standard HTTPS request
means, that anyone can set up a malicious issuer at AWS            headers from the browser environment, where it is observable
Cognito to be used by zkLogin.                                     by any local principal with code-execution capabilities (e.g.,
   Although the hosted prover operated by Sui currently en-        browser extensions, injected scripts, or debugging tooling).
forces its own issuer allow-list, this is a deployment choice      Because this API key uniquely identifies an RP, its disclosure
rather than a property guaranteed by the zkLogin protocol          enables an attacker to impersonate that RP when interacting
or its public documentation. The particular instantiation of       with the external services. While this may be dismissed as a
zkLogin in the Slush wallet does restrict the AWS issuers, but     deployment misconfiguration, the vulnerability is structural:
this is a deployment choice, not a protocol guarantee: it is       the zkLogin documentation provides no guidance for securely
further not authenticated by the RP, so it remains a static-list   handling such credentials, and the API key is not cryptograph-
at the prover side which is, by documentation, considered un-      ically derived from protocol-bound values (e.g., aud or iss).
trusted. In particular, any third-party prover that follows the    Instead, it functions as a static bearer credential external to
reference implementation without an additional out-of-band         the trust relationships expressed by the zkLogin flow. As a
allow-list will, by default, accept any Cognito user pool as       result, the integrity of the proving and salt services depends
a trusted issuer. The resulting risk is therefore structural: it   not only on issuer or audience checks (public values), but also
arises from issuer recognition by pattern matching and under-      on the secrecy of a browser-exposed long-lived credential,
specified trust policy, rather than being confined to a specific   whose compromise directly enables cross-RP impersonation.
prover instance. The zkLogin paper does acknowledge the               Moreover, because the API key is not cryptographically
fact that a malicious OP breaks unforgeability and unlikabil-      bound to the aud value (or to any protocol-derived value),
ity (as the salt usage cannot be enforced); however, this is       which serves as the public RP identifier given by IS, posses-
difficult to justify in federated OIDC settings where attacker-    sion of the key does not constrain how it may be used. In
controlled issuers are feasible unless strict allow-listing and    particular, any party holding the RP’s API key may request
trust establishment are enforced at the protocol level.            proofs for JWTs whose aud does not correspond to that RP
   More fundamentally, zkLogin treats issuer trust policy (the     and IS. In particular, an RP holding a valid API key may re-
issuer allow-list) as a prover-dependent configuration choice,     quest proofs for JWTs issued under any of its registered aud
rather than as a first-class part of the protocol specification    values (as an RP can have many aud values per IS and differ-
and overall verification semantics. This runs counter to well-     ent across IS), independently of the application, environment,
established security practices: trust roots must be explicit,      or authorization context for which the JWT was originally in-
consistently enforced, and subject to auditing mechanisms.         tended. Maintaining a static allow-list of registered public aud
A useful analogy arises in the WebPKI ecosystem underpin-          values per RP does not prevent this behavior, as it enforces
ning TLS deployments. While certificates are public objects,       only set membership rather than binding proof generation to
they are accepted only if they chain to a trusted root in a        the specific aud and issuance context under which the JWT
well-defined root store, and are increasingly monitored for        was obtained.
misbehaviour through ecosystem-wide mechanisms such as                As a consequence, the proving service behaves as a generic
Certificate Transparency [69]. Crucially, these trust decisions    proof-generation oracle for arbitrary JWTs, authorized solely
are not left to ad-hoc application decisions, but are treated as   by possession of a bearer API key. This enables an adversary
systemic requirements. Similarly, zkLogin should define and        who obtains an API key to generate proofs for identities and
enforce issuer trust semantics at the protocol level (and bind     applications unrelated to the original RP and aud, while pre-
them into proof verification where possible), rather than dele-    senting those proofs as originating from a legitimate trusted
gating them to mutable local configurations. We further note       RP and aud interaction. Such behaviour contradicts the in-
                                                                   tended OIDC semantics, in which aud binds a signed JWT
  14 Both values are public identifiers.                           to a specific RP and iss. More generally, the current design


                                                             14
admits proof generation without any authenticated binding                  2. the aud and sub are unique;
between (i) the JWT’s RP identifier aud and (ii) the RP iden-
tity represented by the API key. Since the external services               3. the sub is valid under the namespace of the iss;
have no mechanism to validate this relationship against the
                                                                           4. the ZKP attests not only to the presence and value of iss,
IS, possession of a leaked API key suffices to mount cross-
                                                                              aud, and sub, but to their binding to the authenticated
RP impersonation attacks. We confirmed this behaviour with
                                                                              RP identity represented by the API key;
surveys of the services.
    This missing binding extends beyond the RP’s identifier                5. no proof is generated for any combination of iss, aud,
aud to the subject identifier sub as well: sub may corre-                     sub or API key that does not satisfy the binding con-
spond to an email address (e.g., alice@gmail.com) or an-                      straints.
other issuer-defined identifier and is assigned by the identity
provider IS on a per-user basis. In OIDC, sub is defined only               Because zkLogin provides neither a protocol-level mech-
relative to a particular issuer: it uniquely identifies a user           anism nor guidance for enforcing these relationships, the
within the namespace of IS and has no meaning independent                correctness of the authentication-to-authorization boundary
of iss. Indeed, the OIDC specification [92] requires that a              is implicitly delegated to application developers. The sys-
JWT be issued only if the user identified by sub has an active           tem thereby relies on static bearer tokens that are exposed in
session with the issuer IS. Consequently, any interpretation of          browser environments, and yet assumes that they will be used
sub that is not bound to iss and to the issuance context is ill-         only in ways that respect issuer semantics and RP identity
defined. Since sub values are issuer-defined and unbounded,              constraints. As a result, the current design enables cross-RP,
it is infeasible for the prover to register or pre-authorize sub-        and cross-subject misuse of JWT-derived proofs, despite su-
ject identifiers. As a result, possession of an RP’s API key             perficially holding valid signatures from allowed IS.
enables the RP to request proofs for JWTs corresponding                     We further validated these observations by reverse-
to arbitrary subjects, without any mechanism at the proving              engineering the Docker images [58] of the proving service
interface to enforce that the subject identity used in the proof         recommended by the official documentation [32], noting that
corresponds to the intended authorization context. Moreover,             the proving service may be deployed by any organization.
none of the values submitted to the external services establish          The image exposes multiple binaries, including the proving
that the requesting party is the legitimate holder of the JWT            functionality implemented via RapidSnark [57]. While the im-
or that it controls the corresponding signing key skU .                  age includes logic to validate an allow-list of accepted issuers
    A correct design of systems like zkLogin should                      and their corresponding registered aud values per RP, issuer
enforce RP–issuer–subject binding, whereby proof                         support is fixed in code, whereas the audience allow-list is in-
generation is authorized only for a consistent tuple                     jected externally at deployment time, and the documentation
(iss, sub, aud, RP identity). This, however, might not be                provides no guidance to developers on how these lists should
enough. Consider a malicious issuer that observes a public               be constructed or maintained. Crucially, the presence of is-
RP’s aud already registered at the prover service. IS then               suer and aud allow-lists does not prevent the impersonation
assigns this identifier (as a string) to a different RP who,             vectors discussed above. Subject-level impersonation remains
in turn, registers the resulting (iss, aud) pair at the prover           possible, as sub values are neither registered nor bound to
service. As a consequence, IS can legitimately issue syntacti-           the API key or issuance context. Moreover, misuse remains
cally valid JWTs containing its own iss, the reused aud, an              possible within the set of registered aud values per issuer, as
attacker-chosen sub, and a signature generated using a key               the proving interface does not enforce any binding between a
under its control, which are accepted by the prover service              proof request and a specific authorization context associated
despite not corresponding to the original RP associated with             with a given aud.
that aud. Validation still succeeds: the verification key is
retrieved from the hard-coded key set, the iss and aud fields            On browser trust assumptions and client-side credential
match accepted values, and the sub is never checked or                   exposure. In the vast majority of public documentation of
bound to the RP. In particular, the proving and salt services            zkLogin, it is assumed that private or authorization-critical
should ensure that the RP identity requesting a proof (as                values can be safely stored or transmitted within the browser
represented by the API key) is authorized to obtain proofs               environment. In fact, in the wallets we examined, sensitive
only for JWTs whose (iss, aud) corresponds to that RP, that              values (including API keys, salts, and cryptographic material)
aud are unique, and that the attested sub is interpreted under           were stored in browser-accessible state (e.g., localStorage,
the corresponding issuer namespace. Concretely, the proving              sessionStorage, or client-side JavaScript), and in some
and salt services should enforce that:                                   cases were transmitted directly from the front-end to the prov-
                                                                         ing service—a practice explicitly discouraged in OAuth and
  1. the aud in the JWT corresponds to the RP that registered            OIDC deployments [61]. Because these values function as
     the API key and was issued by IS;                                   long-lived epoch-bounded authorization credentials rather


                                                                    15
than scope-limited JWTs, exposing them to the browser en-                             other, and proofs can be generated from any browser context
ables passive extraction by any principal with code execution                         with access to these bearer artifacts. The reliance on browser
in the client context.                                                                trust assumptions therefore amplifies, rather than mitigates,
    A secure design should avoid placing long-lived authoriza-                        cross-RP impersonation.
tion credentials in the browser at all. Instead, such values
should be managed by a backend component acting as the
RP’s authenticated agent: the backend should hold the API                             End-to-end vulnerability. Overall, our findings show that
key, retrieve or store the salt, and invoke the proving and salt                      an attacker who merely follows the guidance provided by the
services. The client should receive only short-lived, action-                         zkLogin documentation and paper, official demo, and refer-
limited outputs, and never static credentials sufficient to gen-                      ence code can fully subvert the intended trust model without
erate new proofs. Absent such guidance and enforcement,                               exploiting any cryptographic weakness. By (i) registering an
zkLogin encourages browser-based applications to behave as                            arbitrary AWS Cognito tenant as IS, (ii) extracting a RP’s
if they were secure server-side principals, despite the lack of                       API key from the browser and using a public aud, (iii) con-
isolation guarantees appropriate for long-term authorization.                         structing a JWT containing that aud and a sub under the
                                                                                      attacker-controlled issuer, and (iv) signing it with the Cognito
    The zkLogin documentation justifies these design choices
                                                                                      tenant’s key and submitting it to the proving service as trusted
by appealing to JWT semantics and to the browser’s model.
                                                                                      RP, the attacker can obtain a valid zkLogin proof for another
It argues that storing tokens and invoking the prover directly
                                                                                      aud and sub. Nothing in the protocol specification or the doc-
from the browser is safe because the JWT’s aud value “scopes
                                                                                      umentation prevents such a proof from being generated or
the token to the client ID to prevent phishing attacks”15 and
                                                                                      subsequently used by an attacker pretending to be the entity
because “the same-origin policy for the proof prevents the
                                                                                      that the sub specifies. The vulnerability does not depend on
JWT obtained for a malicious application from being used
                                                                                      protocol deviations or cryptanalysis: it arises solely from faith-
for zkLogin”16 . Implicitly, the documentation assumes that:
                                                                                      fully applying the documented integration steps, combined
(i) the aud claim is reliably enforced by the surrounding iden-
                                                                                      with the absence of binding between the RP identity, IS and
tity infrastructure and therefore binds a token to a specific
                                                                                      the claims being attested in ZKP.
RP; and (ii) the browser origin model provides sufficient con-
fidentiality and integrity to protect JWTs and to constrain                              More generally, these issues are exacerbated by the use of
which applications may transmit them to the proving ser-                              JWT-derived proofs as reusable authorization credentials. In
vice. Browser security mechanisms such as the Same Origin                             contrast, JWTs were originally designed as short-lived authen-
Policy (SOP) and Content Security Policy (CSP) do not pro-                            tication artifacts: their self-contained nature makes revoca-
vide the confidentiality or integrity guarantees implicitly as-                       tion difficult, and any party in possession of the token may
sumed by zkLogin [49, 81, 96]. SOP isolates origins from one                          continue to use it until expiry [94]. Accordingly, prior work
another, yet treats all same-origin scripts—including third-                          has repeatedly cautioned against using JWTs for long-lived
party libraries, analytics tags, advertisements, and injected                         session management or delegated authorization, particularly
dependencies—as fully trusted principals with access to that                          when tokens are stored or transmitted in environments lacking
origin’s DOM and storage. CSP constrains which scripts may                            strong isolation guarantees [42]. When client-side storage or
be loaded, but does not restrict the privileges of those scripts                      third-party submission is used, JWTs become readily accessi-
once executed.                                                                        ble to injected scripts, browser extensions, or compromised
    Our analysis demonstrates that neither claim holds in prac-                       dependencies [94], thereby amplifying the risk of token replay
tice. First, the proving and salt services do not enforce that                        and cross-RP impersonation.
aud corresponds to the RP IS associated with the API key,
nor that the aud value was ever validly issued by that IS.                            Validation and attack path. We demonstrate an end-to-
Second, because the API key and salts are transmitted from                            end attack path for cross-RP impersonation under the stated
and stored directly in browser environments, arbitrary scripts                        assumptions. We validated (a) malformed-JWT acceptance
or debugging tools can simply reuse them to generate new                              and (b) API-key-based authorization behavior on public end-
proofs, rendering “same-origin protection” irrelevant. The                            points: the remaining steps follow from the reference code
origin model governs where requests can be sent from, not                             and documented issuer trust logic. Concretely, using our own
who they are sent as: a static bearer credential such as an API                       test accounts and OIDC flows, we confirmed that the official
key or reusable salt bypasses origin-based isolation entirely.                        proving service accepts malformed JWTs that would be re-
Thus, instead of preventing phishing or unauthorized proof                            jected by standards-compliant validation, and we observed
generation, the current design enables it: tokens issued for one                      that RP API keys extracted from browser-based integrations
RP can be combined with stolen credentials belonging to an-                           are accepted for service access. For ethical reasons and to
  15 Note, however, that the aud claim is frequently misused or inconsistently        avoid generating impersonation-capable credentials, we did
validated in practice [19].                                                           not deploy an attacker-controlled issuer or attempt to imper-
  16 Paraphrased from the Sui Foundation documentation.                               sonate real users.


                                                                                 16
Mitigation. Mitigating the vulnerabilities presented re-                an identity anchored to them. Identities become action-usable
quires elevating issuer trust and RP binding from deployment            only if mediated by web account systems, binding participa-
choices to protocol-level properties. At minimum, a secure              tion to pre-existing platform accounts. Rather than removing
zkLogin design should enforce:                                          dependence on centralized identity providers, zkLogin em-
                                                                        beds them into authorization infrastructure. Moreover, since
1. Issuer trust policy must be explicit and verifiable. The             each authentication flow is issuer-mediated, the IS can ob-
set of trusted issuers must be explicitly specified and consis-         serve the RP that the user logs into on each use (via aud and
tently enforced by both the external services and the verifier.         redirect metadata), a well-known privacy limitation of feder-
Pattern-based issuer acceptance (trusting any AWS Cognito               ated SSO [37]. In addition, the issuer identity (iss and even
tenant) should be prohibited by default. More generally, is-            kid) is revealed in the clear to system participants, which may
suer allow-lists should be treated as trust roots and bound to          facilitate cross-RP linkability and tracking when combined
verification semantics rather than left as local configurations.        with other forwarded material.
2. Service authorization must be bound to protocol claims.                 By forwarding JWTs to external proving or salt services,
Access to external services must not rely on browser-exposed            zkLogin further exposes sensitive identity attributes (includ-
static bearer API keys. If such keys are used operationally,            ing profile information such as photos, email addresses, and
they must be cryptographically bound to the RP identity                 other private data) to third parties that played no role in the
and to the intended claim tuple, (iss, aud) (where aud                  user’s OIDC consent decision [41]. Notably, such attributes
can be a list to avoid shadowing), and requests should                  are frequently embedded directly in JWTs and are therefore
be rejected unless this binding holds. In particular, proof             disclosed whenever the token is transmitted for proof gener-
generation should be authorized only for consistent tuples              ation. The initial consent flow authorizes disclosure to the
(iss, aud, sub, RP identity).                                           RP, not to an external prover operated by a different entity.
                                                                        Nothing in the OIDC flow informs the user that sensitive at-
3. RP–issuer–subject binding must be enforced. The sys-                 tributes will be transmitted to a third party for computations,
tem must treat (iss, sub) as the principal identifier. Accord-          nor that JWTs may persist there. This renders the IS consent
ingly, proof generation and verification should enforce that            semantically invalid: the user never consents to a secondary
sub is interpreted under the namespace of the corresponding             disclosure of their identity data.
iss and that the requesting RP is authorized for the corre-                Relatedly, the storage and retention of these tokens at exter-
sponding aud under that issuer.                                         nal services is opaque. The zkLogin documentation provides
                                                                        no guarantees regarding how long JWTs are stored by the
4. Avoid browser-side long-lived secrets. Authorization-
                                                                        prover or salt service, whether they are persisted, inspected,
critical values should be managed by a backend component
                                                                        or aggregated, or whether derived salts or key material are
acting as the RP’s authenticated agent. The client should not
                                                                        linkable across applications from their perspective. Users are
store static credentials in browser-accessible state, and should
                                                                        not informed that their identifiers may be retained by a central-
receive only short-lived, action-limited outputs. Browser poli-
                                                                        ized proving service that serves multiple independent wallets
cies such as SOP are insufficient for this.
                                                                        and applications. Neither the official website nor the public
                                                                        integration documentation provides clear disclosure of these
4.0.3   Centralization and Privacy Risks                                retention practices or of the resulting privacy implications.
Although motivated by decentralized identity and privacy-               In particular, we found little explicit analysis of privacy and
preserving authentication, zkLogin effectively recentralizes            linkability risks arising from centralized proof generation,
trust around a small set of actors: a fixed set of issuers, out-        including whether a prover can correlate repeated uses across
sourced proving and salt services, and browser-based client             different RPs.
environments that store long-lived bearer artifacts. As such,              Moreover, the system does not clearly improve usability or
zkLogin is centralized even when working in a federated-                user autonomy. It still requires both applications and users to
friendly environment. It relies on a fixed set of issuers, and          retain long-lived secret values in order to function correctly:
the validity of proofs ultimately depends on these issuers per-         salt must be persistently stored and never lost; the API key
sisting their public keys, namespaces, and subject semantics            used to request proofs must be preserved and protected by
for a period of time. Further, the proving and salt services            the RP; and ephemeral keys and nonce material must remain
maintain global state (including JWT storage, issuer-to-key             recoverable. Thus, the burden of secret management is not
mappings, and allow-lists) which must be trusted and updated.           eliminated, but largely shifted from cryptographic wallets to
While the system might look as a “self-sovereign” one, in               opaque client-side storage and static bearer artifacts.
practice, it inherits governance assumptions of traditional
identity systems.                                                       Mitigation. Addressing the above requires making data
   Further, zkLogin centralizes not only on issuers, but also on        flows and trust relationships explicit, and minimizing the dis-
user accounts belonging to those issuers: a user must possess           closure of identity attributes beyond what the user consents to


                                                                   17
in the OIDC flow. Importantly, the proving interface should                6. the proving and salt services adopt stricter verification
avoid receiving full JWTs whenever possible. Instead, proof                   rules, including canonical JSON enforcement, unique-
generation should be designed to operate on minimal claim                     ness checks, rejection of duplicate or malformed claims,
material (e.g., only those fields required for statement con-                 and validation of key identifiers.
struction), and should exclude auxiliary profile claims not
required for authorization, or it should be generated client-              7. wallets obtain explicit user consent before forwarding
side.                                                                         any sensitive JWT to an external proving service, in line
                                                                              with OIDC privacy expectations and informed consent.
   Further, proving and salt services should provide public,
auditable disclosures regarding token handling: what data                   In their response, Sui addressed only points (4) and (5),
is received (JWTs or extracted claims), whether it is stored,            focusing on the claim that exposing the API key and related
retention duration, access controls, and whether any aggre-              parameters to the browser is acceptable because the RP must
gation/telemetry is performed. In addition, documentation                invoke the external services, and requests are “bound” to the
should explicitly describe the resulting privacy and linkability         wallet’s JWT, with all communication protected by TLS. Our
implications for users.                                                  findings indicate that these conditions do not provide a robust
                                                                         security boundary. First, the API key is a bearer credential:
                                                                         possession suffices to invoke the external services from arbi-
4.1    Ethical Considerations
                                                                         trary contexts contradicting any implicit origin- or RP-binding
We followed a responsible disclosure process throughout this             guarantee. Second, TLS is orthogonal to the relevant attacker
research. All findings were communicated to the zkLogin                  models: injected scripts, malicious extensions, compromised
designers and Sui on 29 November 2025, and they acknowl-                 dependencies, or brief device access observe decrypted data
edged receipt on the same day. We received no further com-               post-TLS and can trivially exfiltrate and replay JS-accessible
munication, and we followed-up with an email on the 4th of               bearer artifacts. This data also lives longer than OIDC ses-
February, 2026. We received a reply on 5th February 2026.                sions and can be used at any time by an attacker that saw the
We note that the official documentation from MystenLabs/-                credentials once. Third, the current design offers poor incident
Sui (the private company that originally designed and devel-             containment: a static browser-exposed key prevents targeted
oped the Sui blockchain, Slush wallet and zkLogin) notes that            revocation, whereas standard web patterns (short-lived session
zkLogin is outside of scope for their bug-bounty program [53].           credentials, HttpOnly cookies, or proof-of-possession bind-
Our disclosure included a detailed technical report covering             ings), proxy-based services or OAuth’s Authorization Code
all architectural, parsing, policy, and centralization vulner-           Flow with Proof Key for Code Exchange (PKCE) [7] preserve
abilities identified in this work. In particular, we explicitly          security while reducing replay and exfiltration impact. We
recommended that:                                                        followed up on February 6, 2026, recommending that, if the
                                                                         workflow must remain client-driven, the design adopt these
  1. strong, specification-compliant JWT parsing and valida-             standard alternatives.
     tion be enforced at the RP side, rather than deferred to               Following private disclosure in November 2025, we re-
     the proving service;                                                ceived a public response on February 14, 2026 via X (for-
                                                                         merly Twitter) [52]. The response clarified that the Sui deploy-
  2. the system explicitly asks for the creation of an allow-list        ment of zkLogin enforces an allow-list of identity providers
     of issuers, and disallows patterns as the AWS one;                  at the implementation level. Our analysis, however, con-
                                                                         cerns protocol-level guarantees and the security properties of
  3. a cryptographic binding be introduced between the is-               zkLogin as a reusable primitive: we argue that such checks
     suer, subject, audience, and API key (e.g., using a com-            should be enforced as part of the protocol specification rather
     mitment to all of them for each service, issuer and subject         than relying on deployment-specific configuration. We have
     registered at the proving and salt service), preventing ar-         clarified these points to avoid misinterpretation. The response
     bitrary proof generation. Furthermore, that a check be              further stated that cross-issuer impersonation is not possible.
     enforced to the RP to show the aud was assigned by the              Our paper does not claim cross-issuer impersonation; rather,
     OP and it is the current one (not rotated);                         we analyze cross–RP and cross-subject impersonation within
                                                                         a single issuer namespace. We have clarified these points to
  4. all sensitive long-lived authorization material (salts,             avoid misinterpretation. The response also makes explicit that
     API keys, ephemeral keys) be prohibited from stor-                  the considered threat model assumes all issuers to be trusted.
     age in browser-accessible environments, or front-end                While we consider this assumption unrealistic in many de-
     JavaScript variables;                                               ployment settings, particularly given the nature of OIDC and
                                                                         that many of the JWT values are public, the response indi-
  5. the API key never be exposed to the browser front-end,              cates plans to integrate mitigations addressing malicious or
     and that wallets be updated to remove this pattern;                 misconfigured issuers, including adoption of fully standards-


                                                                    18
compliant JWT/JSON parsing. At the time of writing, we are                nor does it require strict temporal validity or canonical to-
not aware of whether additional recommended mitigations                   ken structure. At the proving layer, the circuits validate only
have been implemented, nor of a timeline for the integration              narrow byte-slices of a token and rely on assumptions fun-
of standards-compliant parsing. We explicitly communicated                damentally incompatible with JSON or OIDC semantics. At
our willingness to provide technical guidance on remediation.             the verifier layer, validators rely on incomplete or stale is-
   We emphasize that at no point did we attempt to exploit                suer metadata, and no component checks whether the JWT’s
these issues in production systems. All experimental results              intended scope aligns with the RP requesting authorization.
were obtained using our own test accounts, locally generated              Each subsystem independently weakens the intended security
JWTs, and public testnet proving endpoints, and we never                  model: in aggregate, they negate it.
attempted to access, extract, or interact with any real user                 These outcomes highlight a deeper issue: systems extend-
data. We did not attempt to gain elevated privileges or disrupt           ing web authentication tokens into cryptographic authoriza-
system functionality. Our reverse-engineering efforts were                tion mechanisms lack a unified and principled security frame-
limited to inspection of publicly distributed Docker images               work. Instead, the design of zkLogin appears to have evolved
and binaries that are explicitly intended to be deployed by               by layering isolated components (OIDC semantics, ad hoc
third parties. We did not bypass technical protection mea-                parsing logic, outsourced proving services, and blockchain
sures, authentication controls, or licensing restrictions, nor            expiry rules) without a global threat model governing how
did we modify or redistribute the analyzed artifacts. Reverse-            these components interact. As with other federated identity
engineering was performed solely to understand documented                 systems, the absence of a formal end-to-end analysis leads to
security-relevant behavior that is not specified in the public            brittle security boundaries, unexpected data flows, and unre-
documentation and was necessary to assess the real-world                  vocable trust relationships that outlive the very tokens from
security properties of the system.                                        which they derive.
   We conducted this research strictly within ethical guide-                 We stress that these risks are magnified when systems are
lines for security analysis, avoided generating harmful proofs            such are proposed for higher-stakes identity settings, such as
or forging identities belonging to others, and limited all in-            digital passports, national ID systems, or government-backed
teractions to minimal inputs required to demonstrate the fea-             attestations [38, 111, 112]. Extending web-token semantics
sibility of the vulnerabilities described. We will continue to            to these domains, while simultaneously weakening issuer,
cooperate fully with the affected developers to ensure fixes              audience, and consent guarantees, risks entrenching central-
are deployed responsibly and users are protected.                         ized identity providers as long-term authorization oracles,
                                                                          exposing sensitive personal attributes to external provers, and
                                                                          removing meaningful revocation or policy control. Such sys-
5   Discussion
                                                                          tems should not be proposed and deployed without a rigorous,
Our analysis demonstrates that the foundational security as-              formal treatment of their security and privacy properties, and
sumptions underlying zkLogin cannot hold under realistic                  without reconsidering whether repurposing web authentica-
adversarial conditions. Together, the vulnerabilities presented           tion tokens is appropriate for these application domains at
undermine the core guarantees it claims to provide: scoped au-            all.
thorization, input integrity, unlinkability, and decentralization.
Rather than reflecting isolated implementation bugs, these
vulnerabilities arise from the architectural design choices that
structurally re-purpose short-lived web authentication tokens
into long-lived authorization credentials. A common theme
across our failures is the way they compose all-together. Pars-
ing ambiguities allow an attacker to craft adversarially shaped
JWTs: this interacts directly with the absence of binding vali-
dation, enabling malformed tokens and audience confusion.
These issues get compounded with trust amplification at ex-
ternal proving and salt services, where JWTs and identity
attributes are forwarded and reused outside the scope of the
IS and user consent. Finally, the exposure of cryptographic
values in the browser turns these logical flaws into practi-
cal exploits: any malicious script or injected dependency can
harvest them and generate fresh proofs indefinitely.
   The vulnerabilities we document are distributed across
the entire zkLogin pipeline. At the identity layer, the system
does not enforce correct issuer–audience–subject bindings,


                                                                     19
References                                                         [11] S. Celi, K. den Hartog, and H. Haddadi. Private and
                                                                        decentralized age verification architecture. Slides,
 [1] 1News. Debate rages as australia set to ban chil-                  IAB/W3C Workshop on Age-Based Restrictions on
     dren from social media. https://tinyurl.com/                       Content Access (agews), 2025. URL: https://
     3vzhnmtc, September 2024. Archived via Wayback                     tinyurl.com/bdtvs9t9.
     Machine; Accessed July 2025.
                                                          [12] Sofia Celi.        The limits of zero-knowledge
 [2] New America. Exploring privacy-preserving age             for age-verification. https://brave.com/blog/
     verification: A close look at zero-knowledge proofs.      zkp-age-verification-limits/, November 2025.
     https://www.newamerica.org/oti/briefs/                    Brave Software blog, Accessed 2025-11-28.
     exploring-privacy-preserving-age-verification/, [13] Sofía Celi, Alex Davidson, Hamed Haddadi, Gonçalo
     July 2025.                                                Pestana, and Joe Rowell. DiStefano: Decentral-
                                                                        ized infrastructure for sharing trusted encrypted facts
 [3] Sebastian Angel, Andrew J. Blumberg, Eleftherios
                                                                        and nothing more. Cryptology ePrint Archive, Pa-
     Ioannidis, and Jess Woods. Efficient representation of
                                                                        per 2023/1063, 2023. URL: https://eprint.iacr.
     numerical optimization problems for SNARKs. 2022.
                                                                        org/2023/1063.
 [4] Slush App. Slush wallet, 2025. Accessed: 2025-11-26.          [14] Sylvain Chatel, Christian Knabenhans, Wouter Lueks,
     URL: https://slush.app/.                                           Mathilde Raynal, Carmela Troncoso, and Ádám Vécsi.
                                                                        Limitations and pitfalls of integrating pets in online
 [5] Suiet App. Suiet wallet, 2025. Accessed: 2025-11-26.               age verification. Slides, IAB/W3C Workshop on Age-
     URL: https://suiet.app/.                                           Based Restrictions on Content Access (agews), 2025.
                                                                        URL: https://tinyurl.com/72erwdhj.
 [6] ARPA Canada. Age verification bill reintroduced in
     the senate. https://arpacanada.ca/articles/        [15] OpenZeppelin community (spalladino). Sign in with
     age-verification-bill-reintroduced-in-the-senate/, Google to your Identity Contract (for fun and profit).
     2025. Accessed July 2025.                               OpenZeppelin Community Forum post, October 2019.
                                                             Accessed 2025-11-28. URL: https://tinyurl.
 [7] auth0 Docs. Authorization Code Flow with Proof Key      com/hpn29xxx.
     for Code Exchange (PKCE). Accessed: 2026-01-25.
     URL: https://auth0.com/docs/get-started/           [16] Connect2id. Connect2id server, 2024. Accessed: 2025-
     authentication-and-authorization-flow/                  11-25. URL: https://connect2id.com/products/
     authorization-code-flow-with-pkce.                      server.
                                                                   [17] Cybersecurity and Infrastructure Security Agency
 [8] Foteini Baldimtsi, Konstantinos Kryptos Chalkias, Yan
                                                                        (CISA).      TraderTraitor: North Korean State-
     Ji, Jonas Lindstrøm, Deepak Maram, Ben Riva, Arnab
                                                                        Sponsored APT Targets Blockchain Compa-
     Roy, Mahdi Sedaghat, and Joy Wang. zklogin: Privacy-
                                                                        nies, 2022.     Accessed: 2025-11-25.      URL:
     preserving blockchain authentication with existing
                                                                        https://www.cisa.gov/news-events/
     credentials. In Proceedings of the 2024 on ACM
                                                                        cybersecurity-advisories/aa22-108a.
     SIGSAC Conference on Computer and Communica-
     tions Security, CCS ’24, page 3182–3196, New York,            [18] d0ge.   SignSaboteur, 2025. Accessed: 2025-
     NY, USA, 2024. Association for Computing Machin-                   11-27.      URL: https://github.com/d0ge/
     ery. doi:10.1145/3658644.3690356.                                  sign-saboteur.

 [9] Foteini Baldimtsi and Deepak Maram. zkLogin:                  [19] Descope.     How to use the JWT aud claim se-
     Privacy-Preserving Blockchain Auth (RWC 2025),                     curely. Blog post, January 2025. Accessed: 2025-11-
     2025. Real World Crypto (RWC) 2025 talk, Ac-                       28. URL: https://www.descope.com/blog/post/
     cessed: 2025-11-29. URL: https://www.youtube.                      jwt-aud-claim.
     com/watch?v=4PQ0JOLE1OI.                                      [20] D. Dolev and A. Yao. On the security of public key
                                                                        protocols. IEEE Transactions on Information The-
[10] T. Bray, D. Hollander, and N. A. Hall. The JavaScript
                                                                        ory, 29(2):198–208, 1983. doi:10.1109/TIT.1983.
     Object Notation (JSON) Data Interchange Format.
                                                                        1056650.
     Technical Report RFC 8259, Internet Engineering
     Task Force (IETF), Dec 2017. Accessed: 2025-11-               [21] doubleblind xyz.    Double-blind, 2025.  Ac-
     25. URL: https://datatracker.ietf.org/doc/                         cessed: 2025-11-25. URL: https://github.com/
     html/rfc8259, doi:10.17487/RFC8259.                                doubleblind-xyz/double-blind.


                                                              20
[22] European Digital Rights (EDRi). Showing your id to          [32] Sui Foundation.    zkLogin Integration Guide,
     get online might become a reality – a closer look at             2025.      Accessed: 2025-11-25.        URL:
     the EU’s new age verification app. https://tinyurl.              https://docs.sui.io/guides/developer/
     com/7ssexsan, May 2025.                                          cryptography/zklogin-integration.

[23] European Commission.   2030 Digital Compass:                [33] Matteo Frigo and abhi shelat. Anonymous creden-
     The European Way for the Digital Decade.                         tials from ECDSA. Cryptology ePrint Archive, Pa-
     https://eur-lex.europa.eu/legal-content/                         per 2024/2010, 2024. URL: https://eprint.iacr.
     EN/TXT/?uri=celex:52021DC0118,         2021.                     org/2024/2010.
     COM(2021) 118 final.
                                                                 [34] Kevin Fu, Emil Sit, Kendra Smith, and Nick
[24] European Commission. Proposal for a Regulation of                Feamster. The dos and don’ts of client authen-
     the European Parliament and of the Council amending              tication on the web. In 10th USENIX Security
     Regulation (EU) No 910/2014 as regards establish-                Symposium (USENIX Security 01), Washing-
     ing a framework for a European Digital Identity.                 ton, D.C., August 2001. USENIX Association.
     https://eur-lex.europa.eu/legal-content/                         URL:      https://www.usenix.org/conference/
     EN/TXT/?uri=CELEX:52021PC0281, June 2021.                        10th-usenix-security-symposium/
                                                                      dos-and-donts-client-authentication-web.
[25] Zhiyong Fang, David Darais, Joseph P. Near, and Yu-
     peng Zhang. Zero knowledge static program anal-             [35] Shafi Goldwasser, Silvio Micali, and Charles Rack-
     ysis. In Proceedings of the 2021 ACM SIGSAC                      off. The knowledge complexity of interactive proof-
     Conference on Computer and Communications Se-                    systems (extended abstract). pages 291–304, 1985.
     curity, CCS ’21, page 2951–2967, New York, NY,                   doi:10.1145/22145.22178.
     USA, 2021. Association for Computing Machinery.
     doi:10.1145/3460120.3484795.                                [36] Paul Grubbs, Arasu Arun, Ye Zhang, Joseph Bon-
                                                                      neau, and Michael Walfish.     Zero-Knowledge
[26] Daniel Fett, Ralf Küsters, and Guido Schmitz. A Com-             middleboxes. In 31st USENIX Security Sympo-
     prehensive Formal Security Analysis of OAuth 2.0.                sium (USENIX Security 22), pages 4255–4272,
     In Proceedings of the 2016 ACM SIGSAC Confer-                    Boston, MA, August 2022. USENIX Association.
     ence on Computer and Communications Security, CCS                URL:     https://www.usenix.org/conference/
     ’16, page 1204–1215, New York, NY, USA, 2016. As-                usenixsecurity22/presentation/grubbs.
     sociation for Computing Machinery. doi:10.1145/
     2976749.2978385.                                            [37] Sven Hammann, Ralf Sasse, and David Basin. Privacy-
                                                                      preserving openid connect. In Proceedings of the 15th
[27] OpenID Foundation. How openid connect works, 2025.
                                                                      ACM Asia Conference on Computer and Communica-
     Accessed: 2025-11-26. URL: https://openid.net/
                                                                      tions Security, ASIA CCS ’20, page 277–289, New
     developers/how-connect-works/.
                                                                      York, NY, USA, 2020. Association for Computing Ma-
[28] Sui Foundation. A Complete Guide to zkLogin: How                 chinery. doi:10.1145/3320269.3384724.
     it Works and How to Use It, 2023. YouTube video. Ac-
     cessed: 2025-11-26. URL: https://www.youtube.               [38] Alexis Hancock and Paige Collings. Zero knowledge
     com/watch?v=Jk4mq5IOUYc.                                         proofs alone are not a digital id solution to protecting
                                                                      user privacy. https://tinyurl.com/2kxz433k, July
[29] Sui Foundation. Configure OpenID Providers for zk-               2025. Electronic Frontier Foundation blog, Accessed
     Login, 2025. Accessed: 2025-11-25. URL: https://                 2025-11-28.
     docs.sui.io/guides/developer/cryptography/
     zklogin-integration/developer-account.                      [39] Ethan Heilman, Lucie Mugnier, Athanasios Filippidis,
                                                                      Sharon Goldberg, Sebastien Lipman, Yuval Marcus,
[30] Sui Foundation. zkLogin, 2025. Accessed: 2025-                   Mike Milano, Sidhartha Premkumar, Chad Unrein, and
     11-25. URL: https://docs.sui.io/concepts/                        John Merfeld. OpenPubkey: Augmenting OpenID
     cryptography/zklogin.                                            connect with user held signing keys. Cryptology
                                                                      ePrint Archive, Paper 2023/296, 2023. URL: https:
[31] Sui Foundation. zkLogin Example, 2025. Ac-                       //eprint.iacr.org/2023/296.
     cessed: 2025-11-25.    URL: https://docs.
     sui.io/guides/developer/cryptography/                       [40] iden3. Circom 2 Documentation, 2025. Accessed:
     zklogin-integration/zklogin-example.                             2025-11-25. URL: https://docs.circom.io/.


                                                            21
[41] Jacob Ideskog. The relationship between consent                     //ec.europa.eu/digital-buildingblocks/
     and claims, Feb 2025.     Accessed: 2025-11-28.                     sites/spaces/EIDCOMMUNITY/pages/48762251/
     URL:     https://curity.io/resources/learn/                         Overviewof+pre-notified+and+notified+eID+
     the-relationship-between-consent-and-claims/.                       schemes+under+eIDAS.
[42] Joepie.     Stop Using JWT for Sessions.                       [52] Kostas Kryptos. Public response regarding zkLogin se-
     http://cryto.net/~joepie91/blog/2016/                               curity analysis (X/Twitter), February 2026. Accessed:
     06/13/stop-using-jwt-for-sessions/, 2016.                           2026-02-15. URL: https://x.com/kostascrypto/
[43] Ash Johnson.      The Path to Digital Iden-                         status/2022475095722123322.
     tity in the United States.    Report, Informa-
                                                     [53] Mysten Labs. Bug bounty program. https://
     tion Technology and Innovation Foundation,
                                                          www.mystenlabs.com/bug-bounty, 2023. Accessed
     September 2024.   Accessed July 2025.    URL:
                                                          2025-11-30.
     https://itif.org/publications/2024/09/23/
     path-to-digital-identity-in-the-united-states/. [54] Mysten Labs. Enoki documentation, 2025. Ac-
[44] M. B. Jones, J. Bradley, and N. Sakimura. JSON Web                  cessed: 2025-11-26. URL: https://docs.enoki.
     Signature (JWS). Technical Report RFC 7515, Internet                mystenlabs.com/.
     Engineering Task Force (IETF), May 2015. Accessed:
                                                                    [55] Mysten Labs. fastcrypto, 2025. Accessed: 2025-
     25 Nov. 2025. URL: https://www.rfc-editor.
                                                                         11-25. URL: https://github.com/MystenLabs/
     org/rfc/rfc7515.txt, doi:10.17487/RFC7515.
                                                                         fastcrypto.
[45] Michael B. Jones, John Bradley, and Nat Sakimura.
     JSON Web Token (JWT). Request for Comments                     [56] Mysten Labs. Sui: The Sui blockchain and related
     RFC 7519, Internet Engineering Task Force (IETF),                   tooling, 2025. Accessed: 2025-11-26. URL: https:
     May 2015. URL: https://datatracker.ietf.                            //github.com/MystenLabs/sui/tree/main.
     org/doc/html/rfc7519.
                                                                    [57] Mysten Labs. RapidSNARK, 2026. Accessed: 2026-
[46] Jovi Cheng. Sui’s ZkLogin Demo, 2025. Ac-                           01-25. URL: https://github.com/MystenLabs/
     cessed: 2025-11-25. URL: https://github.com/                        rapidsnark.
     jovicheng/sui-zklogin-demo.
                                                                    [58] Mysten Labs. zkLogin Docker Image, 2026. Official
[47] jovicheng. sui-zklogin-demo. GitHub repository, 2023.               image, Accessed: 2026-01-25. URL: https://hub.
     Accessed: 2025-11-28. URL: https://github.com/                      docker.com/r/mysten/zklogin.
     jovicheng/sui-zklogin-demo.
                                                                    [59] Lakshmiraghavan, Badrinarayanan. Web Tokens, pages
[48] Jow Tidy. North Korean hackers cash out hundreds of
                                                                         191–225. Apress, Berkeley, CA, 2013. doi:10.1007/
     millions from $1.5bn ByBit hack, 2025. Accessed:
                                                                         978-1-4302-5783-7_10.
     2025-11-25. URL: https://www.bbc.com/news/
     articles/c2kgndwwd7lo.                                         [60] Jan Lauinger, Jens Ernstberger, Andreas Finkenzeller,
[49] Gayatri Priyadarsini Kancherla, Dishank Goel, and Ab-               and Sebastian Steinhorst.       Janus: Fast privacy-
     hishek Bichhawat. Least privilege access for persistent             preserving data provenance for TLS. 2025.
     storage mechanisms in web browsers. In Proceedings
                                                                    [61] Torsten Lodderstedt, Mark McGloin, and Phil Hunt.
     of the ACM on Web Conference 2025, WWW ’25, page
                                                                         OAuth 2.0 Threat Model and Security Considerations.
     4832–4840, New York, NY, USA, 2025. Association
                                                                         Technical Report RFC 6819, Internet Engineering Task
     for Computing Machinery. doi:10.1145/3696410.
                                                                         Force (IETF), January 2013. Accessed: 2025-11-
     3714887.
                                                                         27. URL: https://datatracker.ietf.org/doc/
[50] Kaitlyn Kenwell. Strict validation breaks due to Mi-                html/rfc6819.
     crosoft’s OIDC noncompliance, 2023. Accessed: 2025-
     11-25. URL: https://github.com/ramosbugs/                      [62] PortSwigger Ltd.     JWT attacks.  https://
     openidconnect-rs/issues/122.                                        portswigger.net/web-security/jwt, 2025. Web
                                                                         Security Academy – PortSwigger.
[51] M. Kirova. Overview of Pre-notified and Notified
     eID Schemes under eIDAS. eID User Community                    [63] PortSwigger Ltd. OAuth. https://portswigger.
     – European Commission Digital Building Blocks,                      net/web-security/oauth, 2025. Web Security
     October 2023. Accessed 2025-09-19. URL: https:                      Academy – PortSwigger.


                                                               22
[64] Kaixuan Luo, Xianbo Wang, Pui Ho Adonis Fung,               [73] MystenLabs. ts-sdks: Sui TypeScript SDK - zklo-
     Wing Cheong Lau, and Julien Lecomte. Universal                   gin module, 2025. Accessed: 2025-11-27. URL:
     cross-app attacks: exploiting and Securing OAuth 2.0             https://github.com/MystenLabs/ts-sdks/
     in integration platforms. In Proceedings of the 34th             tree/main/packages/typescript/src/zklogin.
     USENIX Conference on Security Symposium, SEC ’25,
     USA, 2025. USENIX Association.                              [74] Neha Narula, Willy Vasquez, and Madars Virza. zk-
                                                                      Ledger: Privacy-Preserving auditing for distributed
[65] Christian Mainka, Vladislav Mladenov, and Jörg                   ledgers.    In 15th USENIX Symposium on Net-
     Schwenk. Do Not Trust Me: Using Malicious IdPs                   worked Systems Design and Implementation (NSDI
     for Analyzing and Attacking Single Sign-on. In 2016              18), pages 65–80, Renton, WA, April 2018. USENIX
     IEEE European Symposium on Security and Privacy                  Association.    URL: https://www.usenix.org/
     (EuroS&P), pages 321–336, 2016. doi:10.1109/                     conference/nsdi18/presentation/narula.
     EuroSP.2016.33.
                                                                 [75] Asmit Nayak, Rishabh Khandelwal, Earlence Fernan-
[66] Christian Mainka, Vladislav Mladenov, Jörg Schwenk,              des, and Kassem Fawaz. Experimental security anal-
     and Tobias Wich. SoK: Single Sign-On Security - An               ysis of sensitive data access by browser extensions.
     Evaluation of OpenID Connect. In 2017 IEEE Euro-                 In Proceedings of the ACM Web Conference 2024,
     pean Symposium on Security and Privacy (EuroS&P),                WWW ’24, page 1283–1294, New York, NY, USA,
     pages 251–266, 2017. doi:10.1109/EuroSP.2017.                    2024. Association for Computing Machinery. doi:
     32.                                                              10.1145/3589334.3645683.

                                                                 [76] David Naylor, Richard Li, Christos Gkantsidis, Thomas
[67] Carlo Mazzocca, Abbas Acar, Selcuk Uluagac, Re-
                                                                      Karagiannis, and Peter Steenkiste. And then there were
     becca Montanari, Paolo Bellavista, and Mauro Conti.
                                                                      more: Secure communication for more than two par-
     A survey on decentralized identifiers and verifiable
                                                                      ties. In Proceedings of the 13th International Con-
     credentials. IEEE Communications Surveys & Tuto-
                                                                      ference on Emerging Networking EXperiments and
     rials, pages 1–1, 2025. doi:10.1109/COMST.2025.
                                                                      Technologies, CoNEXT ’17, page 88–100, New York,
     3543197.
                                                                      NY, USA, 2017. Association for Computing Machin-
[68] Tim McLean. Critical vulnerabilities in JSON Web                 ery. doi:10.1145/3143361.3143383.
     Token libraries. https://tinyurl.com/34zdxfy2,              [77] Aviad Hahami Unit42 Palo Alto Networks.
     August 2020. Guest Author post on the Auth0 Blog.                OH-MY-DC:     OIDC      Misconfigurations   in
                                                                      CI/CD, 2025.   Accessed: 2025-11-25.      URL:
[69] Sarah Meiklejohn, Joe DeBlasio, Devon O’Brien,
                                                                      https://unit42.paloaltonetworks.com/
     Chris Thompson, Kevin Yeo, and Emily Stark.
                                                                      oidc-misconfigurations-in-ci-cd/.
     SoK: SCT Auditing in Certificate Transparency,
     2022. URL: https://arxiv.org/abs/2203.01661,                [78] Shradha Neupane, Grant Holmes, Elizabeth Wyss,
     arXiv:2203.01661.                                                Drew Davidson, and Lorenzo De Carli. Beyond
                                                                      typosquatting: An in-depth look at package con-
[70] Vladislav Mladenov and Christian Mainka. Attack-                 fusion.    In 32nd USENIX Security Symposium
     ing OpenID Connect 1.0 - Malicious Endpoints                     (USENIX Security 23), pages 3439–3456, Ana-
     Attack, 2015.   Accessed: 2025-11-25.     URL:                   heim, CA, August 2023. USENIX Association.
     https://web-in-security.blogspot.com/2015/                       URL:      https://www.usenix.org/conference/
     10/attacking-openid-connect-10-malicious.                        usenixsecurity23/presentation/neupane.
     html.
                                                                 [79] AP News.       Utah lawsuit over online porn age-
[71] Vladislav Mladenov, Christian Mainka, and Jörg                   verification dismissed. Associated Press, February
     Schwenk. On the security of modern Single Sign-On                2025. Accessed July 2025. URL: https://tinyurl.
     Protocols: Second-Order Vulnerabilities in OpenID                com/y24nnk78.
     Connect, 2016. URL: https://arxiv.org/abs/
     1508.04324, arXiv:1508.04324.                               [80] Critical Security Oy. Targeted review of certain Sui
                                                                      Wallet updates. Technical report, Sui Foundation
[72] MojoAuth.    Implement OAuth 2.0 and OpenID                      Security Audits, 2023.      Accessed: 2025-11-25.
     Connect (OIDC) with Quarkus, December 2025.                      URL:      https://github.com/sui-foundation/
     URL:      https://mojoauth.com/oauth2-oidc/                      security-audits/blob/main/docs/sui_wallet_
     implement-oauth2-oidc-with-quarkus.                              zklogin_update_H223_review_v_0_9.pdf.


                                                            23
[81] Ruoming Pang, Ramon Caceres, Mike Burrows,                    [89] Brendan Rius. JWT Cracker, 2025. Accessed: 2025-
     Zhifeng Chen, Pratik Dave, Nathan Germer, Alexan-                  11-27. URL: https://github.com/brendan-rius/
     der Golynski, Kevin Graney, Nina Kang, Lea Kiss-                   c-jwt-cracker.
     ner, Jeffrey L. Korn, Abhishek Parmar, Christina D.
     Richards, and Mengzhi Wang. Zanzibar: Google’s                [90] Michael Rosenberg, Jacob White, Christina Garman,
     consistent, global authorization system. In 2019                   and Ian Miers. zk-creds: Flexible anonymous creden-
     USENIX Annual Technical Conference (USENIX ATC                     tials from zkSNARKs and existing identity infrastruc-
     19), pages 33–46, Renton, WA, July 2019. USENIX                    ture. Cryptology ePrint Archive, Paper 2022/878, 2022.
     Association.     URL: https://www.usenix.org/                      URL: https://eprint.iacr.org/2022/878.
     conference/atc19/presentation/pang.
                                                                   [91] N. Sakimura, J. Bradley, M. Jones, B. de Medeiros, and
[82] Sanghyeon Park, Jeonghyuk Lee, Seunghwa Lee,                       C. Mortimore. OpenID Connect Core 1.0. Technical
     Jung Hyun Chun, Hyeonmyeong Cho, Mingi Kim,                        Report Final, OpenID Foundation, Feb 2014. Accessed:
     Hyun Ki Cho, and Soo-Mook Moon. Beyond the                         25 Nov. 2025. URL: https://openid.net/specs/
     blockchain address: Zero-knowledge address abstrac-                openid-connect-core-1_0-final.html.
     tion. In Proceedings of the 40th ACM/SIGAPP Sympo-
     sium on Applied Computing, SAC ’25, page 366–374,             [92] N. Sakimura, J. Bradley, M.B. Jones, B. de Medeiros,
     New York, NY, USA, 2025. Association for Computing                 , and C. Mortimore.        OpenID Connect Core
     Machinery. doi:10.1145/3672608.3707839.                            1.0 incorporating errata set 2, 2023.      Accessed:
                                                                        2025-11-25. URL: https://openid.net/specs/
[83] Kenneth G. Paterson, Matteo Scarlata, and Kien Tuong               openid-connect-core-1_0.html.
     Truong. Three lessons from threema: Analysis
                                                                   [93] Luca Schönwälder.         A Security Analy-
     of a secure messenger. In 32nd USENIX Security
                                                                        sis of OpenID Connect.       Master’s thesis,
     Symposium (USENIX Security 23), pages 1289–1306,
                                                                        Ruhr-Universität Bochum, May 2021.     URL:
     Anaheim, CA, August 2023. USENIX Association.
                                                                        https://www.nds.ruhr-uni-bochum.de/media/
     URL:      https://www.usenix.org/conference/
                                                                        ei/arbeiten/2021/05/03/masterthesis.pdf.
     usenixsecurity23/presentation/paterson.
                                                                   [94] Yaron Sheffer, Dick Hardt, and Michael B. Jones.
[84] Felipe Pezoa, Juan L. Reutter, Fernando Suarez, Martín
                                                                        JSON Web Token Best Current Practices. Request
     Ugarte, and Domagoj Vrgoč. Foundations of JSON
                                                                        for Comments RFC 8725, Internet Engineering Task
     Schema. In Proceedings of the 25th International Con-
                                                                        Force (IETF), February 2020. Best Current Practice,
     ference on World Wide Web, WWW ’16, page 263–273,
                                                                        BCP 225. URL: https://www.rfc-editor.org/
     Republic and Canton of Geneva, CHE, 2016. Interna-
                                                                        rfc/rfc8725.html.
     tional World Wide Web Conferences Steering Commit-
     tee. doi:10.1145/2872427.2883029.                             [95] Shinami.    ZKLogin Wallet API — Sui Wal-
                                                                        let Services Documentation.     https://docs.
[85] PortSwigger. JavaScript Object Signing and En-                     shinami.com/api-docs/sui/wallet-services/
     cryption Pentesting Helper (JOSEPH), 2021. Ac-                     zklogin-wallet-api, 2025. Accessed: 2025-11-28.
     cessed: 2025-11-27. URL: https://github.com/
     PortSwigger/json-web-token-attacker.                          [96] Dolière Francis Somé. Empoweb: Empowering web
                                                                        applications with browser extensions. In 2019 IEEE
[86] PortSwigger. JWT Editor, 2025. Accessed: 2025-                     Symposium on Security and Privacy (SP), pages 227–
     11-27. URL: https://github.com/PortSwigger/                        245, 2019. doi:10.1109/SP.2019.00058.
     jwt-editor.
                                                                   [97] Alan Stapelberg.      Opening up Źero-Knowledge
[87] Melissa Quinn. Supreme court upholds texas law on                  Prooft́echnology to promote privacy in age assurance.
     age verification for porn sites. CBS News, June 2025.              Blog post, Google, July 2025. https://tinyurl.
     Accessed July 2025. URL: https://tinyurl.com/                      com/34mmhpy9, Accessed 2025-11-28.
     yrxhjk8t.
                                                                   [98] Sui. Sui’s zklogin Demo Web App. https://
[88] Ed R. Hedberg, M.B. Jones, A.Å. Solberg, J. Bradley,               sui-zklogin.vercel.app/, 2025. Accessed: 2025-
     G. De Marco, and V. Dzhuvinov.              OpenID                 11-25.
     Federation 1.0 - draft 48, 2026.         Accessed:
     2026-01-15. URL: https://openid.net/specs/                    [99] Sui Foundation. Sui official website. https://sui.
     openid-federation-1_0.html.                                        io/, 2025. Accessed: 2025-11-28.


                                                              24
[100] European Data Protection Supervisor. Techdispatch               [112] Svea Windwehr and Alexis Hancock. Digital Identities
      #3/2025 - digital identity wallets. https://tinyurl.                  and the Future of Age Verification in Europe. https:
      com/23m2ybm5, December 2025.                                          //tinyurl.com/2f37t6vs, April 2025. Electronic
                                                                            Frontier Foundation blog - Accessed 2026-01-12.
[101] Surftech. Surf wallet. https://www.surf.tech/,
      2025. Accessed: 2025-11-28.                                     [113] Xiang Xie, Kang Yang, Xiao Wang, and Yu Yu.
                                                                            Lightweight authentication of web data via garble-then-
[102] Christophe Tafani-Dereeper. Abusing Misconfig-                        prove. In Proceedings of the 33rd USENIX Confer-
      ured OIDC Authentication In Cloud Environments,                       ence on Security Symposium, SEC ’24, USA, 2024.
      2025. Accessed: 2025-11-25. URL: https://www.                         USENIX Association.
      youtube.com/watch?v=r68fyFhkeV0.
                                                                      [114] Collin Zhang, Zachary DeStefano, Arasu Arun,
[103] Justin Martin (TheFrozenFire). snark-jwt-verify: Ver-                 Joseph Bonneau, Paul Grubbs, and Michael Walfish.
      ify JWTs using SNARKs, 2024. Accessed: 2025-11-                       Zombie: Middleboxes that Don’t snoop. In 21st
      25. URL: https://github.com/TheFrozenFire/                            USENIX Symposium on Networked Systems Design
      snark-jwt-verify.                                                     and Implementation (NSDI 24), pages 1917–1936,
                                                                            Santa Clara, CA, April 2024. USENIX Association.
[104] Tinder. Identifying vulnerabilities in GitHub Actions                 URL:      https://www.usenix.org/conference/
      & AWS OIDC Configurations, 2023. Accessed: 2025-                      nsdi24/presentation/zhang-collin.
      11-25. URL: https://tinyurl.com/5yyu7wyn.
                                                                      [115] Fan Zhang, Ethan Cecchetti, Kyle Croman, Ari Juels,
[105] Abhishek Tiwari.      JWTForge: A JWT Vending                         and Elaine Shi. Town crier: An authenticated data feed
      Service for Testing, Fuzzing, and Security Research                   for smart contracts. In Proceedings of the 2016 ACM
      of OAuth2/OIDC Implementations. Front Matter,                         SIGSAC Conference on Computer and Communica-
      November 2025. doi:10.59350/6pdmd-3cm41.                              tions Security, CCS ’16, page 270–282, New York, NY,
                                                                            USA, 2016. Association for Computing Machinery.
[106] TLSNotary Development Team. Tlsnotary. https:                         doi:10.1145/2976749.2978326.
      //tlsnotary.org/, 2025. Accessed 2025-11-30.
                                                                      [116] Fan Zhang, Deepak Maram, Harjasleen Malvai, Steven
[107] Andy Tyler. jwttool: A toolkit for testing, tweaking and              Goldfeder, and Ari Juels. Deco: Liberating web data
      cracking JSON Web Tokens, 2025. GitHub repository.                    using decentralized oracles for tls. In Proceedings of
      URL: https://github.com/ticarpi/jwt_tool.                             the 2020 ACM SIGSAC Conference on Computer and
                                                                            Communications Security, CCS ’20, page 1919–1938,
[108] UK Government. Digital identity. https://www.gov.                     New York, NY, USA, 2020. Association for Computing
      uk/guidance/digital-identity, 2025. Accessed                          Machinery. doi:10.1145/3372297.3417239.
      July 2025.
                                                     [117] Markus Zimmermann, Cristian-Alexandru Staicu,
[109] EU     Digital  Identity    Wallet.       G:         Cam Tenny, and Michael Pradel. Small world with
      Zero    Knowledge     Proof.        https://         high risks: A study of security threats in the npm
      eu-digital-identity-wallet.github.io/                ecosystem. In 28th USENIX Security Symposium
      eudi-doc-architecture-and-reference-framework/       (USENIX     Security 19), pages 995–1010, Santa
      latest/discussion-topics/                            Clara, CA,   August 2019. USENIX Association.
      g-zero-knowledge-proof/, 2024.      Accessed         URL:      https://www.usenix.org/conference/
      July 2025.                                           usenixsecurity19/presentation/zimmerman.

                                                                      [118] zkID team of the Ethereum Foundation. zkID:
[110] WHATWG. HTML Living Standard — Web storage,
                                                                            A Step Towards Privacy-Preserving Digital Iden-
      2025. Accessed: 2025-11-27. URL: https://html.
                                                                            tity.  https://github.com/privacy-ethereum/
      spec.whatwg.org/multipage/webstorage.html.
                                                                            zkID/blob/main/paper/zkID.pdf, 2025. Accessed
[111] Svea     Windwehr     and    Alexis       Hancock.                    2025-11-28.
      Age verification in the european union:            [119] zkPass. zkPass: zkTLS. https://docs.zkpass.
      The    commission’s    age     verification   app.       org/overview/introduction, 2026.
      https://www.eff.org/deeplinks/2025/04/
      age-verification-european-union-mini-id-wallet,[120] zkSecurity. Public Report of Sui’s zkLogin Audit, Nov
      April 2025. Electronic Frontier Foundation blog -        2023. Accessed: 2025-11-25. URL: https://blog.
      Accessed 2026-01-12.                                     zksecurity.xyz/posts/zklogin/.


                                                                 25
[121] zkSecurity. Audit of Mysten Lab’s zkLogin circuits
      and ceremony. Technical report, Sui Foundation
      Security Audits, 2024.     Accessed: 2025-11-25.
      URL:      https://github.com/sui-foundation/
      security-audits/blob/main/docs/zksecurity_
      zklogin-circuits.pdf.




                                                           26
