Borehole · Project · free tier
htop-dev/htop
Free reading: not for reliance
bb3ee0a · 3,948 commits · 356 files
Read 2026-10-04

htop-dev/htop: technical due diligence, read from its repository

What Borehole read in htop-dev/htop's code and history at bb3ee0a: 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 Maturitynot assessable
Security & Reliability Posturenot assessable
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

What the repository says

  • COPYING: Relicensed: GPL-2.0 → GPL-with-exception (2010-02-24) → GPL-2.0 (2021-08-26)
  • AGENTS.md:80: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

linux/LinuxProcessTable.c is 1,875 lines, 23× this codebase's median file

adequate

The median source file here is 81 lines. 7 files exceed 1,000 lines, the largest being 1,875. 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
linux/LinuxProcessTable.c:1 — 1,875 lines (23× median)
CRT.c:1 — 1,539 lines (19× median)
Settings.c:1 — 1,204 lines (14× median)
linux/Platform.c:1 — 1,180 lines (14× median)
Process.c:1 — 1,152 lines (14× median)

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

1 test files against 288 source files (0.3%). 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.

Evidence
1 test files / 288 source files

Product & Engineering Maturity

not assessable

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

Security & Reliability Posture

not assessable
05.27

The build runs third-party code it does not pin

adequate

5 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. 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/ci.yml:296 — action pinned by tag
.github/workflows/ci.yml:320 — action pinned by tag
05.60

Relicensed: GPL-2.0 → GPL-with-exception (2010-02-24) → GPL-2.0 (2021-08-26)

adequate

The root licence changed 2 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.

Evidence
COPYING — GPL-2.0 from 2006-03-04
COPYING — GPL-with-exception from 2010-02-24
COPYING — GPL-2.0 from 2021-08-26
05.65

3 advisories against this project in the last 24 months

adequate

The newest was published on 2026-05-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 3 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 3.5.3. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 1 record names htop with nothing tying it to this repository (CVE-2008-5076).

Evidence
2026-05-18: GHSA-q64m-h5hc-c4qq (moderate): Terminal escape sequence injection via process argv[0] in InfoScreen_drawTitled() (mvaddstr)
2026-05-18: GHSA-6f53-xw2h-ww59 (low): Stack buffer underflow in InfoScreen_drawTitled() when terminal width is 2 columns or fewer
2026-05-18: GHSA-mjc3-mc44-c23f (moderate): Unbounded VLA stack allocation in RichString_writeFromWide() causes denial of service via crafted process command line (ncursesw build)

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 htop-dev/htop: 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.