Read 2026-10-23
iofficeai/aionui: technical due diligence, read from its repository
What Borehole read in iofficeai/aionui's code and history at 11cd2a9: 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 | adequate |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
.github/pull_request_template.md:59: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
adequatepackages/desktop/src/renderer/services/i18n/i18n-keys.d.ts is 3,058 lines, 27× this codebase's median file
adequateThe median source file here is 112 lines. 9 files exceed 1,120 lines, the largest being 3,058. 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.
packages/desktop/src/renderer/services/i18n/i18n-keys.d.ts:1 — 3,058 lines (27× median) |
packages/desktop/src/common/adapter/ipcBridge.ts:1 — 2,507 lines (22× median) |
packages/desktop/src/renderer/components/chat/SendBox/index.tsx:1 — 2,249 lines (20× median) |
packages/desktop/src/renderer/pages/conversation/Preview/context/PreviewContext.tsx:1 — 1,447 lines (12× median) |
packages/desktop/src/process/services/database/migrations.ts:1 — 1,393 lines (12× median) |
1 base image floats: no version, or `latest`
adequate1 of 2 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest.
Dockerfile:20 — base image without a version |
Engineering Process & SDLC Maturity
adequate280 tests are switched off
adequate280 skip markers across 87 of 758 test files. Each is a failure somebody chose to stop seeing; the question is whether anyone is tracking them.
tests/e2e/cases/teams/team-agent-lifecycle.e2e.ts:91 — skipped test |
tests/e2e/cases/teams/team-agent-lifecycle.e2e.ts:103 — skipped test |
tests/e2e/cases/teams/team-agent-lifecycle.e2e.ts:123 — skipped test |
Tests are retried until they pass
adequateThe suite is configured to retry failing tests (playwright.config.ts). 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.
playwright.config.ts:9 — test retry |
Product & Engineering Maturity
adequate104 direct dependencies in a single manifest
adequatepackage.json declares 104 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.
package.json — 104 declared |
mobile/package.json — 31 declared |
packages/web-cli/package.json — 2 declared |
packages/desktop/package.json — 1 declared |
Effort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.40 to 0.90 between the first and second halves of this history. Rework is normal and often healthy, but a rising ratio means an increasing share of the team's time is spent replacing code that already exists rather than building what does not. Whether that is deliberate repayment or churn is a question for the team.
| first half 0.40, second half 0.90 (split 2026-03-16) |
Node.js 20 is past end of life
adequateThe code is pinned to Node.js 20 (end of life 2026-04-30). None of these receives security fixes any more; the first stopped on 2026-04-30. Moving off an unsupported runtime is rarely a one-line change, so a buyer should ask whether the upgrade is planned and what it touches.
Dockerfile — Node.js 20, end of life 2026-04-30 |
Security & Reliability Posture
adequate1 credential-shaped string in the tree sit in tests, examples, documentation or local development settings
adequateStrings 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.
| JWT, where fakes are usual |
201 dependencies float, and no lockfile is committed
adequateDependency versions are declared as ranges and no lockfile is committed, so a build today does not necessarily produce what a build last month produced. That matters twice over in a transaction: the thing being bought cannot be reproduced exactly, and a compromised upstream release arrives without anyone choosing to take it.
mobile/package.json:32 — ^15.0.3 |
mobile/package.json:34 — ^7.4.0 |
mobile/package.json:35 — ^7.9.4 |
mobile/package.json:36 — ^7.1.8 |
mobile/package.json:39 — ~55.0.4 |
1 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.
Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate7 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; 3 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/_build-reusable.yml:58 — action pinned by tag |
.github/workflows/_build-reusable.yml:142 — action pinned by tag |
scripts/install-ubuntu.sh:15 — download piped into a shell |
3 shell commands built from strings
adequate3 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.
packages/desktop/electron.vite.config.ts:22 — command run through a shell |
packages/desktop/electron.vite.config.ts:111 — command run through a shell |
packages/shared-scripts/src/prepare-aioncore.js:166 — command run through a shell |
9 places insert HTML from a variable without sanitising it
adequate9 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.
packages/desktop/src/renderer/components/Markdown/CodeBlock.tsx:85 — HTML from a variable |
packages/desktop/src/renderer/components/Markdown/DiagramZoomOverlay.tsx:303 — HTML from a variable |
packages/desktop/src/renderer/components/Markdown/MermaidBlock.tsx:378 — HTML from a variable |
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,144 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 iofficeai/aionui: 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.