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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongconfig/appwrite/backup/dump.sql is 6,942 lines, 93× this codebase's median file
adequateThe 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.
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
adequateAlmost no process scaffolding exists in the repository
adequateOf 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.
| 1 of 5 markers present across 1,662 tracked files |
Pinned dependencies have not moved in 19 months
adequateThe 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.
| examples/tauri/src-tauri/Cargo.lock last changed 2025-03-31 |
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequate1 credential-shaped string in the tree sit in tests, examples, documentation or local development settings
adequateStrings 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.
| JWT, where fakes are usual |
27 dependencies float, and no lockfile is committed
adequateDependency 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.
docs-src/package.json:59 — >=18.0 |
examples/angular/package.json:56 — ^5.0.0 |
examples/angular/package.json:76 — ^5.0.0 |
examples/angular/package.json:78 — ^24.0.0 |
examples/angular/package.json:83 — ^4.2.0 |
2 environment files are committed
adequateconfig/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.
config/appwrite/.env — committed environment file |
config/appwrite/backup/.env — committed environment file |
The build runs third-party code it does not pin
adequate9 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/cloudflare-pages.yml:18 — action pinned by tag |
.github/workflows/main.yml:168 — action pinned by tag |
4 places insert HTML from a variable without sanitising it
adequate4 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.
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 |
The production build publishes source maps
adequateThe 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.
config/rollup.config.mjs:7 — source maps in a production build |
Observability & Operations
adequateNo structured logging library is in use
adequateNothing 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.
| searched 1,216 files for 10 structured logging libraries; 0 matched |
No error reporter is wired in
adequateNothing 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.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot 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.