Borehole · Project · free tier
devtron-labs/devtron
Free reading: not for reliance
d12a1cf · 4,612 commits · 17,701 files
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.

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

Architecture & Codebase — including AI provenance

adequate
01.2

The repository begins with most of itself already written

adequate

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

Evidence
2020-10-28T11:31:48+00:00; +4,231,374 across 8624 files; subject: 'Initial commit'
01.6

pkg/pipeline/DeploymentPipelineConfigService.go is 3,263 lines, 62× this codebase's median file

adequate

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

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

1 model weight file committed directly to git

adequate

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

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.3

98 direct dependencies in a single manifest

adequate

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

Evidence
go.mod — 98 declared
04.17

2 pinned runtimes are past end of life

adequate

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

Evidence
sample-docker-templates/go/Dockerfile — Go 1.22, end of life 2025-02-11
Dockerfile — Go 1.25, end of life 2026-08-11
04.19

11% of bug fixes add or change a test

adequate

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

Evidence
34 of 321
04.38

17 files still carry code deprecated more than two years ago

adequate

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

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

5 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/chart-sync.yaml:25 — action pinned by tag
.github/workflows/helm-chart-lint.yaml:15 — action pinned by tag
05.13

2 outbound calls can wait forever

adequate

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

Evidence
util/HttpUtil.go:46 — outbound call without a timeout
util/helper.go:150 — outbound call without a timeout
05.20

1 SQL statement built from strings

adequate

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

05.26

14 locked dependencies have published vulnerabilities, 19 high or critical in what ships

adequate

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

Evidence
go.mod — github.com/argoproj/argo-cd/v2 v2.14.20: GHSA-fmxq-cgp8-87wp (critical)
go.mod — github.com/argoproj/argo-workflows/v3 v3.5.13: GHSA-3775-99mw-8rp4 (high), fixed in 3.7.14
go.mod — github.com/getkin/kin-openapi v0.132.0: GHSA-74vm-87hj-r66f (high), fixed in 0.146.0
05.45

1 workload setting can give a container the host, behind a chart value or in a stack built from source

adequate

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

Evidence
contrib-chart/reference-chart_3-11-0/templates/deployment.yaml:138 — host access behind a setting or in a local stack
05.65

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

adequate

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

Evidence
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

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

9 of 78 deployed images carry no version, or `latest`

adequate

9 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
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
06.14

Readiness and liveness probes are identical in 19 of 20 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
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
06.17

The code branches on the environment's name at 47 places

adequate

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

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

Schema migrations run every time a container starts

adequate

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

Evidence
sample-docker-templates/django/start-server.sh:4 — migration in the start command

Fit with the Acquirer

not assessable

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