Borehole · Project · free tier
teableio/teable
Free reading: not for reliance
5ef2238 · 2,812 commits · 8,267 files
Read 2026-11-08

teableio/teable: technical due diligence, read from its repository

What Borehole read in teableio/teable's code and history at 5ef2238: 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

  • LICENSE:1: The licence is AGPL-3.0 with added terms
  • LICENSE: Relicensed: AGPL-3.0 → AGPL-3.0 with added terms (2025-04-01)

Architecture & Codebase — including AI provenance

strong
01.6

apps/nestjs-backend/src/features/space/space-data-db-migration.service.ts is 9,079 lines, 144× this codebase's median file

adequate

The median source file here is 63 lines. 88 files exceed 1,000 lines, the largest being 9,079. 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.15

1 committed .only switches other tests off

adequate

1 test file commits a focused `.only`, which runs that test and silently skips the rest of its suite. 19 skip markers across 13 of 1877 test files. Each is a failure somebody chose to stop seeing; the question is whether anyone is tracking them.

02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (apps/nextjs-app/playwright.config.ts). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.

Evidence
apps/nextjs-app/playwright.config.ts:28 — test retry

Product & Engineering Maturity

adequate
04.3

161 direct dependencies in a single manifest

adequate

apps/nestjs-backend/package.json declares 161 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
apps/nestjs-backend/package.json — 161 declared
apps/nextjs-app/package.json — 99 declared
packages/sdk/package.json — 89 declared
packages/ui-lib/package.json — 55 declared
04.14

2 jobs are each done by more than one library

adequate

Within a single package: HTTP clients: axios, node-fetch; dates: date-fns, dayjs. Each duplicate is bundle size, two ways of doing the same thing in one codebase, and two upgrade paths to maintain. It is usually the residue of a migration that stopped halfway.

Evidence
apps/nestjs-backend/package.json — several libraries per job
apps/nextjs-app/package.json — several libraries per job

Security & Reliability Posture

adequate
05.6

1 Dockerfile runs the application as root

adequate

No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.

Evidence
dockers/teable/Dockerfile — runs as root
05.25

2 environment files are committed

adequate

apps/nextjs-app/.env, dockers/.env are tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.

Evidence
apps/nextjs-app/.env — committed environment file
dockers/.env — committed environment file
05.27

The build runs third-party code it does not pin

adequate

7 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/docker-push.yml:96 — action pinned by tag
.github/workflows/docker-push.yml:107 — action pinned by tag
05.20

40 SQL statements built from strings

adequate

40 places in product code build SQL by formatting or joining strings rather than passing parameters, and in 12 of them a value, not a table or column name, goes into the string. Where any of those values comes from a request, it is an injection point. Each site needs a look; the fix, parameters, is small.

05.48

14 places insert HTML from a variable without sanitising it

adequate

14 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.

05.49

The production build publishes source maps

adequate

The build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.

Evidence
apps/nestjs-backend/webpack.dev.js:26 — source maps in a production build
05.66

The licence is AGPL-3.0 with added terms

adequate

LICENSE grants AGPL-3.0 with added terms: open source; offering it over a network counts as distributing it, so a hosted product's changes must be published. The reading comes from the licence's own title and clauses. Whether the terms fit the buyer's intended use, and whether any paid licence transfers with the code, is a question for counsel and the licensor.

Evidence
LICENSE:1 — 37 lines, AGPL-3.0 AND LicenseRef-Terms-Additional
05.60

Relicensed: AGPL-3.0 → AGPL-3.0 with added terms (2025-04-01)

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 — AGPL-3.0 from 2022-11-01
LICENSE — AGPL-3.0 with added terms from 2025-04-01
05.65

53 advisories against this project in the last 24 months, 28 high or critical, 1 may affect the surveyed commit

adequate

The newest was published on 2026-11-03. 1 may affect the surveyed version, placed from version numbers. Check each against the release you run.

Evidence
2026-11-03: GHSA-3w7j-7hpq-74cj (moderate), fixed in release.2026-11-03T05-42-34Z.3718: Cross-base read and write via unscoped `tableId` on `/api/integrity/base/:baseId/link-check` and `link-fix`
2026-11-03: GHSA-p4qm-93qw-7qhv (high), fixed in release.2026-11-03T05-42-34Z.3718: authenticated base import can read arbitrary server files through export thumbnails
2026-10-30: GHSA-c58g-j3wm-3hqg (high), fixed in release.2026-10-29T09-09-28Z.3650: ShareDB presence channels missing authorization — anonymous cross-tenant information disclosure + spoofing
2026-10-27: GHSA-5gph-69xh-rccq (high), fixed in release.2026-10-27T02-17-21Z.3593: SQL injection via unescaped currency symbol number-formatting option (record-query CTEs), exploitable by a low-privileged base editor
2026-10-27: GHSA-3452-hq3g-22gc (moderate), fixed in release.2026-10-27T02-17-21Z.3593: Cross-base link write & record oracle via /record/form-submit bypasses assertForeignTablesReadable (incomplete fix of GHSA-vqm3-2pqv-cx89)

Observability & Operations

strong

No finding.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on teableio/teable: 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.