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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongsrc/renderer/routes/-new-user-scenarios/scenarios.ts is 2,649 lines, 28× this codebase's median file
adequateThe 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.
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
adequateAlmost no process scaffolding exists in the repository
adequateOf 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.
| 0 of 5 markers present across 2,595 tracked files |
Tests are retried until they pass
adequateThe 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.
src/renderer/components/InputBox/PendingActionBar.test.tsx:130 — test retry |
7% of recent commits change more than 2,000 lines
adequate90 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.
| 90 commits over 2,000 lines |
Product & Engineering Maturity
adequate2 jobs are each done by more than one library
adequateWithin 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.
package.json — several libraries per job |
packages/chatbox-core/package.json — several libraries per job |
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.
team-sharing/Dockerfile — runs as root |
4 SQL statements built from strings
adequate4 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.
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 |
69 locked dependencies have published vulnerabilities, 29 high or critical in what ships
adequate69 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.
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 |
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.
.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 |
1 advisory against this project in the last 24 months
adequateThe 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, …).
| 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
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 2,423 files for 10 structured logging libraries; 0 matched |
Fit with the Acquirer
not assessableNot 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.