Borehole · Project · free tier
supertokens/supertokens-core
Free reading: not for reliance
6d9adc1 · 2,185 commits · 1,028 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsnot assessable
Fit with the Acquirernot 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

strong
01.3

Commit messages are templated rather than written

adequate

38% 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.

Evidence
126× 'Update README.md'
65× 'Update release.md'
20× 'adding dev-v6.0.0 tag to this commit to ensure building'
01.6

src/main/java/io/supertokens/inmemorydb/Start.java is 4,788 lines, 28× this codebase's median file

adequate

The 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.

Engineering Process & SDLC Maturity

adequate
02.29

Pinned dependencies have not moved in 27 months

adequate

The 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.

Evidence
migration_scripts/to_version_7_0_12/package-lock.json last changed 2024-07-09

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

13 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.

Evidence
.github/workflows/_image-build.yml:116 — action pinned by tag
.github/workflows/_image-build.yml:175 — action pinned by tag
05.26

2 locked dependencies have published vulnerabilities, 5 high or critical in what ships

adequate

2 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.

Evidence
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
05.60

Relicensed: proprietary → Apache-2.0 (2020-08-10)

adequate

The root licence changed 1 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.

Evidence
LICENSE.md — proprietary from 2020-01-27
LICENSE.md — Apache-2.0 from 2020-08-10
05.61

Part of the code is under a separate licence: ee/

adequate

A 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.

Evidence
ee/LICENSE.md — licence: unrecognised
05.65

9 advisories against this project in the last 24 months, 7 high or critical

adequate

The 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.

Evidence
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 assessable

Not 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 assessable

Not 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.