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.
| 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: 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
strongcrates/ov_cli/src/config_wizard/wizard.rs is 8,135 lines, 55× this codebase's median file
adequateThe 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.
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
adequateCI runs tests that cannot fail the build
adequate2 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.
.github/workflows/oc2ov_test.yml:58 — a test command that cannot fail |
.github/workflows/oc2ov_test.yml:59 — a test command that cannot fail |
10% of recent commits change more than 2,000 lines
adequate272 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.
| 272 commits over 2,000 lines |
Product & Engineering Maturity
strongReleases are cut from another branch than the one surveyed
adequateThe 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.
| tag v0.5.2 |
Security & Reliability Posture
adequate3 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: AWS access key, where fakes are usual |
| Slack token, where fakes are usual |
4 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.
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 |
The build runs third-party code it does not pin
adequate9 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.
.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 |
16 SQL statements built from strings
adequate16 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.
openviking/observability/usage_audit/sqlite_store.py:155 — SQL built from a string |
openviking/observability/usage_audit/sqlite_store.py:310 — SQL built from a string |
openviking/server/oauth/storage.py:581 — SQL built from a string |
1 deserialiser that can run code
adequate1 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.
openviking/parse/parsers/markdown.py:607 — code-executing deserialiser |
50 locked dependencies have published vulnerabilities, 49 high or critical in what ships
adequate50 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.
1 workload setting give a container the host
adequate1 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.
bot/deploy/vke/k8s/deployment.yaml:66 — privileged or host namespace |
4 places insert HTML from a variable without sanitising it
adequate4 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.
web-studio/src/routes/resources/-components/file-preview.tsx:765 — HTML from a variable |
web-studio/src/routes/resources/-components/file-preview.tsx:2079 — HTML from a variable |
web-studio/src/routes/resources/-components/file-preview.tsx:2095 — HTML from a variable |
Relicensed: Apache-2.0 → AGPL-3.0 (2026-03-30)
adequateThe 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.
8 advisories against this project in the last 24 months, 5 high or critical
adequateThe 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.
| 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
adequateNo 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.
bot/deploy/vke/k8s/deployment.yaml:46 — image without a version |
Readiness and liveness probes are identical in 1 of 3 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.
deploy/helm/openviking-gateway/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 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.