Borehole · Project · free tier
supabase/auth
Free reading: not for reliance
9eb0924 · 2,462 commits · 553 files
Read 2026-11-03

supabase/auth: technical due diligence, read from its repository

What Borehole read in supabase/auth's code and history at 9eb0924: 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 Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Posturestrong
Observability & Operationsstrong
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

client/admin/client.go is 6,966 lines, 59× this codebase's median file

adequate

The median source file here is 118 lines. 3 files exceed 1,180 lines, the largest being 6,966. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.

Evidence
client/admin/client.go:1 — 6,966 lines (59× median)
internal/conf/configuration.go:1 — 1,491 lines (12× median)
internal/models/user.go:1 — 1,233 lines (10× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

strong
05.20

4 SQL statements built from strings

adequate

4 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
internal/models/connection.go:80 — SQL built from a string
internal/models/oauth_client_state.go:34 — SQL built from a string
internal/models/webauthn_challenge.go:62 — SQL built from a string
05.26

2 locked dependencies have published vulnerabilities, 1 high or critical

adequate

2 of 184 locked dependencies match 4 published advisories in OSV, 1 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
go.mod — github.com/go-jose/go-jose/v4 v4.1.4: GHSA-mgcc-cww5-fp2q (high), fixed in 4.1.6
go.mod — github.com/go-chi/chi/v5 v5.3.2: GHSA-j6qf-3m9c-vwj3 (moderate), fixed in 5.4.0
05.65

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

adequate

The newest was published on 2026-03-11. 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. The record is incomplete: NVD: its keyword search for 'auth' is too broad to read whole (73,700 records); NVD: 6 records name auth with nothing tying them to this repository (CVE-2001-1379, CVE-2002-0735, CVE-2004-0041, …).

Evidence
2026-03-11: GHSA-v36f-qvww-8w8m (moderate), fixed in 2.185.0: Insecure Apple and Azure authentication with ID tokens
2024-11-06: GHSA-3529-5m8x-rpv3 (high), fixed in v2.163.1: Email link poisoning vulnerability

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

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on supabase/auth: 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.