Read 2026-11-03
dnscrypt/dnscrypt-proxy: technical due diligence, read from its repository
What Borehole read in dnscrypt/dnscrypt-proxy's code and history at 277917a: 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 |
What the repository says
LICENSE: Relicensed: GPL-3.0 → ISC (2018-01-12)
Architecture & Codebase — including AI provenance
adequatednscrypt-proxy/monitoring_ui.go is 1,335 lines, 11× this codebase's median file
adequateThe median source file here is 116 lines. 2 files exceed 1,160 lines, the largest being 1,335. 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.
dnscrypt-proxy/monitoring_ui.go:1 — 1,335 lines (11× median) |
dnscrypt-proxy/serversInfo.go:1 — 1,313 lines (11× median) |
1 base image floats: no version, or `latest`
adequate1 of 1 `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.
contrib/msi/Dockerfile:1 — base image without a version |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequate8% of bug fixes add or change a test
adequateOf 39 fixes in the last 24 months, 3 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.
| 3 of 39 |
10 files still carry code deprecated more than two years ago
adequate10 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.
vendor/golang.org/x/net/http2/transport.go — deprecated since Aug 2022 |
vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go — deprecated since Aug 2022 |
vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go — deprecated since Aug 2022 |
vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go — deprecated since Aug 2022 |
vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go — deprecated since Aug 2022 |
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.
contrib/msi/Dockerfile — runs as root |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 177 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.
| searched 177 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched |
No structured logging library is in use
adequateNothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.
| searched 177 files for 10 structured logging libraries; 0 matched |
The service logs with print: 54 calls against 0 logger calls
adequate54 `print` or `console.log` calls in the service's code, and 0 calls through a logger. Printed lines carry no level and no context, cannot be switched off, and are hard to find again in production.
dnscrypt-proxy/config.go:602 — print used for logging |
dnscrypt-proxy/config.go:637 — print used for logging |
dnscrypt-proxy/config.go:645 — print used for logging |
One request cannot be followed through the logs
adequateNothing in the service carries a request or correlation id, and there is no tracing. When a customer reports a failure, the log lines that belong to their request cannot be picked out from everyone else's.
| no request id, correlation id or tracing found |
No 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 |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on dnscrypt/dnscrypt-proxy: 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.