Borehole · Project · free tier
ghostty-org/ghostty
Free reading: not for reliance
4da7523 · 18,011 commits · 5,913 files
Read 2026-11-08

ghostty-org/ghostty: technical due diligence, read from its repository

What Borehole read in ghostty-org/ghostty's code and history at 4da7523: 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 Posturestrong
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

What the repository says

  • AI_POLICY.md:1: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

src/terminal/PageList.zig is 20,543 lines, 168× this codebase's median file

adequate

The median source file here is 122 lines. 73 files exceed 1,220 lines, the largest being 20,543. 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/terminal/PageList.zig:1 — 20,543 lines (168× median)
src/terminal/Terminal.zig:1 — 16,740 lines (137× median)
src/terminal/Screen.zig:1 — 12,645 lines (103× median)
src/config/Config.zig:1 — 11,317 lines (92× median)
src/stb/stb_image.h:1 — 7,988 lines (65× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.19

2% of bug fixes add or change a test

adequate

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

Security & Reliability Posture

strong
05.27

The build runs third-party code it does not pin

adequate

1 third-party CI action is referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 4 steps pipe 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/release-tag.yml:147 — action pinned by tag
.github/workflows/release-tag.yml:299 — download piped into a shell
05.9

4 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
pkg/breakpad/vendor/third_party — 1 tracked files, no licence file
pkg/simdutf/vendor/simdutf.cpp — 1 tracked files, no licence file
pkg/simdutf/vendor/simdutf.h — 1 tracked files, no licence file
src/shell-integration/nushell/vendor/autoload — 1 tracked files, no licence file
05.65

18 advisories against this project in the last 24 months

adequate

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

Evidence
2026-10-27: GHSA-jqr7-69mm-v35h (moderate), fixed in main at 0af5c9e55: Crash when narrowing a very wide page in libghostty-vt
2026-10-27: GHSA-2r63-vmw6-3m3c (moderate), fixed in 1.4.0: Crafted directory names can send arbitrary escape sequences via zsh shell integration
2026-10-27: GHSA-w9q4-5jvv-mcv4 (moderate), fixed in 1.4.0: Memory corruption when clearing the screen prunes the cursor page
2026-10-27: GHSA-hp9c-qp4q-cpw3 (moderate), fixed in 1.4.0: Crash via zero-sized pane layouts in tmux control mode
2026-10-27: GHSA-qjfx-r533-6vx3 (moderate), fixed in 65ff54c67df3d55e3ebf4dd31c7afa93c4cfb922: Use-after-free when scrollback line limit prunes the cursor page

Observability & Operations

not assessable

Not rated: only 4 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on ghostty-org/ghostty: 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.