Borehole · Project · free tier
karakeep-app/karakeep
Free reading: not for reliance
f908b02 · 2,260 commits · 2,125 files
Read 2026-10-04

karakeep-app/karakeep: technical due diligence, read from its repository

What Borehole read in karakeep-app/karakeep's code and history at f908b02: 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

Architecture & Codebase — including AI provenance

strong
01.6

packages/sdk/src/karakeep-api.d.ts is 3,791 lines, 59× this codebase's median file

adequate

The median source file here is 64 lines. 7 files exceed 1,000 lines, the largest being 3,791. 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
packages/sdk/src/karakeep-api.d.ts:1 — 3,791 lines (59× median)
packages/trpc/routers/bookmarks.ts:1 — 1,616 lines (25× median)
packages/db/schema.ts:1 — 1,338 lines (20× median)
packages/trpc/models/users.ts:1 — 1,262 lines (19× median)
packages/trpc/models/lists.ts:1 — 1,182 lines (18× median)

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

100 test files against 1,038 source files (9.6%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.

Evidence
100 test files / 1,038 source files
02.24

5% of recent commits change more than 2,000 lines

adequate

71 of 1394 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.

Evidence
71 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.3

94 direct dependencies in a single manifest

adequate

apps/web/package.json declares 94 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/web/package.json — 94 declared
apps/mobile/package.json — 69 declared
apps/workers/package.json — 55 declared
apps/browser-extension/package.json — 26 declared
04.19

12% of bug fixes add or change a test

adequate

Of 760 fixes in the last 24 months, 89 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.

Evidence
89 of 760

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
docker/Dockerfile — runs as root
05.34

3 of 3 Kubernetes workloads declare no resource limits

adequate

3 workload manifests set no CPU or memory limits. One pod that leaks memory or spins can starve everything else on its node, and the scheduler cannot plan capacity for what it cannot see.

Evidence
kubernetes/chrome-deployment.yaml — workload with no limits
kubernetes/meilisearch-deployment.yaml — workload with no limits
kubernetes/web-deployment.yaml — workload with no limits
05.26

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

adequate

22 of 3,377 locked dependencies match 52 published advisories in OSV, 25 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
pnpm-lock.yaml — brace-expansion 1.1.18: GHSA-6j4f-fj2g-mc7p (high), fixed in 1.1.19
pnpm-lock.yaml — brace-expansion 2.1.4: GHSA-6j4f-fj2g-mc7p (high), fixed in 2.1.5
pnpm-lock.yaml — brace-expansion 5.0.9: GHSA-6j4f-fj2g-mc7p (high), fixed in 5.0.10
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
packages/sdk/vite.config.mts:21 — source maps in a production build
05.65

13 advisories against this project in the last 24 months, 4 high or critical

adequate

The newest was published on 2026-08-18. 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 0.33.2. Answer lives in: the release you run, set against each fixed version.

Evidence
2026-08-18: CVE-2026-75773 (low): A vulnerability was found in karakeep-app karakeep up to 0.32.0. The affected element is the function authorize of the file apps/web/server/auth.ts of the compo
2026-08-18: CVE-2026-75774 (low): A vulnerability was determined in karakeep-app karakeep up to 0.32.0. The impacted element is an unknown function of the file apps/web/server/auth.ts of the com
2026-08-01: GHSA-hjm9-gc55-5hgv (low), fixed in 0.33.1: Non-constant-time comparison in API key and signed-asset-token verification enables timing attacks
2026-08-01: GHSA-4vx2-9j8p-jg8v (moderate), fixed in 0.33.1: Stored XSS in Karakeep via Unsanitized Tag Names and `javascript:` URLs in Netscape Bookmark Export
2026-08-01: GHSA-6mfw-xrw2-h5x3 (moderate): Zod URL validator accepts javascript and data schemes in bookmark creation

Observability & Operations

strong
06.18

1 of 3 deployed images carry no version, or `latest`

adequate

1 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.

Evidence
kubernetes/web-deployment.yaml:17 — image without a version
06.33

3 of 3 deployments run a single replica

adequate

3 deployments set `replicas: 1`, and nothing (an autoscaler, a disruption budget) adds more. Every deploy and every node drain is downtime, and the availability the buyer inherits has a ceiling.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on karakeep-app/karakeep: 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.