Skip to content
CAI
Software that uses CAICheck a score

ory/hydra

60.3

Adequate · 17 November 2026

54.2k

lines of production code

Go

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

10 commits (4 fixes) modifying internal/testhelpers/sql\_schemas

A change to existing behaviour in internal/testhelpers/sql\_schemas — 10 commits (4 fixs), 4 files: “chore: drop flow table defaults”; “fix(hydra): drop phantom indexes on pk\_deprecated for CockroachDB”; “feat: fast OAuth2 logout: Electric Boogaloo”; and 7 more.

_internal/testhelpers/sql\schemas · medium confidence · unverified

1222 commits (127 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1222 commits (127 fixs), 45 files: “docs: Update installation guide”; “autogen(docs): regenerate and update changelog”; “docs: Regenerate and update changelog”; and 723 more (refs \#2798, \#1474, \#2970, \#1375, \#545, …).

(repo-wide) · low confidence · unverified

125 commits (34 fixes) modifying driver

A change to existing behaviour in driver — 125 commits (34 fixs), 5 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “chore: simplify consent store”; “refactor(client): rename SDK methods and introduce \/admin\ prefix”; and 121 more (refs \#2713, \#1353, \#1332, \#3125, \#1547, …).

driver · medium confidence · unverified

153 commits (51 fixes) modifying oryx

A change to existing behaviour in oryx — 153 commits (51 fixs), 1850 files: “fix: deduplicate down migrations”; “feat: improve domain telemetry for OSS (Hydra & Kratos)”; “chore: use pgx pool in Kratos OEL & fix some OEL commands not using enterprise migrations”; and 150 more (refs \#9055).

oryx · medium confidence · unverified

162 commits (58 fixes) modifying persistence/sql

A change to existing behaviour in persistence/sql — 162 commits (58 fixs), 11 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “chore: simplify consent store”; “fix: faster GetPublicKeys (\#3787)”; and 158 more (refs \#3787, \#3895, \#3857, \#2858, \#3555, …).

persistence/sql · medium confidence · unverified

173 commits (43 fixes) modifying jwk

A change to existing behaviour in jwk — 173 commits (43 fixs), 18 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “:fire: 0.1-beta :fire:”; “jwk: Fix JWK deletion in memory manager (\#1474)”; and 167 more (refs \#1474, \#3895, \#3876, \#3257, \#3603, …).

jwk · medium confidence · unverified

179 commits (31 fixes) modifying cmd/server

A change to existing behaviour in cmd/server — 179 commits (31 fixs), 4 files: “:fire: 0.1-beta :fire:”; “feat: improve domain telemetry for OSS (Hydra & Kratos)”; “cmd: Adds newsletter sign up capabilities to CLI commands (\#759)”; and 175 more (refs \#759, \#279, \#280, \#1375, \#1458, …).

cmd/server · medium confidence · unverified

20 commits (8 fixes) modifying persistence

A change to existing behaviour in persistence — 20 commits (8 fixs), 1 file: “chore: simplify consent store”; “chore: split up consent manager”; “feat: sqa metrics v2 (\#3533)”; and 16 more (refs \#3533, \#2059, \#3730, \#2384, \#1775, …).

persistence · medium confidence · unverified

208 commits (47 fixes) modifying client

A change to existing behaviour in client — 208 commits (47 fixs), 12 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “fix: tos\_uri validation (\#3945)”; “:fire: 0.1-beta :fire:”; and 203 more (refs \#3945, \#774, \#2019, \#537, \#3895, …).

client · medium confidence · unverified

211 commits (48 fixes) modifying github.com/ory/hydra/v2

A change to existing behaviour in github.com/ory/hydra/v2 — 211 commits (48 fixs), 9 files: “:fire: 0.1-beta :fire:”; “feat(changelog-oel): reduce hydra CPU and memory consumption”; “client: improved signature”; and 206 more (refs \#3787, \#1375, \#3895, \#3857, \#3499, …).

github.com/ory/hydra/v2 · medium confidence · unverified

23 commits (7 fixes) modifying internal/httpclient/.openapi-generator

A change to existing behaviour in internal/httpclient/.openapi-generator — 23 commits (7 fixs), 2 files: “fix(sdk): use correct struct for response”; “refactor(sdk): JSON Web Key SDK API”; “refactor(sdk): OAuth2 SDK API”; and 19 more (refs \#3575, \#3807, \#3912, \#3206, \#3696, …).

internal/httpclient/.openapi-generator · medium confidence · unverified

24 commits (4 fixes) modifying fositex

A change to existing behaviour in fositex — 24 commits (4 fixs), 4 files: “feat: add prompt=registration (\#3636)”; “feat: add support for OIDC VC (\#3575)”; “Merge branch 'fosite-monorepo'”; and 21 more (refs \#3636, \#3575, \#3531, \#3912, \#3794, …).

fositex · medium confidence · unverified

25 commits (4 fixes) modifying fosite

A change to existing behaviour in fosite — 25 commits (4 fixs), 328 files: “feat: improved metadata search”; “chore: add retries to more curl invocations”; “chore: always use ristretto/v2”; and 22 more.

fosite · medium confidence · unverified

25 commits (6 fixes) modifying persistence/sql/migratest/testdata

A change to existing behaviour in persistence/sql/migratest/testdata — 25 commits (6 fixs), 150 files: “fix: use StringSliceJSONFormat instead of StringSlicePipeDelimiter (\#3112)”; “chore: drop flow table defaults”; “fix: force autocommit for device auth code migration (\#3991)”; and 21 more (refs \#3112, \#3991, \#3705, \#3994, \#2836, …).

persistence/sql/migratest/testdata · medium confidence · unverified

A change to existing behaviour in consent — 263 commits (61 fixs), 13 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “oauth2: Removes tokens when consent is revoked”; “fix(sdk): use correct struct for response”; and 259 more (refs \#2019, \#1375, \#3613, \#3895, \#3857, …).

consent · medium confidence · unverified

29 commits (12 fixes) modifying hsm

A change to existing behaviour in hsm — 29 commits (12 fixs), 6 files: “autogen(openapi): regenerate swagger spec and internal client”; “Merge branch 'fosite-monorepo'”; “feat(tracing): add lots of tracing spans (\#3125)”; and 26 more (refs \#3125, \#3401, \#3794, \#2625, \#2985, …).

hsm · medium confidence · unverified

31 commits (9 fixes) modifying internal

A change to existing behaviour in internal — 31 commits (9 fixs), 2 files: “feat: add the MaxTagValueLength config for jaeger of tracing (\#2482)”; “feat: add Zipkin support (\#1904)”; “refactor(client): rename SDK methods and introduce \/admin\ prefix”; and 28 more (refs \#2482, \#1904, \#1805, \#3431, \#1922, …).

internal · medium confidence · unverified

35 commits (8 fixes) modifying x/oauth2cors

A change to existing behaviour in x/oauth2cors — 35 commits (8 fixs), 2 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “feat: handle concurrent refreshes and improve graceful refreshing (\#3895)”; “chore: remove internal address types”; and 32 more (refs \#3895, \#2248, \#3628, \#2476, \#2545, …).

x/oauth2cors · medium confidence · unverified

36 commits (6 fixes) modifying health

A change to existing behaviour in health — 36 commits (6 fixs), 2 files: “fix: add CORS to public health handler (\#3114)”; “refactor(client): rename SDK methods and introduce \/admin\ prefix”; “feat: handle concurrent refreshes and improve graceful refreshing (\#3895)”; and 33 more (refs \#3114, \#3895, \#845, \#3257, \#793, …).

health · medium confidence · unverified

37 commits (3 fixes) modifying cypress

A change to existing behaviour in cypress — 37 commits (3 fixs), 22 files: “test: resolve e2e test failures”; “feat: handle concurrent refreshes and improve graceful refreshing (\#3895)”; “style: format cypress files”; and 33 more (refs \#3895, \#1418, \#3451, \#3912, \#2941, …).

cypress · medium confidence · unverified

4 commits (0 fixes) modifying contrib/quickstart/gitlab

A change to existing behaviour in contrib/quickstart/gitlab — 4 commits, 2 files: “refactor: rename \access\_log\ to \request\_log\”; “docs: standardize license headers (\#3216)”; “chore: fix some comments”; and 1 more (refs \#3216, \#2014).

contrib/quickstart/gitlab · medium confidence · unverified

4 commits (0 fixes) modifying internal/testhelpers/uuid

A change to existing behaviour in internal/testhelpers/uuid — 4 commits, 1 file: “feat: re-enable legacy client IDs (\#3628)”; “refactor: generated UUID variant & version test (\#2793)”; “feat: implement NID”; and 1 more (refs \#3628, \#2793, \#3216).

internal/testhelpers/uuid · medium confidence · unverified

4 commits (2 fixes) modifying persistence/sql/src/20150101000001\_networks

A change to existing behaviour in persistence/sql/src/20150101000001\_networks — 4 commits (2 fixs), 5 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “feature: create networks table”; “feat: implement NID”; and 1 more (refs \#3958).

_persistence/sql/src/20150101000001\networks · medium confidence · unverified

44 commits (5 fixes) modifying flow

A change to existing behaviour in flow — 44 commits (5 fixs), 10 files: “feat(changelog-oel): reduce hydra CPU and memory consumption”; “fix: correctly scan SQL \NULL\ into go JSON types”; “chore: simplify VerifyAndInvalidateDeviceUserAuthRequest”; and 41 more (refs \#3575, \#3656, \#3912, \#2836, \#3947, …).

flow · medium confidence · unverified

457 commits (98 fixes) modifying oauth2

A change to existing behaviour in oauth2 — 457 commits (98 fixs), 27 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “oauth2: resolve issues with token introspection on user tokens (\#309)”; “oauth2: Removes tokens when consent is revoked”; and 449 more (refs \#309, \#3614, \#774, \#2058, \#3895, …).

oauth2 · medium confidence · unverified

5 commits (0 fixes) modifying github.com/ory/x

A change to existing behaviour in github.com/ory/x — 5 commits, 3 files: “chore: merge ory/x repo”; “feat: use keysetpagination planner for keto read queries”; “feat: add support for NULL and more column types to keysetpagination”; and 2 more.

github.com/ory/x · medium confidence · unverified

5 commits (1 fix) modifying internal/mock

A change to existing behaviour in internal/mock — 5 commits (1 fix), 1 file: “fix: transactions managed by fosite were not working”; “feat: implement RFC 8628 (\#3912)”; “feat: better control for cookie secure flag”; and 2 more (refs \#3912, \#3216).

internal/mock · medium confidence · unverified

52 commits (11 fixes) modifying oauth2/trust

A change to existing behaviour in oauth2/trust — 52 commits (11 fixs), 11 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “refactor(sdk): JSON Web Key SDK API”; “refactor(client): rename SDK methods and introduce \/admin\ prefix”; and 49 more (refs \#3895, \#3257, \#3558, \#3807, \#2955, …).

oauth2/trust · medium confidence · unverified

59 commits (13 fixes) modifying scripts

A change to existing behaviour in scripts — 59 commits (13 fixs), 10 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “docker: refactor docker-compose for cleanness and readability”; “refactor: deprecate \--dangerous-force-http\ flag”; and 55 more (refs \#1178, \#1208, \#609, \#2835, \#3994, …).

scripts · medium confidence · unverified

63 commits (25 fixes) modifying .docker

A change to existing behaviour in .docker — 63 commits (25 fixs), 5 files: “chore: synchronize workspaces”; “fix: docker instructions”; “Revert "chore: synchronize workspaces"”; and 45 more (refs \#3052, \#3632, \#2439, \#3528, \#3966, …).

.docker · medium confidence · unverified

67 commits (32 fixes) modifying persistence/sql/migrations

A change to existing behaviour in persistence/sql/migrations — 67 commits (32 fixs), 1223 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “fix: correct migration file name”; “feat: switch to otelx (\#3108)”; and 63 more (refs \#3108, \#3112, \#3991, \#3705, \#3374, …).

persistence/sql/migrations · medium confidence · unverified

7 commits (1 fix) modifying x/events

A change to existing behaviour in x/events — 7 commits (1 fix), 1 file: “feat: add error reason to OAuth2TokenExchangeError event (\#3971)”; “Merge branch 'fosite-monorepo'”; “feat: add event tracing (\#3546)”; and 4 more (refs \#3971, \#3546, \#3568, \#3912, \#3947, …).

x/events · medium confidence · unverified

7 commits (2 fixes) modifying internal/certification

A change to existing behaviour in internal/certification — 7 commits (2 fixs), 390 files: “refactor: deprecate \--dangerous-force-http\ flag”; “refactor: rename \access\_log\ to \request\_log\”; “feat: add shellcheck to circleci (\#2835)”; and 4 more (refs \#2835, \#1782, \#3815).

internal/certification · medium confidence · unverified

71 commits (13 fixes) modifying internal/testhelpers

A change to existing behaviour in internal/testhelpers — 71 commits (13 fixs), 6 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “chore: remove CreateLoginRequest\*”; “refactor(client): rename SDK methods and introduce \/admin\ prefix”; and 67 more (refs \#3895, \#3265, \#2248, \#3912, \#2836, …).

internal/testhelpers · medium confidence · unverified

75 commits (18 fixes) modifying internal/httpclient

A change to existing behaviour in internal/httpclient — 75 commits (18 fixs), 61 files: “refactor(sdk): JSON Web Key SDK API”; “autogen(openapi): regenerate swagger spec and internal client”; “refactor(sdk): OAuth2 SDK API”; and 54 more (refs \#3257, \#3575, \#3705, \#3693, \#3908, …).

internal/httpclient · medium confidence · unverified

77 commits (12 fixes) modifying .reports

A change to existing behaviour in .reports — 77 commits (12 fixs), 1 file: “fix: towards fixing fosite CI”; “autogen: update license overview”; “fix: include go.mod in vendored oryx”; and 33 more.

.reports · medium confidence · unverified

8 commits (1 fix) modifying cmd/clidoc

A change to existing behaviour in cmd/clidoc — 8 commits (1 fix), 1 file: “feat: pass options from root”; “chore: separate API-only CLI packages from server code”; “docs: standardize license headers (\#3216)”; and 5 more (refs \#3216, \#2381).

cmd/clidoc · medium confidence · unverified

80 commits (23 fixes) modifying x

A change to existing behaviour in x — 80 commits (23 fixs), 26 files: “refactor(client): rename SDK methods and introduce \/admin\ prefix”; “feat: API for deleting a client's access tokens (\#2058)”; “chore: format using Make (\#3257)”; and 77 more (refs \#2058, \#3257, \#3575, \#3125, \#1914, …).

x · medium confidence · unverified

86 commits (20 fixes) modifying cmd

A change to existing behaviour in cmd — 86 commits (20 fixs), 69 files: “:fire: 0.1-beta :fire:”; “refactor(sdk): JSON Web Key SDK API”; “refactor(client): rename SDK methods and introduce \/admin\ prefix”; and 83 more (refs \#3492, \#3895, \#793, \#3531, \#3807, …).

cmd · medium confidence · unverified

9 commits (1 fix) modifying aead

A change to existing behaviour in aead — 9 commits (1 fix), 5 files: “feat: handle concurrent refreshes and improve graceful refreshing (\#3895)”; “feat: add support for OIDC VC (\#3575)”; “chore(hydra): improve test config setup”; and 6 more (refs \#3895, \#3575, \#3515).

aead · medium confidence · unverified

9 commits (3 fixes) modifying internal/kratos

A change to existing behaviour in internal/kratos — 9 commits (3 fixs), 2 files: “fix: add exceptions for internal IP addresses (\#3608)”; “Merge branch 'fosite-monorepo'”; “chore: unify common dependency interfaces”; and 6 more (refs \#3608, \#3864, \#3807, \#3646, \#3596).

internal/kratos · medium confidence · unverified

91 commits (12 fixes) modifying cmd/cli

A change to existing behaviour in cmd/cli — 91 commits (12 fixs), 5 files: “oauth2: Removes tokens when consent is revoked”; “:fire: 0.1-beta :fire:”; “feat: switch to otelx (\#3108)”; and 87 more (refs \#3108, \#1848, \#3093, \#1195, \#2939, …).

cmd/cli · medium confidence · unverified

92 commits (26 fixes) modifying driver/config

A change to existing behaviour in driver/config — 92 commits (26 fixs), 9 files: “feat: add the MaxTagValueLength config for jaeger of tracing (\#2482)”; “refactor: deprecate \--dangerous-force-http\ flag”; “refactor(client): rename SDK methods and introduce \/admin\ prefix”; and 89 more (refs \#2482, \#3895, \#3636, \#3677, \#2649, …).

driver/config · medium confidence · unverified

Fixes

1 commit (1 fix) fixing x/swagger

A fix in x/swagger — 1 commit (1 fix), 1 file: “fix: do not use prepared SQL statements and bump deps (\#3506)” (refs \#3506).

x/swagger · medium confidence · unverified

12 commits (8 fixes) fixing persistence/sql/src/20220210000001\_nid

A fix in persistence/sql/src/20220210000001\_nid — 12 commits (8 fixs), 5 files: “code review: generate first NID randomly; add/update tests; fix db-diff”; “fix: ConfirmLoginSession, missing FKs; add tests”; “fix: migrations on CockroachDB v25+ (\#3994)”; and 9 more (refs \#3994, \#3267, \#3206, \#3102).

_persistence/sql/src/20220210000001\nid · medium confidence · unverified

2 commits (2 fixes) fixing persistence/sql/src/20220513000001\_string\_slice\_json

A fix in persistence/sql/src/20220513000001\_string\_slice\_json — 2 commits (2 fixs), 5 files: “fix: use StringSliceJSONFormat instead of StringSlicePipeDelimiter (\#3112)”; “fix: resolve migration regressions” (refs \#3112).

_persistence/sql/src/20220513000001\_string\_slice\json · medium confidence · unverified

3 commits (2 fixes) fixing persistence/sql/src/20211019000001\_merge\_authentication\_request\_tables

A fix in persistence/sql/src/20211019000001\_merge\_authentication\_request\_tables — 3 commits (2 fixs), 5 files: “fix: strip \public\ from schema (\#3374)”; “refactor: improve performance and reduce data use of consent persistence layer (\#2836)”; “fix: resolve migration regressions” (refs \#3374, \#2836).

_persistence/sql/src/20211019000001\_merge\_authentication\_request\tables · medium confidence · unverified

Test coverage

18 commits adding/updating tests in test/e2e/oauth2-client; 2 commits adding/updating tests in test/stub; 21 commits adding/updating tests in test/mock-lcp; 24 commits adding/updating tests in test/mock-client; 259 commits adding/updating tests in spec; 39 commits adding/updating tests in consent/test; 4 commits adding/updating tests in test; 48 commits adding/updating tests in test/conformance; 48 commits adding/updating tests in test/e2e; 6 commits adding/updating tests in test/conformance/ssl; 64 commits adding/updating tests in persistence/sql/migratest.

Dependencies

594 commits updating dependencies (16 manifests)

A dependency / build maintenance change in (dependencies) — 594 commits (135 fixs), 16 files: “chore: fix for critical CVE - [GHSA redacted]”; “fix: adopt new cli renderer pipeline”; “fix: revert "fix: otlp sampling rate default (\#9055)"”; and 516 more (refs \#9055, \#1474, \#2482, \#3480, \#1904, …).

(dependencies) · high confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 60.3.

Lenses

  • Code Health 64.0
  • Architecture 77.6
  • Maturity 79.3
  • Readiness 70.0
  • Security 49.8
  • Performance 80.0

Changes since last survey

  • 300 commits — 212 feature/other, 88 fixes

By area

  • (root) — 78 commits
  • .github/workflows — 23 commits
  • persistence/sql — 21 commits
  • oryx/popx — 19 commits
  • internal/httpclient — 17 commits
  • oryx/httpx — 7 commits
  • oryx/watcherx — 7 commits
  • fosite/handler — 6 commits
  • oryx/jsonnetsecure — 6 commits
  • driver/config — 5 commits
  • oryx/pagination — 5 commits
  • .reports/dep-licenses.csv — 4 commits
  • flow/.snapshots — 4 commits
  • fosite/integration — 4 commits
  • oryx/dbal — 4 commits
  • oryx/go.mod — 4 commits
  • oryx/sqlxx — 4 commits
  • fosite/internal — 3 commits
  • oryx/prometheusx — 3 commits
  • oryx/randx — 3 commits

Notable commits

  • fix: chore: audit and fix npm dependencies
  • fix: chore: fix [GHSA redacted] in otel/sdk
  • fix: chore: fix axios and ip-address cves
  • fix: chore: fix data race and cleanup unused functions
  • fix: chore: fix data races in logger
  • fix: chore: fix for critical CVE - [GHSA redacted]
  • fix: chore: run npm audit fix
  • fix: chore: upgrade herodot to fix information leaks and data races in error handling
  • fix: chore: use pgx pool in Kratos OEL & fix some OEL commands not using enterprise migrations
  • fix: fix(deps): bump golang.org/x/crypto and golang.org/x/net in OEL and OSS build directories
  • fix: fix(deps): patch Dependabot security alerts (shell-quote, grpc-js, nestjs)
  • fix: fix(deps): patch security vulnerabilities in dependencies
  • fix: fix(deps): resolve Dependabot security alerts
  • fix: fix(deps): update dependency prettier to v3.7.4
  • fix: fix(deps): update security [security]
  • fix: fix(hydra): accept OpenID Connect prompt=select_account
  • fix: fix(hydra): drop CONCURRENTLY from postgres uq_idx removal
  • fix: fix(hydra): drop phantom indexes on pk_deprecated for CockroachDB
  • fix: fix(hydra): hydra dsn / db improvements
  • fix: fix(hydra): revoke subject login session in batches
  • …and 280 more

Architecture

  • 0 containers · 2 bounded contexts · 1 dependency edges (baseline)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

ory/hydra was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 4174065ffb052799890f7480f5360a877a67ffc1 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.