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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongpackages/sdk/src/karakeep-api.d.ts is 3,791 lines, 59× this codebase's median file
adequateThe 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.
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
adequateTests cover a thin slice of the codebase
adequate100 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.
| 100 test files / 1,038 source files |
5% of recent commits change more than 2,000 lines
adequate71 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.
| 71 commits over 2,000 lines |
Product & Engineering Maturity
adequate94 direct dependencies in a single manifest
adequateapps/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.
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 |
12% of bug fixes add or change a test
adequateOf 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.
| 89 of 760 |
Security & Reliability Posture
adequate1 Dockerfile runs the application as root
adequateNo 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.
docker/Dockerfile — runs as root |
3 of 3 Kubernetes workloads declare no resource limits
adequate3 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.
kubernetes/chrome-deployment.yaml — workload with no limits |
kubernetes/meilisearch-deployment.yaml — workload with no limits |
kubernetes/web-deployment.yaml — workload with no limits |
22 locked dependencies have published vulnerabilities, 22 high or critical in what ships
adequate22 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.
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 |
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.
packages/sdk/vite.config.mts:21 — source maps in a production build |
13 advisories against this project in the last 24 months, 4 high or critical
adequateThe 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.
| 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
strong1 of 3 deployed images carry no version, or `latest`
adequate1 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.
kubernetes/web-deployment.yaml:17 — image without a version |
3 of 3 deployments run a single replica
adequate3 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.
kubernetes/chrome-deployment.yaml — replicas: 1 |
kubernetes/meilisearch-deployment.yaml — replicas: 1 |
kubernetes/web-deployment.yaml — replicas: 1 |
Fit with the Acquirer
not assessableNot 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.