Read 2026-10-04
atuinsh/atuin: technical due diligence, read from its repository
What Borehole read in atuinsh/atuin's code and history at c8d4d7b: 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 | strong |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
CONTRIBUTING.md:7: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
strongcrates/atuin-common/src/harnesstools/opencode/session.rs is 4,770 lines, 40× this codebase's median file
adequateThe median source file here is 117 lines. 16 files exceed 1,170 lines, the largest being 4,770. 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.
crates/atuin-common/src/harnesstools/opencode/session.rs:1 — 4,770 lines (40× median) |
crates/atuin/src/command/client/search/interactive.rs:1 — 3,264 lines (27× median) |
crates/atuin-client/src/database.rs:1 — 2,652 lines (22× median) |
crates/atuin-client/src/ai_session/database.rs:1 — 2,533 lines (21× median) |
crates/atuin-common/src/harnesstools/codex/session.rs:1 — 2,523 lines (21× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequate6% of bug fixes add or change a test
adequateOf 286 fixes in the last 24 months, 16 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.
| 16 of 286 |
Security & Reliability Posture
adequate3 credential-shaped strings committed to the tree
adequateMatches for GitHub token, Slack token appear in tracked files outside test and fixture paths. They stay in the history even after they leave the tree, so what matters is whether each was rotated. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when.
| GitHub token pattern matched |
| 2 cited: Slack token pattern matched |
The build runs third-party code it does not pin
adequate12 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; 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.
.github/workflows/beta-release.yml:103 — action pinned by tag |
.github/workflows/beta-release.yml:106 — action pinned by tag |
.buildkite/scripts/illumos.sh:32 — download piped into a shell |
2 locked dependencies have published vulnerabilities
adequate2 of 729 locked dependencies match 3 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.
Cargo.lock — xxhash-rust 0.8.15: GHSA-6g2r-675j-hx59 (low), fixed in 0.8.16 |
Cargo.lock — quick-xml 0.39.4: RUSTSEC-2026-0194 (unrated), fixed in 0.41.0 |
2 vendored components with no licence
adequateThird-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.
vendor/README.md — 1 tracked files, no licence file |
vendor/vendor.sh — 1 tracked files, no licence file |
Observability & Operations
adequateOne request cannot be followed through the logs
adequateNothing in the service carries a request or correlation id, and there is no tracing. When a customer reports a failure, the log lines that belong to their request cannot be picked out from everyone else's.
| no request id, correlation id or tracing found |
No error reporter is wired in
adequateNothing 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.
| no error reporter initialised |
1 of 1 deployments run a single replica
adequate1 deployments set `replicas: 1`, and nothing (an autoscaler, a disruption budget) adds more. Every deploy and every node drain is downtime, and the availability the buyer inherits has a ceiling.
k8s/atuin.yaml — replicas: 1 |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on atuinsh/atuin: 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.