Read 2026-10-23
velero-io/velero: technical due diligence, read from its repository
What Borehole read in velero-io/velero's code and history at e1a6c32: 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 | strong |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
README.md:4: names OpenSSFREADME.md:78: names Cloud Native Computing FoundationSECURITY-INSIGHTS.yml:100: names CNCF
Architecture & Codebase — including AI provenance
adequatepkg/restore/restore.go is 3,257 lines, 25× this codebase's median file
adequateThe median source file here is 126 lines. 3 files exceed 1,260 lines, the largest being 3,257. 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.
pkg/restore/restore.go:1 — 3,257 lines (25× median) |
pkg/backup/backup.go:1 — 1,525 lines (12× median) |
pkg/repository/udmrepo/kopialib/lib_repo.go:1 — 1,411 lines (11× median) |
1 base image floats: no version, or `latest`
adequate1 of 3 `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.
Dockerfile:52 — base image without a version |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strong11 files still carry code deprecated more than two years ago
adequate11 files were marked deprecated over two years ago and still are, the oldest since Aug 2022. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
pkg/podvolume/util.go — deprecated since Aug 2022 |
pkg/plugin/generated/Shared.pb.go — deprecated since Aug 2022 |
pkg/plugin/generated/DeleteItemAction.pb.go — deprecated since Aug 2022 |
pkg/plugin/generated/ObjectStore.pb.go — deprecated since Aug 2022 |
pkg/plugin/generated/PluginLister.pb.go — deprecated since Aug 2022 |
Releases are cut from another branch than the one surveyed
adequateThe newest release, v1.18.4, is not on the branch this survey read; the newest release on it is v1.6.0. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v1.18.4 |
Security & Reliability Posture
adequate1 Dockerfile runs 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.
site/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate6 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. 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/auto_assign_prs.yml:25 — action pinned by tag |
.github/workflows/pr-ci-check.yml:35 — action pinned by tag |
4 of 5 Kubernetes workloads declare no resource limits
adequate4 workload manifests set no CPU or memory limits. One pod that leaks memory or spins can starve everything else on its node, and the scheduler cannot plan capacity for what it cannot see.
design/CLI/PoC/base/minio.yaml — workload with no limits |
design/CLI/PoC/overlays/plugins/aws-plugin.yaml — workload with no limits |
design/CLI/PoC/overlays/plugins/azure-plugin.yaml — workload with no limits |
1 locked dependency has published vulnerabilities, 1 high or critical in what ships
adequate1 of 219 locked dependencies match 1 published advisories in OSV, 1 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.
go.mod — github.com/kopia/kopia v0.16.0: GHSA-2q4c-3mrw-63c3 (critical), fixed in 0.23.0 |
3 advisories against this project in the last 24 months
adequateThe newest was published on 2026-09-28. 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 1.6.0. Answer lives in: the release you run, set against each fixed version. GHSA-j2g6-362q-6qc6 (moderate) is fixed in the surveyed commit; which release carries it cannot be told from this history, which does not place the release users run. Answer lives in: the version you run. The record is incomplete: NVD: 1 record names velero with nothing tying it to this repository (CVE-2020-3996).
| 2026-09-28: GHSA-vrfp-2x59-hcfm (moderate), fixed in v1.18.3: Shared backendStores singletons mutated under per-repo lock causing cross-BSL data/credential leakage |
| 2026-09-28: GHSA-8gv3-c356-fw76 (moderate), fixed in v1.18.3: Backup sync controller re-executes object-store backups with attacker-controlled exec hooks |
| 2026-08-19: GHSA-j2g6-362q-6qc6 (moderate): File path traversal when extracting from backup's tarball |
Observability & Operations
strongNo 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 |
3 of 5 deployed images carry no version, or `latest`
adequate3 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.
design/CLI/PoC/overlays/plugins/node-agent.yaml:44 — image without a version |
design/CLI/PoC/base/minio.yaml:41 — image without a version |
design/CLI/PoC/base/minio.yaml:99 — 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 velero-io/velero: 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.