Borehole · Project · free tier
codewhale-hq/codewhale
Free reading: not for reliance
ec45097 · 13,311 commits · 4,136 files
Read 2026-10-23

codewhale-hq/codewhale: technical due diligence, read from its repository

What Borehole read in codewhale-hq/codewhale's code and history at ec45097: 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 Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

crates/tui/src/runtime_api/tests.rs is 26,101 lines, 105× this codebase's median file

adequate

The median source file here is 248 lines. 105 files exceed 2,480 lines, the largest being 26,101. 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
crates/tui/src/runtime_api/tests.rs:1 — 26,101 lines (105× median)
crates/tui/src/runtime_threads/tests.rs:1 — 24,344 lines (98× median)
crates/tui/src/runtime_threads.rs:1 — 21,152 lines (85× median)
crates/tui/src/lib.rs:1 — 20,597 lines (83× median)
crates/tui/src/config/tests.rs:1 — 17,318 lines (69× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.19

9% of bug fixes add or change a test

adequate

Of 3294 fixes in the last 24 months, 289 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
289 of 3294

Security & Reliability Posture

adequate
05.1

3 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings

adequate

Strings 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. 1 other match set aside: expired tokens, licence tokens a vendor verifies with a public key, or placeholder text where a key would go. None grants access to anything.

Evidence
2 cited: Slack token, where fakes are usual
JWT, where fakes are usual
05.27

The build runs third-party code it does not pin

adequate

6 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; 1 step pipes a download straight into a shell. 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.

Evidence
.github/workflows/cargo-deny.yml:36 — action pinned by tag
.github/workflows/ci.yml:206 — action pinned by tag
web/public/install.sh:14 — download piped into a shell
05.26

4 locked dependencies have published vulnerabilities

adequate

4 of 816 locked dependencies match 4 published advisories in OSV. 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. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
Cargo.lock — bincode 1.3.3: RUSTSEC-2025-0141 (unrated)
Cargo.lock — zbus_names 3.0.0: RUSTSEC-2026-0371 (unrated)
Cargo.lock — zvariant 4.2.0: RUSTSEC-2026-0370 (unrated)
05.48

9 places insert HTML from a variable without sanitising it

adequate

9 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.

Evidence
extensions/vscode/src/chat.ts:1327 — HTML from a variable
web/app/[locale]/faq/page.tsx:746 — HTML from a variable
web/app/[locale]/install/page.tsx:53 — HTML from a variable
05.9

3 vendored components with no licence

adequate

Third-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.

Evidence
vendor/codewhale-design — 5 tracked files, no licence file
web/vendor/legal-documents — 4 tracked files, no licence file
web/vendor/whale-character-v2 — 6 tracked files, no licence file
05.65

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

adequate

The newest was published on 2026-07-16. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. None of them affects the surveyed version. The record is incomplete: NVD: 13 records name Codewhale with nothing tying them to this repository (CVE-2026-45310, CVE-2026-45311, CVE-2026-45373, …).

Evidence
2026-07-16: GHSA-6v2g-fpxh-pmmh (high), fixed in 0.8.41: SSRF‌ bypass - TOCTOU on DNS failure for DNS pinning
2026-07-16: GHSA-g29h-pfmp-qp9r (high), fixed in 0.8.41: exec_shell_interact sends LLM-controlled input to a running shell without an approval prompt (privilege escalation)
2026-07-16: GHSA-wrj3-vj8c-784f (high), fixed in 0.8.41: rlm_eval auto-approves arbitrary Python execution, bypassing the user's approval policy (RCE)
2026-07-16: GHSA-62f5-cp2p-vq95 (high), fixed in 0.8.41: Project config `instructions` override enables arbitrary file read into AI system prompt via cloned repository
2026-07-16: GHSA-gx45-xrj5-g6c4 (high), fixed in 0.8.41: (CVE-2026-75911) Project config `allow_shell` override enables arbitrary shell command execution via cloned repository

Observability & Operations

adequate
06.9

No error reporter is wired in

adequate

Nothing 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.

Evidence
no error reporter initialised
06.35

Sends usage data to telemetry.codewhale.net by default

adequate

config.example.toml sends to telemetry.codewhale.net, and config.example.toml leaves reporting on as shipped. Every installation reports to the vendor unless its operator turns this off. For a buyer running it inside their own product, that is an outbound data flow to a third party: ask what is sent, how often, and whether the buyer's customers were told.

Evidence
config.example.toml:364 — reports to telemetry.codewhale.net
config.example.toml:340 — the reporting setting is on by default

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on codewhale-hq/codewhale: 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.