Read 2026-11-03
openremote/core: technical due diligence, read from its repository
What Borehole read in openremote/core's code and history at c840035: 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 | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
adequatemanager/src/main/java/org/openremote/manager/asset/AssetStorageService.java is 3,193 lines, 33× this codebase's median file
adequateThe median source file here is 96 lines. 24 files exceed 1,000 lines, the largest being 3,193. 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.
manager/src/main/java/org/openremote/manager/asset/AssetStorageService.java:1 — 3,193 lines (33× median) |
ui/component/or-asset-tree/src/index.ts:1 — 2,405 lines (25× median) |
manager/src/main/java/org/openremote/manager/rules/JsonRulesBuilder.java:1 — 2,171 lines (22× median) |
ui/component/or-chart/src/index.ts:1 — 1,963 lines (20× median) |
agent/src/main/java/org/openremote/agent/protocol/bluetooth/mesh/utils/CompanyIdentifiers.java:1 — 1,910 lines (19× 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.
deployment/Dockerfile:4 — base image without a version |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strong6 files still carry code deprecated more than two years ago
adequate6 files were marked deprecated over two years ago and still are, the oldest since Jan 2020. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
model/src/main/java/org/openremote/model/rules/flow/NodeDataType.java — deprecated since Jan 2020 |
model/src/main/java/org/openremote/model/rules/flow/NodeType.java — deprecated since Jan 2020 |
agent/src/main/java/org/openremote/agent/protocol/bluetooth/mesh/transport/ProvisionedBaseMeshNode.java — deprecated since Dec 2021 |
manager/src/main/java/org/openremote/manager/apps/AppResourceImpl.java — deprecated since Jan 2023 |
ui/component/or-attribute-picker/src/index.ts — deprecated since Jul 2024 |
Security & Reliability Posture
adequate2 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.
deployment/Dockerfile — runs as root |
manager/Dockerfile — runs as root |
1 environment file is committed
adequate.ci_cd/env/.env is tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.
.ci_cd/env/.env — committed environment file |
21 SQL statements built from strings
adequate21 places in product code build SQL by formatting or joining strings rather than passing parameters. 3 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.
manager/src/main/java/org/openremote/manager/datapoint/AbstractDatapointService.java:289 — SQL built from a string |
model/src/main/java/org/openremote/model/datapoint/query/AssetDatapointLTTBQuery.java:65 — SQL built from a string |
model/src/main/java/org/openremote/model/datapoint/query/AssetDatapointLTTBQuery.java:71 — SQL built from a string |
8 locked dependencies have published vulnerabilities, 2 high or critical
adequate8 of 1,162 locked dependencies match 8 published advisories in OSV, 2 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.
gradle/libs.versions.toml — com.google.guava:guava 33.7.1-jre: GHSA-xxph-c9ww-hj94 (high), fixed in 33.7.2 |
yarn.lock — @rsdoctor/rspack-plugin 1.5.13: GHSA-jmg2-rcxh-w8q3 (high), fixed in 1.5.16 |
gradle/libs.versions.toml — io.undertow:undertow-core 2.3.26.Final: GHSA-3x3v-w654-m28m (moderate) |
20 advisories against this project in the last 24 months, 11 high or critical
adequateThe newest was published on 2026-10-23. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. None of them affects the surveyed version.
| 2026-10-23: GHSA-vgp4-96p8-3w8v (moderate), fixed in 1.32.2: Stored Cross-Site Scripting via Unrestricted Manager Configuration Image Upload |
| 2026-10-23: GHSA-gf33-2772-8gw3 (high), fixed in 1.32.2: Improper Authorization Allows Realm Administrators to Access and Modify Global Resources |
| 2026-10-08: GHSA-2j4x-qh6q-q8mm (low), fixed in 1.31.0: Cross-realm gateway websocket events are not checked against the GatewayConnector realm |
| 2026-10-08: GHSA-p5wh-9wx4-w5f3 (moderate), fixed in 1.31.0: Cross-realm gateway tunnel-info disclosure (getGatewayActiveTunnelInfos missing realm scoping) |
| 2026-10-08: GHSA-8pjc-wq2p-3xr4 (low), fixed in 1.31.0: Registered edge gateway can write and delete arbitrary assets in any realm (reversible-ID authorization bypass) |
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,106 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 |
1 of 1 deployed images carry no version, or `latest`
adequate1 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.
kubernetes/postgresql/templates/statefulset.yaml:81 — image without a version |
Readiness and liveness probes are identical in 4 of 6 workloads
adequateBoth probes call the same endpoint. When a dependency slows down, the liveness probe fails with the readiness probe, so the platform restarts pods that only needed taking out of rotation, and a partial outage becomes a full one. Liveness should ask whether the process is alive; readiness whether it can serve.
kubernetes/manager/values-demo.yaml — same probe endpoint twice |
kubernetes/manager/values-eks.yaml — same probe endpoint twice |
kubernetes/manager/values.yaml — same probe endpoint twice |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on openremote/core: 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.