Borehole · Project · free tier
volcengine/openviking
Free reading: not for reliance
71038a1 · 3,008 commits · 5,458 files
Read 2026-10-28

volcengine/openviking: technical due diligence, read from its repository

What Borehole read in volcengine/openviking's code and history at 71038a1: 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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • LICENSE: Relicensed: Apache-2.0 → AGPL-3.0 (2026-03-30)
  • CONTRIBUTING.md:273: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

crates/ov_cli/src/config_wizard/wizard.rs is 8,135 lines, 55× this codebase's median file

adequate

The median source file here is 146 lines. 58 files exceed 1,460 lines, the largest being 8,135. 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.

Evidence
crates/ov_cli/src/config_wizard/wizard.rs:1 — 8,135 lines (55× median)
crates/ragfs/src/git/service.rs:1 — 6,735 lines (46× median)
crates/ov_cli/src/main.rs:1 — 6,451 lines (44× median)
crates/ragfs-python/src/lib.rs:1 — 3,952 lines (27× median)
crates/ragfs/src/lock/manager.rs:1 — 3,753 lines (25× median)

Engineering Process & SDLC Maturity

adequate
02.17

CI runs tests that cannot fail the build

adequate

2 test commands in CI end in `|| true` or an equivalent, so the pipeline passes whatever the tests say. A green build then means the tests ran, not that they passed.

Evidence
.github/workflows/oc2ov_test.yml:58 — a test command that cannot fail
.github/workflows/oc2ov_test.yml:59 — a test command that cannot fail
02.24

10% of recent commits change more than 2,000 lines

adequate

272 of 2777 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.

Evidence
272 commits over 2,000 lines

Product & Engineering Maturity

strong
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v0.5.2, is not on the branch this survey read; the newest release on it is v0.5.1. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v0.5.2

Security & Reliability Posture

adequate
05.1

3 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings

adequate

Strings 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.

Evidence
2 cited: AWS access key, where fakes are usual
Slack token, where fakes are usual
05.6

4 Dockerfiles run the application as root

adequate

No 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.

Evidence
Dockerfile — runs as root
bot/deploy/Dockerfile — runs as root
bot/deploy/docker/Dockerfile — runs as root
deploy/docker/cuvs-dev/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

9 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; 5 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.

Evidence
.github/workflows/_build.yml:67 — action pinned by tag
.github/workflows/_build.yml:209 — action pinned by tag
.github/workflows/api_test.yml:504 — download piped into a shell
05.20

16 SQL statements built from strings

adequate

16 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.

05.22

1 deserialiser that can run code

adequate

1 places read data with a deserialiser that executes what it reads (`yaml.load` without a safe loader). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.

Evidence
openviking/parse/parsers/markdown.py:607 — code-executing deserialiser
05.26

50 locked dependencies have published vulnerabilities, 49 high or critical in what ships

adequate

50 of 1,796 locked dependencies match 123 published advisories in OSV, 59 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.

Evidence
uv.lock — anyio 4.12.1: GHSA-82r6-8w77-94w6 (critical), fixed in 4.14.2
uv.lock — certifi 2026.2.25: GHSA-6q48-6c7w-9gw2 (critical), fixed in 2026.10.18
uv.lock — litellm 1.83.12: GHSA-4xpc-pv4p-pm3w (critical), fixed in 1.84.0
05.45

1 workload setting give a container the host

adequate

1 places in the deployment configuration run a container privileged or in the host's network, process or IPC namespace. A compromise of that container is a compromise of the machine, and most acquirers' security reviews block it. Node agents (network, storage, monitoring) are excluded.

Evidence
bot/deploy/vke/k8s/deployment.yaml:66 — privileged or host namespace
05.48

4 places insert HTML from a variable without sanitising it

adequate

4 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.

05.60

Relicensed: Apache-2.0 → AGPL-3.0 (2026-03-30)

adequate

The root licence changed 1 time(s). The latest terms restrict what users, hosts or a buyer may do in ways the earlier ones did not. Code taken under the old terms stays under them, so both matter in diligence.

Evidence
LICENSE — Apache-2.0 from 2026-01-29
LICENSE — AGPL-3.0 from 2026-03-30
05.65

8 advisories against this project in the last 24 months, 5 high or critical

adequate

The newest was published on 2026-08-21. 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 2 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 0.5.1. Answer lives in: the release you run, set against each fixed version.

Evidence
2026-08-21: CVE-2026-22681 (high): OpenViking before 0.3.4 contains a server-side request forgery vulnerability that allows authenticated low-privilege attackers to access internal network servic
2026-08-17: CVE-2026-75480 (high): OpenViking debug vector scroll and count endpoints apply only account-level scoping without user-level access controls, allowing authenticated users to read all
2026-06-28: CVE-2026-13507 (low): A vulnerability was detected in volcengine OpenViking up to 0.3.21. This affects the function str_to_uint64 of the file openviking/storage/vectordb/utils/str_to
2026-04-17: GHSA-jgq2-vq69-gr6h (critical), fixed in 0.3.9: OpenViking: Unauthenticated remote bot control via OpenAPI HTTP routes
2026-04-07: GHSA-h336-2wxm-pr6q (moderate), fixed in 0.3.3: OpenViking contains a missing authorization vulnerability in the task polling endpoints

Observability & Operations

adequate
06.9

No error reporter is wired in

adequate

Nothing 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.

Evidence
no error reporter initialised
06.18

1 of 1 deployed images carry no version, or `latest`

adequate

1 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.

Evidence
bot/deploy/vke/k8s/deployment.yaml:46 — image without a version
06.14

Readiness and liveness probes are identical in 1 of 3 workloads

adequate

Both 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.

Evidence
deploy/helm/openviking-gateway/values.yaml — same probe endpoint twice

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on volcengine/openviking: 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.