Read 2026-11-03
orientechnologies/orientdb: technical due diligence, read from its repository
What Borehole read in orientechnologies/orientdb's code and history at 861fdd0: 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 | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
license.txt: Relicensed: Apache-2.0 → CDDL-1.0 (2014-06-24) → Apache-2.0 (2018-06-07)
Architecture & Codebase — including AI provenance
strongcore/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java is 6,452 lines, 86× this codebase's median file
adequateThe median source file here is 75 lines. 63 files exceed 1,000 lines, the largest being 6,452. 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.
core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java:1 — 6,452 lines (86× median) |
core/src/main/java/com/orientechnologies/orient/core/sql/parser/OrientSqlTokenManager.java:1 — 6,428 lines (85× median) |
core/src/main/java/com/orientechnologies/orient/core/record/impl/ODocument.java:1 — 3,588 lines (47× median) |
core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java:1 — 3,538 lines (47× median) |
studio/src/controllers/ee-controller.js:1 — 3,331 lines (44× median) |
A move from JavaScript to TypeScript began 118 months ago and is 75% done
adequate141 product files are in the new language and 47 are still in the old one, 118 months after the first new file appeared. The new language's share of the lines rose from 7% to 74%, and moved 0 percentage points in the last year. Two languages for one job doubles what an engineer has to know, and the unmoved half is usually what nobody wants to touch. Ask whether finishing it is planned, and what it costs.
| 47 old, 141 new |
Engineering Process & SDLC Maturity
adequate167 tests are switched off
adequate167 skip markers across 122 of 1524 test files. Each is a failure somebody chose to stop seeing; the question is whether anyone is tracking them.
Product & Engineering Maturity
strongEffort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.75 to 1.04 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.75, second half 1.04 (split 2018-07-17) |
47 files still carry code deprecated more than two years ago
adequate47 files were marked deprecated over two years ago and still are, the oldest since Oct 2016. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
core/src/main/java/com/orientechnologies/orient/core/metadata/sequence/OSequenceLibrary.java — deprecated since Oct 2016 |
core/src/main/java/com/orientechnologies/orient/core/record/impl/ODocument.java — deprecated since Nov 2016 |
core/src/main/java/com/orientechnologies/orient/core/index/OIndexManager.java — deprecated since Jan 2017 |
core/src/main/java/com/orientechnologies/orient/core/metadata/function/OFunctionLibrary.java — deprecated since Jan 2017 |
core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurity.java — deprecated since Jan 2017 |
Releases are cut from another branch than the one surveyed
adequateThe newest release, 3.2.57, is not on the branch this survey read; the newest release on it is 3.2.27. The shipped product may differ from what this report describes. Survey the release branch too.
| tag 3.2.57 |
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.
| AWS access key, where fakes are usual |
2 Dockerfiles run 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.
packages/community/docker/Dockerfile — runs as root |
packages/tp3/docker/Dockerfile — runs as root |
7 SQL statements built from strings
adequate7 places in product code build SQL by formatting or joining strings rather than passing parameters. 1 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.
etl/src/main/java/com/orientechnologies/orient/etl/transformer/OETLAbstractLookupTransformer.java:71 — SQL built from a string |
core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java:560 — SQL built from a string |
studio/src/controllers/document-controller.js:459 — SQL built from a string |
6 deserialisers that can run code
adequate6 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.
client/src/main/java/com/orientechnologies/orient/client/remote/ORemoteClient.java:2088 — code-executing deserialiser |
core/src/main/java/com/orientechnologies/orient/core/serialization/OStreamableHelper.java:124 — code-executing deserialiser |
core/src/main/java/com/orientechnologies/orient/core/serialization/OStreamableHelper.java:132 — code-executing deserialiser |
46 locked dependencies have published vulnerabilities, 56 high or critical
adequate46 of 1,055 locked dependencies match 118 published advisories in OSV, 56 of them rated high or critical. 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.
studio/yarn.lock — babel-traverse 6.26.0: GHSA-67hx-6x53-jw92 (critical) |
studio/yarn.lock — loader-utils 0.2.16: GHSA-76p3-8jx3-jpfq (critical), fixed in 2.0.3 |
studio/yarn.lock — loader-utils 1.1.0: GHSA-76p3-8jx3-jpfq (critical), fixed in 1.4.1 |
The production build publishes source maps
adequateThe build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.
studio/webpack.config.js:107 — source maps in a production build |
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.
studio/src/vendor/jquery-cron-min.js — 1 tracked files, no licence file |
studio/src/vendor/moment-jdateformatparser.js — 1 tracked files, no licence file |
Relicensed: Apache-2.0 → CDDL-1.0 (2014-06-24) → Apache-2.0 (2018-06-07)
adequateThe root licence changed 2 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
license.txt — Apache-2.0 from 2010-04-07 |
license.txt — CDDL-1.0 from 2014-06-24 |
license.txt — Apache-2.0 from 2018-06-07 |
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 4,798 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 orientechnologies/orientdb: 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.