Borehole · Project · free tier
chatboxai/chatbox
Free reading: not for reliance
d17455c · 1,814 commits · 2,595 files
Read 2026-11-03

chatboxai/chatbox: technical due diligence, read from its repository

What Borehole read in chatboxai/chatbox's code and history at d17455c: 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 & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

src/renderer/routes/-new-user-scenarios/scenarios.ts is 2,649 lines, 28× this codebase's median file

adequate

The median source file here is 93 lines. 21 files exceed 1,000 lines, the largest being 2,649. 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
src/renderer/routes/-new-user-scenarios/scenarios.ts:1 — 2,649 lines (28× median)
src/renderer/components/InputBox/InputBox.tsx:1 — 2,289 lines (24× median)
src/main/sandbox/manager.ts:1 — 2,211 lines (23× median)
src/main/mcp/shell-env.cjs:1 — 1,995 lines (21× median)
src/renderer/components/message-parts/ToolCallPartUI.tsx:1 — 1,793 lines (19× 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 — none are present. 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
0 of 5 markers present across 2,595 tracked files
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (src/renderer/components/InputBox/PendingActionBar.test.tsx). 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.

02.24

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

adequate

90 of 1313 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
90 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.14

2 jobs are each done by more than one library

adequate

Within a single package: UI component kits: mantine, mui; state management: jotai, zustand. 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
package.json — several libraries per job
packages/chatbox-core/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
team-sharing/Dockerfile — runs as root
05.20

4 SQL statements built from strings

adequate

4 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.

Evidence
packages/chatbox-core/src/persistence/session-row-transfer-sql.ts:100 — SQL built from a string
src/renderer/platform/storages.ts:262 — SQL built from a string
src/renderer/platform/storages.ts:331 — SQL built from a string
05.26

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

adequate

69 of 3,019 locked dependencies match 161 published advisories in OSV, 74 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 — tar 6.2.1: GHSA-23hp-3jrh-7fpw (critical), fixed in 7.5.19; a development dependency
pnpm-lock.yaml — tar 7.5.12: GHSA-23hp-3jrh-7fpw (critical), fixed in 7.5.19; a development dependency
pnpm-lock.yaml — @modelcontextprotocol/client 2.0.0: GHSA-6qxp-vccf-f47h (high), fixed in 2.2.0
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
.erb/configs/webpack.config.preload.dev.ts:16 — source maps in a production build
.erb/configs/webpack.config.renderer.dev.ts:43 — source maps in a production build
.erb/configs/webpack.config.renderer.prod.ts:32 — source maps in a production build
05.65

1 advisory against this project in the last 24 months

adequate

The newest was published on 2026-04-12. 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 1 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 1.23.5. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 21 records name chatbox with nothing tying them to this repository (CVE-2006-0857, CVE-2014-5958, CVE-2020-35852, …).

Evidence
2026-04-12: CVE-2026-6130 (moderate): A flaw has been found in chatboxai chatbox up to 1.20.0. This impacts the function StdioClientTransport of the file src/main/mcp/ipc-stdio-transport.ts of the c

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 2,423 files for 10 structured logging libraries; 0 matched

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on chatboxai/chatbox: 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.