PORTA: Systematic Discovery of Vulnerabilities in Identity Brokers

arXiv:2611.33015 · cs.CR, cs.SE · Submitted 2026-11-24 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: We're looking at the paper: "PORTA: Systematic Discovery of Vulnerabilities in Identity Brokers".

Title and authors: Nadia: So, what exactly is PORTA doing here? It seems like they’re trying to move beyond just finding random bugs and instead systematically proving what a broker *must* do correctly.

Elias: That's right. They start by defining these security invariants for broker operation. These aren't just guesses; they come from analyzing forty requirements across eight different authentication specifications plus sixty previous known security issues in ten different broker platforms <ref:2611.33015#pg2>.

Priya: But what do those invariants actually look like in practice? Are they just abstract rules, or do they capture real-world failure modes?

Nadia: They are quite concrete, actually. They define five specific properties that the broker has to uphold throughout its whole workflow. These invariants serve to make the broker's correctness requirements explicit and organize how the AI tool PORTA works <ref:2611.33015#pg2>.

Elias: Let me lay them out for you, because they are a bit dense, but they map directly to what goes wrong. First, Proof Integrity: verifying something leads to extracting something that must have the same security context <ref:2611.33015#pg3>. Then there’s Temporal Validity—that deals with how long things are valid and whether you can use them only once <ref:2611.33015#pg2>.

Priya: That temporal part sounds interesting because it touches on timing, which is often where these kinds of subtle bugs hide. Does that mean we need to worry about replay attacks or something similar?

Nadia: It means they are explicitly checking the time window for tokens and making sure you can only use a specific credential one time <ref:2611.33015#pg2>. Next is Flow Coherence, which just makes sure the whole process from issuing a request to extracting the data stays consistent <ref:2611.33015#pg3>.

Elias: And then we have Principal Binding, which ensures that if you map two different upstream items to downstream requests, their resulting principals—their identities—have to be different <ref:2611.33015#pg2>. Finally, Authorization Scope checks that the permissions the broker issues are strictly contained within what the upstream identity intended and what its policy allows <ref:2611.33015#pg2>.

Priya: So they’ve turned abstract protocol rules into a concrete checklist for security. That makes sense when you're trying to test something that spans so many different systems. Where do we go from here with this idea?

The paper's summary: Nadia: Now the big part is how they actually use these invariants. They built a tool called PORTA which uses a large language model, or LLM, to generate the actual attack sequences and the required verification checks for those invariants <ref:2611.33015#pg4>.

Elias: It’s a pipeline. Phase one is platform adaptation where the LLM creates a profile of that specific broker by mapping its API to thirty-three abstract operations <ref:2611.33015#pg4>.

Priya: Mapping to thirty-three operations sounds like a lot of work for an AI to do accurately. How does it handle the messy details of different brokers?

Nadia: The LLM handles the heavy lifting there, abstracting away the platform differences into a common profile that connects each abstract operation to the actual HTTP method, URL path, request parameters and response fields <ref:2611.33015#pg4>.

Elias: Then in phase two, using those invariants they generate candidate attack sequences and their corresponding oracle assertions—those are the expected answers based on the rules we just defined <ref:2611.33015#pg4>.

Priya: Oracle assertions sound like the ground truth for what a correct response should look like. So, the AI isn't just guessing; it’s generating mathematically compliant tests based on those five invariants <ref:2611.33015#pg4>.

Nadia: Exactly. And phase three is execution—running those sequences against a live broker instance inside an isolated container so you can actually see if they fail or pass <ref:2611.33015#pg4>.

Elias: And finally, phase four is verdict generation, where the system mechanically checks the actual HTTP responses against those oracle assertions to determine if the invariant was violated <ref:2611.33015#pg4>.

Priya: So, this is a way to test platform-independent security properties by using an LLM to generate both the attack paths and the expected correct answers derived from these rules. That’s a pretty clever way to approach testing something that moves around so much.

The paper's improvements: Nadia: So, what did they find when they ran this system? They found nine hundred twenty-six candidate vulnerabilities before they filtered them down, and after deduplication, they got two hundred fifty-two candidate vulnerabilities per run <ref:2611.33015#pg5>.

Elias: Manual analysis confirmed two hundred twenty-six of those findings across three independent runs, and they identified thirty-three distinct security flaws in total <ref:2611.33015#pg5>.

Priya: And it’s interesting how they categorized these findings into specification violations and under-specified vulnerabilities. Specification violations were fifteen of those thirty-three root causes, while under-specified flaws made up the other eighteen <ref:2611.33015#pg5>.

Nadia: That split tells us something about where the problems really lie in identity brokers. The findings are grouped by which invariant they violate, which shows patterns across different platforms <ref:2611.33015#pg5>.

Elias: Specifically, they found that invariants two and five tend to produce mostly specification violations because those rules have very explicit "must" clauses written directly into standards like OIDC and JWT specifications <ref:2611.33015#pg5>.

Priya: That makes sense because if a standard says you *must* do something, and the broker doesn't, it's a clear violation of the specification. But what about the other invariants?

Nadia: For invariant three—Flow Coherence—six of those findings are under-specified flaws, and all four findings for invariant four are also under-specified <ref:2611.33015#pg5>.

Elias: That suggests that the problems with flow coherence and principal binding aren't necessarily failures to meet a hard requirement, but rather a failure to fully implement an optional or debatable aspect of the protocol specification <ref:2611.33015#pg5>.

Priya: And this leads us into something else they found: assumption-mismatch patterns. They saw that most vulnerabilities came from incorrect assumptions about how a single role in a protocol should behave <ref:2611.33015#pg5>.

Nadia: The biggest groups of those mismatches were silent skips on fields that were absent and explicit disabling of verification checks, which together account for just over half of all the findings <ref:2611.33015#pg5>.

Conclusion: Elias: So, to wrap up this whole PORTA work, the main contribution is formalizing those five translation invariants—I one through I five—derived from forty requirements and sixty previous CVEs <ref:2611.33015#pg2>.

Nadia: These invariants give us a clear framework to see what a broker must do correctly, which helps organize the testing tool itself and provides a lens for interpreting every finding we get <ref:2611.33015#pg2>.

Priya: What does this mean for the bigger picture? It seems like they’ve taken something that used to be ad-hoc security testing and turned it into a structured, repeatable process based on deep protocol analysis.

Elias: They are planning future work where they want to engage with standards bodies to try and lift invariants three and four directly into the official specifications <ref:2611.33015#pg6>.

Nadia: And they’re also looking at extending this from testing just one broker to testing entire chains of brokers, which is a big step in understanding the whole trust path <ref:2611.33015#pg6>.

Priya: It really shows that when you analyze the mechanics deeply—when you define exactly what correctness means—you can generate automated tests that find flaws across many systems at once. That’s a powerful way to approach security research.

Zixu Zhou, Xiangyu Guo, Ilya Grishchenko, David Lie

University of Toronto

cs.CR, cs.SE

Submitted: 2026-11-24

Updated: 2026-11-24

Comments: In Proceedings of the 2026 ACM SIGSAC Conference on Computer and Communications Security CCS26

DOI: 10.1145/3830454.3846557

Code: https://github.com/dlgroupuoft/PORTA

License: http://creativecommons.org/licenses/by-nc-nd/4.0/

Importance score: 97/100

The gist: Identity brokers such as Keycloak, Vault, and Dex translate authentication proofs from an upstream identity provider into sessions for downstream services.

Key concepts

Security Invariants (I1-I5)
These are formal rules that identity brokers must uphold throughout their operation. They define properties like proof integrity, temporal validity, and authorization scope. These rules serve as the blueprint for finding security flaws by checking if a broker's behavior violates any of these necessary conditions.
PORTA Pipeline
This is a four-phase automated testing system. It uses an LLM to adapt the broker's API into a common profile, then generates potential attack sequences based on the invariants, executes them against live brokers in isolated environments, and finally checks the results against expected security rules.
Specification Violations (S) vs. Under-specified Vulnerabilities (U)
Findings are categorized based on whether they violate a strict protocol requirement or if the requirement was optional or debatable. Specification violations occur when a broker breaks a 'must-have' rule in standards like OIDC. Under-specified flaws happen when the violation stems from incorrect assumptions about how roles should behave.
Assumption Mismatch Patterns
These are recurring mistakes found in broker code where developers incorrectly assume certain behaviors of single roles. The most common mismatches involve silently skipping required fields or explicitly disabling verification checks, which account for over half of all discovered flaws.

Summary

Identity brokers such as Keycloak, Vault, and Dex translate authentication proofs from an upstream identity provider into sessions for downstream services. p. 0

Where the paper says it

lie@utoronto. ca University of Toronto Toronto, Ontario, Canada Abstract Identity brokers such as Keycloak, Vault, and Dex translate authentication proofs from an upstream identity provider into sessions for downstream services.

A single vulnerability in a broker compromises every downstream service behind it. p. 0
Where the paper says it

ca University of Toronto Toronto, Ontario, Canada Abstract Identity brokers such as Keycloak, Vault, and Dex translate authentication proofs from an upstream identity provider into sessions for downstream services. Due to their central role in authentication and trust mediation, a single vulnerability in a broker compromises every downstream service behind it.

This work first defines invariants for broker operation. p. 0
Where the paper says it

In fact, recent incidents have demonstrated that even widely adopted platforms are not immune to such issues, highlighting the critical need for systematic analysis. To build such an analysis, this work first defines invariants for broker operation.

These invariants capture the properties that identity brokers must uphold throughout their workflows. p. 0
Where the paper says it

, acting simultaneously as a relying party and an identity provider. The invariants capture the properties that identity brokers must uphold throughout their workflows, as all 60 previous CVEs we consider violate at least one invariant.

Equipped with this information, our automated tool PORTA leverages a large language model (LLM) to generate API invocation sequences corresponding to the high-level action categories, and oracle assertions aligned with the specified invariants. p. 0
Where the paper says it

Within these workflows, we further define high-level action categories. Equipped with this information, our automated tool PORTA leverages a large language model (LLM) to generate API invocation sequences corresponding to the high-level action categories, and oracle assertions aligned with the specified invariants.

PORTA identifies 33 previously unreported security vulnerabilities in seven popular open-source brokers. p. 0
Where the paper says it

Equipped with this information, our automated tool PORTA leverages a large language model (LLM) to generate API invocation sequences corresponding to the high-level action categories, and oracle assertions aligned with the specified invariants. PORTA identifies 33 previously unreported security vulnerabilities in seven popular open-source brokers.

Derivation of Security Invariants

The paper derives a set of five security invariants from a convergent analysis of 40 normative requirements across eight SSO specifications and 60 previous CVEs for ten broker platforms. These invariants serve three roles in the rest of the paper: they make the broker’s correctness requirements explicit, they organize the design of PORTA, and they provide a structural lens for interpreting findings. p. 2

Where the paper says it

The invariants serve three roles in the rest of the paper. First, they make the broker’s correctness requirements explicit, giving developers, auditors, and standards bodies, a concrete checklist for broker testing.

The five invariants are defined as follows. p. 3

Where the paper says it

Broker operations, written in small caps, denote computations the broker actually performs on a credential. Additional functions we defined to concisely stipulate the invariants are in italic.

I1 Proof Integrity (Verify → Extract) is formally specified as Verify(a) ∧ r = Extract(a) =⇒ SC(a) = SC(r)

I2 Temporal Validity (Verify stage) is specified as Accept(a, t + Δ, k) =⇒ 0 ≤ Δ ≤ TTL(a), with OneTimeUse(a) ⇒ k = 1.

I3 Flow Coherence (spans entire pipeline) is specified as s = Issue(r′) =⇒ Verify(a) ∧ r = Extract(a) ∧ r′ = Map(r)

I4 Principal Binding (Map stage) is specified as ID(r1) ≠ ID(r2) ∧ r′1 = Map(r1) ∧ r′2 = Map(r2)=⇒ ID(r′1) ≠ ID(r′2)

I5 Authorization Scope (Map → Issue) is specified as r = Extract(a) ∧ r′ = Map(r) ∧ s = Issue(r′)=⇒ Perms(s) ⊆ UpstreamIntent ∩ Policy(C, ID(r'))

System Design and Evaluation

PORTA addresses the challenge of testing platform-independent security properties by using a four-phase pipeline. The phases include (1) platform adaptation using an LLM to extract a platform profile, (2) sequence generation using an LLM to produce attack sequences and oracle assertions from invariant definitions, (3) execution running each sequence against a live broker instance in an isolated Docker container, and (4) verdict mechanically evaluating the oracle assertions against captured HTTP responses. p. 1

Where the paper says it

We do not claim that these 5 invariants are a complete definition of correctness for broker operation, but rather that they are useful for detecting security vulnerabilities. To detect invariant violations at scale, we design an automated approach with four stages: (1) platform adaptation uses an LLM to extract a platform profile from the broker’s API documentation, mapping abstract operations to concrete HTTP endpoints and their parameters; (2) sequence generation uses an LLM to produce attack sequences and oracle assertions from the invariant definitions and the platform profile; (3) execution runs each sequence against a live broker instance in an isolated Docker container; and (4) verdict mechanically evaluates the oracle assertions against captured HTTP responses.

The platform adaptation phase abstracts each broker’s API into a common profile by defining 33 abstract operations. p. 5

Where the paper says it

The core challenge is that each broker exposes a different API, yet the security properties to test (I1–I5) are platform-independent. PORTA addresses this with a four-phase pipeline (Figure 3): (1) platform adaptation abstracts each broker’s API into a common profile so that test logic is written once; (2) sequence generation uses an LLM to produce potential attack sequences and oracle assertions from the invariants; (3) execution runs each sequence against a live broker instance; and (4) verdict evaluates captured behavior against the oracle to decide whether a violation occurred.

This profile connects each abstract operation to a platform’s HTTP method, URL path, request parameters, and response fields. p. 5
Where the paper says it

Having a set of abstract operations, our method automatically generates a platform profile for each platform. The profile connects each abstract operation to a platform’s HTTP method, URL path, request parameters, and response fields (Step ❶ in Figure 3).

The sequence generation phase uses an LLM to propose candidate attack sequences and compliant sequences for each invariant per platform. p. 5

Where the paper says it

First, for each invariant I1–I5 and each platform, the LLM is asked to propose a pair of abstract operation sequences: a candidate attack sequence that probes this invariant for the given platform (e. , replaying the same SAML assertion a second time to test I2), and compliant sequence that establishes the expected baseline (e.

This step resolves abstract operations into platform-specific concrete HTTP requests using the profile. p. 5
Where the paper says it

, a correct SAML login that produces a valid downstream session). Next, after obtaining abstract-operation sequences, the LLM is tasked to resolve them to platform-specific concrete HTTP requests using the profile (§5.

Vulnerability Discovery Results

Across three independent runs, PORTA produces 926 candidate vulnerabilities before automatic deduplication. After deduplication, the system obtains 252 candidate vulnerabilities per run. p. 7

Where the paper says it

After deduplication, we obtain 252 candidate vulnerabilities (84. 2 per run).

Manual analysis confirms 226 of these findings and identifies 33 distinct security flaws across the three runs. p. 1
Where the paper says it

Deduplication within each run retains 252 violations, of which manual review confirms 226 and rejects 26. Source code analysis then maps the 226 confirmed findings to 33 distinct security flaws across the three runs.

The findings are categorized into specification violations (S) and under-specified vulnerabilities (U). p. 8

Where the paper says it

Table 5 summarizes the per-platform vulnerabilities breakdown. We split all identified flaws into two categories: specification violations and under-specified vulnerabilities.

Specification violations account for 15 of the 33 root-cause vulnerabilities. p. 8
Where the paper says it

We also match each root cause vulnerability against the 60 CVEs: a finding is “matched” if any CVE’s fix commit adds the same validation check that our finding shows is missing. Specification violations and under-specified vulnerabilities.

Under-specified flaws account for the remaining 18. p. 1
Where the paper says it

15 of these flaws violate normative requirements in the authentication protocol specifications. The remaining 18 are security-significant flaws where the invariant is violated but the relevant specification does not explicitly mandate a check, pointing to specification incompleteness in the dual-role broker context.

Findings Categorization and Insights

The analysis reveals cross-platform failure families. These families are categorized by invariant violation (I1–I5) and show that I2 and I5 produce mostly specification violations (S) because those invariants have explicit must clauses in OIDC, SAML, and JWT specifications. p. 9

Where the paper says it

The family names describe the broken security property. Families violating invariants I1, I2, and I5 produce mostly specification violations (S) because those invariants have explicit must clauses in OIDC, SAML, and JWT specifications.

Conversely, six of the seven I3 findings and all four I4 findings are under-specified flaws (U)

Assumption-mismatch patterns explain why most vulnerabilities arise from incorrect assumptions about single-role RP behavior. The two largest groups of findings by assumption-mismatch patterns—silent skip on absent field (9 findings) and explicit verification disabled (8 findings)—together account for slightly over half of all findings. p. 1

Where the paper says it

We attribute these recurrences to assumption mismatches: vulnerable code preserves coding habits that are correct under the assumption that all parties are single-role, which is not the case for the dual-role identity brokers as discussed above. In total, we identify eight distinct assumption-mismatch patterns and assign each of the 33 findings a dominant pattern.

Responsible Disclosure and Limitations

The paper responsibly disclosed all discovered vulnerabilities to the affected maintainers. Twenty-nine have been confirmed, 14 patched, and 19 were assigned CVE identifiers. p. 8

Where the paper says it

We began responsible disclosure to all affected platform maintainers on March 4, 2026. At the time of writing, 29 of the 33 disclosed flaws have been confirmed, 14 patched, and 19 assigned CVE identifiers.

At least ten of the assigned vulnerabilities have critical severity. p. 8
Where the paper says it

At least 10 of the assigned vulnerabilities have CVSS scores of 9. 0 or higher, which is Critical severity.

Limitations include that CVE-2018-14637 requires an expired assertion, which is not currently supported because PORTA’s builder always generates an assertion with a future expiration time. p. 4
Where the paper says it

7 (exp, nonce), and also in RFC 7519 §4. Representative CVE: CVE-2018-14637 (Keycloak): the SAML broker endpoint ignored assertion expiration conditions, allowing replay of expired assertions to mint fresh downstream sessions.

The findings are relative to pinned, minimally configured deployments. p. 2
Where the paper says it

First, the attacker may operate an upstream IdP that is registered as a trusted identity source on the broker. In multi-tenant broker deployments, any organization can register its own IdP, so the attacker signs SAML assertions and JWTs with its own keys and the broker is configured to trust those keys.

Conclusion and Future Work

In summary, the paper makes the following contributions. The work formalizes five translation invariants (I1–I5) from 40 normative protocol requirements and 60 previous CVEs. p. 1

Where the paper says it

In this work, we study identity brokers as systems that combine an upstream relying party role with a downstream identity provider role. First, we derive a set of five security invariants from a convergent analysis of 40 normative requirements across eight SSO specifications and 60 previous CVEs for ten broker platforms.

For future work, the authors plan to engage with standards bodies to lift the I3 and I4 invariants into specifications. p. 2

Where the paper says it

The invariants serve three roles in the rest of the paper. First, they make the broker’s correctness requirements explicit, giving developers, auditors, and standards bodies, a concrete checklist for broker testing.

They also plan to extend the translation model from single brokers to chains of brokers. p. 6
Where the paper says it

PORTA : Systematic Discovery of Vulnerabilities in Identity Brokers CCS ’26, November 15–19, 2026, The Hague, Netherlands ❻ Assertion Oracle Documentations Profile ❶ Extraction Preprocessing User Input I1-I5 Definition Sequence Examples Sequence Generation Oracle Assertions Events  Sequences LLM Driven Sequence Generation ❷Generation Execution Engine ❸ Execution ❹ Capture Status Verdict Engine ❺  Pre-Processing ❼ Post-Processing Figure 3: System overview of PORTA pipeline. During execution, the engine issues HTTP requests and chains values captured from one response into subsequent requests, for example feeding an authorization code returned by the authorize call into the following token exchange.

Acknowledgements

Funding for this work was provided in part by NSERC Discovery Grant RGPIN-2026-07548 and NSERC-CSE Research Communities Grant ALLRP 588144-23. Credits for LLM access were generously provided by OpenAI. p. 6

Where the paper says it

A mismatch in identity flags I4 and a mismatch in permissions flags I5. PORTA also applies a manually curated library of 102 credential mutations (provided in the artifact [1], grouped by targeted invariant) to the concrete compliant sequence.

The authors followed ACM CCS ethics guidelines. p. 0
Where the paper says it

CCS ’26, The Hague, Netherlands © 2026 Copyright held by the owner/author(s). ACM ISBN 979-8-4007-2871-6/2026/11 https://doi.

Generative AI Usage

The PORTA pipeline uses an LLM (gpt-5 2-2025-12-1, default temperature, top-p = 1.0) for three internal phases: platform profile generation, attack sequence generation, and oracle assertion generation. p. 5

Where the paper says it

PORTA addresses this with a four-phase pipeline (Figure 3): (1) platform adaptation abstracts each broker’s API into a common profile so that test logic is written once; (2) sequence generation uses an LLM to produce potential attack sequences and oracle assertions from the invariants; (3) execution runs each sequence against a live broker instance; and (4) verdict evaluates captured behavior against the oracle to decide whether a violation occurred. The LLM participates only in Phases 1 and 2; Phases 3 and 4 are fully deterministic.

Every LLM output is validated by deterministic execution against a live broker instance. p. 5
Where the paper says it

PORTA addresses this with a four-phase pipeline (Figure 3): (1) platform adaptation abstracts each broker’s API into a common profile so that test logic is written once; (2) sequence generation uses an LLM to produce potential attack sequences and oracle assertions from the invariants; (3) execution runs each sequence against a live broker instance; and (4) verdict evaluates captured behavior against the oracle to decide whether a violation occurred. The LLM participates only in Phases 1 and 2; Phases 3 and 4 are fully deterministic.

No reported finding depends on the LLM’s judgment alone. p. 1
Where the paper says it

• We design an automated approach that uses an LLM to generate sequences and oracle assertions from invariant definitions, and evaluates the assertions deterministically against captured platform behavior. • We implement the approach as a tool PORTA and evaluate it on seven broker platforms, finding 10 of the 11 previously reported applicable security flaws and identifying 33 previously unreported security flaws.

The paper is licensed under a Creative Commons Attribution 4. p. 0

Where the paper says it

CCS Concepts • Security and privacy → Authorization; Web protocol security; Web application security; Software security engineering. Keywords identity broker, single sign-on, OAuth, OpenID Connect, security testing, security invariants, authentication, trust translation, large language models This work is licensed under a Creative Commons Attribution 4.

0 International License. p. 0
Where the paper says it

Keywords identity broker, single sign-on, OAuth, OpenID Connect, security testing, security invariants, authentication, trust translation, large language models This work is licensed under a Creative Commons Attribution 4. 0 International License.

The source code of PORTA and the evaluation artifacts are available [1]. p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

p. 1
Where the paper says it

Responsible disclosure led to 29 acknowledgments, 14 patches, and 19 CVE assignments; at least 10 of them are critical. The source code of PORTA and the evaluation artifacts are available [1].

The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1]. The source code of PORTA and the evaluation artifacts are available [1].<ref:1012.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Automated vulnerability discovery for identity brokers using PORTA can identify 33 previously unreported security vulnerabilities in seven popular open-source brokers by leveraging a large language model to generate API invocation sequences and oracle assertions aligned with defined security invariants.

  2. The improved system can detect specification violations (where observed behavior contradicts a normative must requirement) and under-specified vulnerabilities (where the violated requirement is optional or debatable), providing a classification for each flaw based on its relationship to existing protocol specifications.

  3. A No-examples version of PORTA can be developed to test the impact of invariant definitions alone, which can identify 26 of 33 findings, and a LLM-judge version can be implemented to provide a verdict with confidence levels rather than relying solely on a deterministic oracle.

  4. The system can generate high-level security recommendations for broker specifications grouped into missing fields, configuration changes, and identity collisions based on patterns observed across multiple independent platforms.

  5. The AI system can analyze cross-platform failure families to determine which security properties are broken (e.g., Audience not validated, Temporal validity) and identify the underlying assumption mismatches that enable the violation of those properties in broker code.

Abstract

Identity brokers such as Keycloak, Vault, and Dex translate authentication proofs from an upstream identity provider into sessions for downstream services. Due to their central role in authentication and trust mediation, a single vulnerability in a broker compromises every downstream service behind it. In fact, recent incidents have demonstrated that even widely adopted platforms are not immune to such issues, highlighting the critical need for systematic analysis. To build such an analysis, this work first defines invariants for broker operation. These invariants are not completely covered by existing authentication specifications, primarily because brokers are unique in their duality, i.e., acting simultaneously as a relying party and an identity provider. The invariants capture the properties that identity brokers must uphold throughout their workflows, as all 60 previous CVEs we consider violate at least one invariant. Within these workflows, we further define high-level action categories. Equipped with this information, our automated tool PORTA leverages a large language model (LLM) to generate API invocation sequences corresponding to the high-level action categories, and oracle assertions aligned with the specified invariants. PORTA identifies 33 previously unreported security vulnerabilities in seven popular open-source brokers. We study these novel vulnerabilities and trace them to eight recurring patterns. We responsibly disclosed all discovered vulnerabilities: 29 have been confirmed, 14 patched, and 19 assigned CVE numbers, with 10 CVEs rated as critical.

Related papers