Read 2026-10-22
supertokens/supertokens-core: technical due diligence, read from its repository
What Borehole read in supertokens/supertokens-core's code and history at 6d9adc1: 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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE.md: Relicensed: proprietary → Apache-2.0 (2020-08-10)ee/LICENSE.md: Part of the code is under a separate licence: ee/
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate38% of commit subjects are exact repeats of another subject, and subject length varies by only 21.8 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.
| 126× 'Update README.md' |
| 65× 'Update release.md' |
| 20× 'adding dev-v6.0.0 tag to this commit to ensure building' |
src/main/java/io/supertokens/inmemorydb/Start.java is 4,788 lines, 28× this codebase's median file
adequateThe median source file here is 167 lines. 4 files exceed 1,670 lines, the largest being 4,788. 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.
src/main/java/io/supertokens/inmemorydb/Start.java:1 — 4,788 lines (28× median) |
src/main/java/io/supertokens/inmemorydb/queries/GeneralQueries.java:1 — 2,871 lines (17× median) |
src/main/java/io/supertokens/inmemorydb/queries/AccountInfoQueries.java:1 — 1,776 lines (10× median) |
src/main/java/io/supertokens/config/CoreConfig.java:1 — 1,717 lines (10× median) |
Engineering Process & SDLC Maturity
adequatePinned dependencies have not moved in 27 months
adequateThe lockfile last changed 833 days before the newest commit, and 859 commits have landed since. Every security fix published upstream in that time is absent until someone updates it, and the longer the gap the larger and riskier that update becomes.
| migration_scripts/to_version_7_0_12/package-lock.json last changed 2024-07-09 |
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequateThe build runs third-party code it does not pin
adequate13 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. 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.
.github/workflows/_image-build.yml:116 — action pinned by tag |
.github/workflows/_image-build.yml:175 — action pinned by tag |
2 locked dependencies have published vulnerabilities, 5 high or critical in what ships
adequate2 of 51 locked dependencies match 10 published advisories in OSV, 5 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.
migration_scripts/to_version_7_0_12/package-lock.json — mysql2 3.6.3: GHSA-4rch-2fh8-94vw (critical), fixed in 3.9.7 |
migration_scripts/to_version_7_0_12/package-lock.json — lodash 4.17.21: GHSA-r5fr-rjxr-66jc (high), fixed in 4.18.0 |
Relicensed: proprietary → Apache-2.0 (2020-08-10)
adequateThe root licence changed 1 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
LICENSE.md — proprietary from 2020-01-27 |
LICENSE.md — Apache-2.0 from 2020-08-10 |
Part of the code is under a separate licence: ee/
adequateA directory named for a paid edition carries its own licence. That code is usually not open source even where the rest is; what the buyer may do with each part differs.
ee/LICENSE.md — licence: unrecognised |
9 advisories against this project in the last 24 months, 7 high or critical
adequateThe newest was published on 2026-10-16. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 2 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 12.4.0. Answer lives in: the release you run, set against each fixed version.
| 2026-10-16: GHSA-2pc4-vw9j-454c (moderate), fixed in 11.0.9: A session created concurrently with account unlink survives the unlink |
| 2026-10-16: GHSA-6v34-w48w-44rc (high), fixed in 11.0.9: WebAuthn sign-in accepts a passkey across tenant boundaries |
| 2026-10-16: GHSA-wfg2-vqfg-rqh6 (high), fixed in 11.3.8: SAML: identity taken from an assertion that never passed the audience check, allowing sign-in as any IdP user |
| 2026-10-16: GHSA-4rf2-xqvf-8rcx (critical), fixed in 6.0.24: App-scoped API key can overwrite the parent connection URI domain's credentials and take over sibling applications |
| 2026-10-16: GHSA-gvx2-mwmj-wwvj (high), fixed in 11.3.7: SAML XML Signature Wrapping authentication bypass — any IdP user can authenticate as any other user |
Observability & Operations
not assessableNot rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on supertokens/supertokens-core: 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.