Read 2026-10-23
devtron-labs/devtron: technical due diligence, read from its repository
What Borehole read in devtron-labs/devtron's code and history at d12a1cf: 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 | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
adequateThe repository begins with most of itself already written
adequateThe first commit carries 4,231,374 lines — 41% of every line ever added. Whatever happened before that commit happened somewhere this repository cannot show you, so the early history is not available as evidence of how the system was designed.
| 2020-10-28T11:31:48+00:00; +4,231,374 across 8624 files; subject: 'Initial commit' |
pkg/pipeline/DeploymentPipelineConfigService.go is 3,263 lines, 62× this codebase's median file
adequateThe median source file here is 52 lines. 40 files exceed 1,000 lines, the largest being 3,263. 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/pipeline/DeploymentPipelineConfigService.go:1 — 3,263 lines (62× median) |
pkg/pipeline/CiCdPipelineOrchestrator.go:1 — 2,706 lines (52× median) |
api/restHandler/app/pipeline/configure/DeploymentPipelineRestHandler.go:1 — 2,540 lines (48× median) |
api/restHandler/CoreAppRestHandler.go:1 — 2,469 lines (47× median) |
pkg/plugin/GlobalPluginService.go:1 — 2,402 lines (46× median) |
1 model weight file committed directly to git
adequate1 model weight files are stored in git itself, not in LFS, DVC or a model hub. Every clone carries them, the history keeps every version for good, and nothing records which run or data produced them.
vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1_21_2/swagger.pb — weights in git |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequate98 direct dependencies in a single manifest
adequatego.mod declares 98 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.
go.mod — 98 declared |
2 pinned runtimes are past end of life
adequateThe code is pinned to Go 1.22 (end of life 2025-02-11); Go 1.25 (end of life 2026-08-11). None of these receives security fixes any more; the first stopped on 2025-02-11. 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.
sample-docker-templates/go/Dockerfile — Go 1.22, end of life 2025-02-11 |
Dockerfile — Go 1.25, end of life 2026-08-11 |
11% of bug fixes add or change a test
adequateOf 321 fixes in the last 24 months, 34 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.
| 34 of 321 |
17 files still carry code deprecated more than two years ago
adequate17 files were marked deprecated over two years ago and still are, the oldest since Aug 2024. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
vendor/cloud.google.com/go/compute/metadata/metadata.go — deprecated since Aug 2024 |
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go — deprecated since Sep 2024 |
vendor/k8s.io/api/core/v1/types.go — deprecated since Sep 2024 |
vendor/k8s.io/api/core/v1/types_swagger_doc_generated.go — deprecated since Sep 2024 |
vendor/k8s.io/client-go/util/workqueue/delaying_queue.go — deprecated since Sep 2024 |
Security & Reliability Posture
adequateThe build runs third-party code it does not pin
adequate5 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/chart-sync.yaml:25 — action pinned by tag |
.github/workflows/helm-chart-lint.yaml:15 — action pinned by tag |
2 outbound calls can wait forever
adequate2 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.
util/HttpUtil.go:46 — outbound call without a timeout |
util/helper.go:150 — outbound call without a timeout |
1 SQL statement built from strings
adequate1 places in product code build SQL by formatting or joining strings rather than passing parameters. 1 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.
internal/sql/repository/dockerRegistry/DockerArtifactStoreRepository.go:218 — SQL built from a string |
14 locked dependencies have published vulnerabilities, 19 high or critical in what ships
adequate14 of 319 locked dependencies match 35 published advisories in OSV, 20 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 can give a container the host, behind a chart value or in a stack built from source
adequate1 places run a container privileged or in the host's namespaces only when a Helm value switches them on, or in a compose file that builds the product from this repository, which is how it is developed rather than how it ships. Neither is on by default in what ships. Ask whether production sets the value or runs that stack.
contrib-chart/reference-chart_3-11-0/templates/deployment.yaml:138 — host access behind a setting or in a local stack |
3 advisories against this project in the last 24 months, 3 high or critical
adequateThe newest was published on 2026-08-31. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries.
| 2026-08-31: CVE-2026-82882 (high): Devtron through 2.2.0 fails to enforce authorization checks on the GET /orchestrator/api-token/webhook endpoint, allowing authenticated users to retrieve admin |
| 2026-02-04: GO-2026-4416 (critical): Devtron Attributes API Unauthorized Access Leading to API Token Signing Key Leakage in github.com/devtron-labs/devtron |
| 2024-11-07: GHSA-q78v-cv36-8fxj (high), fixed in 0.7.2: Devtron has SQL Injection in CreateUser API |
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 |
9 of 78 deployed images carry no version, or `latest`
adequate9 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.
charts/devtron/values.yaml:47 — image without a version |
charts/devtron/values.yaml:246 — image without a version |
charts/devtron/templates/migrator.yaml:682 — image without a version |
Readiness and liveness probes are identical in 19 of 20 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.
charts/devtron/templates/athena-api.yaml — same probe endpoint twice |
charts/devtron/templates/casbin.yaml — same probe endpoint twice |
charts/devtron/templates/dashboard.yaml — same probe endpoint twice |
The code branches on the environment's name at 47 places
adequate47 places outside configuration test whether they are running in production or staging. Staging then does not exercise production's code, and each deploy is the first run of those branches. Differences belong in configuration the code reads, not in the code.
internal/sql/repository/AppListingRepository.go:52 — branch on the environment name |
internal/sql/repository/AppListingRepository.go:549 — branch on the environment name |
internal/sql/repository/AppListingRepository.go:555 — branch on the environment name |
Schema migrations run every time a container starts
adequateThe start command runs the database migration and then the server, and the deployment runs more than one replica. Replicas race to migrate, a rollback cannot undo the schema, and a failed migration takes the service down with it. A separate job or release step is the usual fix.
sample-docker-templates/django/start-server.sh:4 — migration in the start command |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on devtron-labs/devtron: 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.