Read 2026-10-23
theonedev/onedev: technical due diligence, read from its repository
What Borehole read in theonedev/onedev's code and history at 8f64006: 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 | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
license.txt: Relicensed: proprietary → MIT (2017-07-12) → proprietary (2017-07-13) → MIT (2018-11-06).gitmodules:1: 1 submodule(s) this survey does not read: server-ee
Architecture & Codebase — including AI provenance
strongserver-core/src/main/java/io/onedev/server/web/asset/es6/pdfjs/pdf.mjs is 26,391 lines, 471× this codebase's median file
adequateThe median source file here is 56 lines. 69 files exceed 1,000 lines, the largest being 26,391. 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.
server-core/src/main/java/io/onedev/server/web/asset/es6/pdfjs/pdf.mjs:1 — 26,391 lines (471× median) |
server-core/src/main/java/io/onedev/server/web/asset/codemirror/lib/codemirror.js:1 — 9,885 lines (176× median) |
server-core/src/main/java/io/onedev/server/data/migration/DataMigrator.java:1 — 9,598 lines (171× median) |
server-core/src/main/java/io/onedev/server/web/asset/bootstrap/js/bootstrap.bundle.js:1 — 7,024 lines (125× median) |
server-core/src/main/java/io/onedev/server/web/component/select2/res/select2.js:1 — 6,272 lines (112× median) |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate292 test files against 4,338 source files (6.7%). 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.
| 292 test files / 4,338 source files |
Almost no process scaffolding exists in the repository
adequateOf five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.
| 1 of 5 markers present across 6,089 tracked files |
Tests are retried until they pass
adequateThe suite is configured to retry failing tests (e2e-test/playwright.config.js). 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.
e2e-test/playwright.config.js:31 — test retry |
Product & Engineering Maturity
adequateNode.js 10 is past end of life
adequateThe code is pinned to Node.js 10 (end of life 2021-04-30). None of these receives security fixes any more; the first stopped on 2021-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.
server-plugin/server-plugin-buildspec-node/Dockerfile — Node.js 10, end of life 2021-04-30 |
12% of bug fixes add or change a test
adequateOf 401 fixes in the last 24 months, 48 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.
| 48 of 401 |
Security & Reliability Posture
adequateNone of the standard security guard rails are configured
adequateThere is no disclosure policy, no automated dependency updates, no named code owners and no pre-commit configuration. None of these is load-bearing on its own. Their collective absence says that security posture here is whatever the current team happens to remember to do, which is not a posture that survives the team changing.
| checked 5 kinds of guard rail across 6,089 tracked files; 0 present |
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.
server-plugin/server-plugin-buildspec-node/Dockerfile — runs as root |
1 SQL statement built from strings
adequate1 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.
server-core/src/main/java/io/onedev/server/persistence/SequenceGenerator.java:85 — SQL built from a string |
1 deserialiser that can run code
adequate1 places read data with a deserialiser that executes what it reads (Java object streams). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
server-core/src/main/java/io/onedev/server/logging/LogEntryReader.java:74 — code-executing deserialiser |
1 of 1 Kubernetes workloads declare no resource limits
adequate1 workload manifests set no CPU or memory limits. One pod that leaks memory or spins can starve everything else on its node, and the scheduler cannot plan capacity for what it cannot see.
server-product/helm/templates/statefulset.yaml — workload with no limits |
Relicensed: proprietary → MIT (2017-07-12) → proprietary (2017-07-13) → MIT (2018-11-06)
adequateThe root licence changed 3 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
license.txt — proprietary from 2016-12-14 |
license.txt — MIT from 2017-07-12 |
license.txt — proprietary from 2017-07-13 |
license.txt — MIT from 2018-11-06 |
11 advisories against this project in the last 24 months, 6 high or critical
adequateThe newest was published on 2026-10-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 4 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 16.9.7. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 1 record names onedev with nothing tying it to this repository (CVE-2026-60018).
| 2026-10-18: GHSA-f9rv-8qpc-j4mv (high), fixed in 16.8.5: Arbitrary server file read via untrusted CI/CD job |
| 2026-09-12: GHSA-c296-25jw-hc2x (high), fixed in 16.5.8: Stored XSS in Maven package page via unescaped POM `packaging` element |
| 2026-09-12: GHSA-4g92-hmfv-3f9h (critical), fixed in 16.5.7: Authenticated pre-authorization Groovy RCE via settings validation |
| 2026-09-12: GHSA-f544-q7fq-359r (high), fixed in 16.5.10: A Package Writer can read server-local files through Maven POM XXE |
| 2026-08-07: GHSA-p3rv-f672-8x57 (moderate), fixed in 16.0.0: Sensitive CI/CD job secrets exposure through /forks endpoint |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 5,081 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.
| searched 5,081 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched |
No 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 5,081 files for 10 structured logging libraries; 0 matched |
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 |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on theonedev/onedev: 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.