Borehole · Project · free tier
pubkey/rxdb
Free reading: not for reliance
69cf11e · 15,105 commits · 1,662 files
Read 2026-11-07

pubkey/rxdb: technical due diligence, read from its repository

What Borehole read in pubkey/rxdb's code and history at 69cf11e: 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 & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

config/appwrite/backup/dump.sql is 6,942 lines, 93× this codebase's median file

adequate

The median source file here is 74 lines. 5 files exceed 1,000 lines, the largest being 6,942. 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
config/appwrite/backup/dump.sql:1 — 6,942 lines (93× median)
src/plugins/dev-mode/error-messages.ts:1 — 1,434 lines (19× median)
src/rx-collection.ts:1 — 1,363 lines (18× median)
src/rx-storage-helper.ts:1 — 1,132 lines (15× median)
src/rx-database.ts:1 — 1,022 lines (13× median)

Engineering Process & SDLC Maturity

adequate
02.6

Almost no process scaffolding exists in the repository

adequate

Of five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.

Evidence
1 of 5 markers present across 1,662 tracked files
02.29

Pinned dependencies have not moved in 19 months

adequate

The lockfile last changed 571 days before the newest commit, and 2,481 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
examples/tauri/src-tauri/Cargo.lock last changed 2025-03-31

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.1

1 credential-shaped string in the tree sit in tests, examples, documentation or local development settings

adequate

Strings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.

Evidence
JWT, where fakes are usual
05.3

27 dependencies float, and no lockfile is committed

adequate

Dependency versions are declared as ranges and no lockfile is committed, so a build today does not necessarily produce what a build last month produced. That matters twice over in a transaction: the thing being bought cannot be reproduced exactly, and a compromised upstream release arrives without anyone choosing to take it.

05.25

2 environment files are committed

adequate

config/appwrite/.env, config/appwrite/backup/.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
config/appwrite/.env — committed environment file
config/appwrite/backup/.env — committed environment file
05.27

The build runs third-party code it does not pin

adequate

9 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/cloudflare-pages.yml:18 — action pinned by tag
.github/workflows/main.yml:168 — action pinned by tag
05.48

4 places insert HTML from a variable without sanitising it

adequate

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

Evidence
docs-src/src/components/animations/partial-sync-chunks.tsx:81 — HTML from a variable
docs-src/src/components/json-ld.tsx:17 — HTML from a variable
docs-src/src/pages/index.tsx:112 — HTML from a variable
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
config/rollup.config.mjs:7 — source maps in a production build

Observability & Operations

adequate
06.2

No structured logging library is in use

adequate

Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.

Evidence
searched 1,216 files for 10 structured logging libraries; 0 matched
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 pubkey/rxdb: 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.