Borehole · Project · free tier
ory/oathkeeper
Free reading: not for reliance
ab46001 · 1,739 commits · 2,240 files
Read 2026-11-03

ory/oathkeeper: technical due diligence, read from its repository

What Borehole read in ory/oathkeeper's code and history at ab46001: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • CONTRIBUTING.md:213: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.3

Commit messages are templated rather than written

adequate

32% of commit subjects are exact repeats of another subject, and subject length varies by only 16.5 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.

Evidence
241× 'autogen(docs): regenerate and update changelog'
45× 'autogen: update license overview'
43× 'autogen(docs): generate and format documentation'

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

76 test files against 1,837 source files (4.1%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.

Evidence
76 test files / 1,837 source files

Product & Engineering Maturity

adequate
04.3

89 direct dependencies in a single manifest

adequate

oryx/go.mod declares 89 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.

Evidence
oryx/go.mod — 89 declared
go.mod — 56 declared
middleware/rpctest/go.mod — 3 declared
oryx/randx/strength/go.mod — 1 declared
04.19

18% of bug fixes add or change a test

adequate

Of 90 fixes in the last 24 months, 16 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.

Evidence
16 of 90

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

21 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 1 step pipes a download straight into a shell. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.

Evidence
.github/workflows/ci.yml:23 — action pinned by tag
.github/workflows/ci.yml:30 — action pinned by tag
install.sh:42 — download piped into a shell
05.20

2 SQL statements built from strings

adequate

2 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.

Evidence
oryx/popx/migrator.go:217 — SQL built from a string
oryx/popx/migrator.go:540 — SQL built from a string
05.26

15 locked dependencies have published vulnerabilities, 1 high or critical in what ships

adequate

15 of 508 locked dependencies match 42 published advisories in OSV, 19 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
package-lock.json — shell-quote 1.9.0: GHSA-pqg4-j6r4-53mv (critical), fixed in 1.11.0; reached only by the build
go.mod — github.com/go-jose/go-jose/v3 v3.0.5: GHSA-mgcc-cww5-fp2q (high)
go.mod — github.com/go-jose/go-jose/v4 v4.1.4: GHSA-mgcc-cww5-fp2q (high), fixed in 4.1.6
05.65

3 advisories against this project in the last 24 months, 2 high or critical

adequate

The newest was published on 2026-03-20. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. None of them affects the surveyed version.

Evidence
2026-03-20: GHSA-4mq7-pvjg-xp2r (high), fixed in 0.40.10-0.20260320084801-198a2bc82a99: Ory Oathkeeper has an authentication bypass by cache key confusion
2026-03-20: GHSA-p224-6x5r-fjpm (critical), fixed in 0.40.10-0.20260320084758-8e0002140491: Ory Oathkeeper has a path traversal authorization bypass
2026-03-20: GHSA-vhr5-ggp3-qq85 (moderate), fixed in 0.40.10-0.20260320084810-e9acca14a04d: Ory Oathkeeper has an authentication bypass by usage of untrusted header

Observability & Operations

strong
06.9

No error reporter is wired in

adequate

Nothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.

Evidence
no error reporter initialised
06.18

1 of 1 deployed images carry no version, or `latest`

adequate

1 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.

Evidence
docker-compose.yml:24 — image without a version

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on ory/oathkeeper: every dimension, the questions for the room, and the audit log.

Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.