Borehole · Project · free tier
velero-io/velero
Free reading: not for reliance
e1a6c32 · 6,997 commits · 3,968 files
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.

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

What the repository says

  • Releases are cut from another branch than the one surveyed
  • README.md:4: names OpenSSF
  • README.md:78: names Cloud Native Computing Foundation
  • SECURITY-INSIGHTS.yml:100: names CNCF

Architecture & Codebase — including AI provenance

adequate
01.6

pkg/restore/restore.go is 3,257 lines, 25× this codebase's median file

adequate

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

Evidence
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)
01.25

1 base image floats: no version, or `latest`

adequate

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

Evidence
Dockerfile:52 — base image without a version

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.38

11 files still carry code deprecated more than two years ago

adequate

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

Evidence
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
04.62

Releases are cut from another branch than the one surveyed

adequate

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

Evidence
tag v1.18.4

Security & Reliability Posture

adequate
05.6

1 Dockerfile runs 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
site/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

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

Evidence
.github/workflows/auto_assign_prs.yml:25 — action pinned by tag
.github/workflows/pr-ci-check.yml:35 — action pinned by tag
05.34

4 of 5 Kubernetes workloads declare no resource limits

adequate

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

Evidence
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
05.26

1 locked dependency has published vulnerabilities, 1 high or critical in what ships

adequate

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

Evidence
go.mod — github.com/kopia/kopia v0.16.0: GHSA-2q4c-3mrw-63c3 (critical), fixed in 0.23.0
05.65

3 advisories against this project in the last 24 months

adequate

The 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).

Evidence
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

strong
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

3 of 5 deployed images carry no version, or `latest`

adequate

3 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
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 assessable

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