Read 2026-10-23
risingwavelabs/risingwave: technical due diligence, read from its repository
What Borehole read in risingwavelabs/risingwave's code and history at 1c69fba: 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
- Releases are cut from another branch than the one surveyed
Architecture & Codebase — including AI provenance
strongsrc/sqlparser/src/parser.rs is 6,960 lines, 62× this codebase's median file
adequateThe median source file here is 111 lines. 163 files exceed 1,110 lines, the largest being 6,960. 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.
src/sqlparser/src/parser.rs:1 — 6,960 lines (62× median) |
src/meta/src/hummock/manager/tests.rs:1 — 5,033 lines (45× median) |
src/sqlparser/src/ast/mod.rs:1 — 4,328 lines (38× median) |
src/meta/src/controller/streaming_job.rs:1 — 4,302 lines (38× median) |
src/batch/executors/src/executor/join/hash_join.rs:1 — 4,177 lines (37× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequateNode.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.
dashboard/.node-version — Node.js 20, end of life 2026-04-30 |
Fixes are 54% of recent work, up from 33%
adequateIn the last two quarters 54% of commits were fixes, against 33% in the quarters before. Rising fix work usually means quality debt is coming due, and it takes time that new work would have had.
| 54%, 53%, 37%, 34%, 32%, 34%, 30%, 31% |
9 files still carry code deprecated more than two years ago
adequate9 files were marked deprecated over two years ago and still are, the oldest since Feb 2024. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
src/stream/src/common/log_store_impl/kv_log_store/mod.rs — deprecated since Feb 2024 |
src/meta/node/src/lib.rs — deprecated since Mar 2024 |
src/compute/src/lib.rs — deprecated since Mar 2024 |
src/storage/hummock_sdk/src/level.rs — deprecated since Jul 2024 |
src/storage/src/hummock/sstable/mod.rs — deprecated since Sep 2024 |
Releases are cut from another branch than the one surveyed
adequateThe newest release, v3.1.0, is not on the branch this survey read; the newest release on it is v0.1.11. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v3.1.0 |
Security & Reliability Posture
adequate2 credential-shaped strings 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.
| 2 cited: JWT, 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.
docker/Dockerfile — runs as root |
docker/aws/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate18 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; 11 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/assign-issue-milestone.yml:15 — action pinned by tag |
.github/workflows/audit.yml:16 — action pinned by tag |
.github/workflows/copilot-setup-steps.yml:40 — download piped into a shell |
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.
java/connector-node/risingwave-sink-jdbc/src/main/java/com/risingwave/connector/jdbc/JdbcDialect.java:78 — SQL built from a string |
4 shell commands built from strings
adequate4 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.
develop/sql_bench/main.py:154 — command run through a shell |
develop/sql_bench/main.py:199 — command run through a shell |
src/stream/benches/stream_hash_join.py:39 — command run through a shell |
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.
java/common-utils/src/main/java/com/risingwave/java/utils/ObjectSerde.java:46 — code-executing deserialiser |
55 locked dependencies have published vulnerabilities, 7 high or critical in what ships
adequate55 of 2,426 locked dependencies match 103 published advisories in OSV, 25 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.
dashboard/pnpm-lock.yaml — dompurify 3.4.8: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17 |
dashboard/pnpm-lock.yaml — next 16.3.8: GHSA-2464-fhr4-w9xw (critical), fixed in 16.4.1 |
dashboard/pnpm-lock.yaml — proxy-addr 2.0.7: GHSA-jqcg-44mw-7w3h (critical), fixed in 2.0.8; a development dependency |
1 advisory against this project in the last 24 months, 1 high or critical
adequateThe newest was published on 2026-10-19. 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-19: CVE-2026-112262 (high): RisingWave before 3.1.0 contains a missing authorization vulnerability that allows low-privileged SQL users to read and write arbitrary server files by creating |
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 |
Sends usage data to telemetry.risingwave.dev by default
adequatesrc/common/telemetry_event/src/lib.rs sends to telemetry.risingwave.dev, and docker/docker-compose-distributed.yml leaves reporting on as shipped. Every installation reports to the vendor unless its operator turns this off. For a buyer running it inside their own product, that is an outbound data flow to a third party: ask what is sent, how often, and whether the buyer's customers were told.
src/common/telemetry_event/src/lib.rs:40 — reports to telemetry.risingwave.dev |
docker/docker-compose-distributed.yml:31 — the reporting setting is on by default |
4 of 10 deployed images carry no version, or `latest`
adequate4 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.
docker/docker-compose.yml:107 — image without a version |
docker/docker-compose.yml:132 — image without a version |
docker/docker-compose.yml:178 — image without a version |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on risingwavelabs/risingwave: 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.