Borehole · Project · free tier
dnscrypt/dnscrypt-proxy
Free reading: not for reliance
277917a · 2,679 commits · 1,658 files
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.

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

What the repository says

  • LICENSE: Relicensed: GPL-3.0 → ISC (2018-01-12)

Architecture & Codebase — including AI provenance

adequate
01.6

dnscrypt-proxy/monitoring_ui.go is 1,335 lines, 11× this codebase's median file

adequate

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

Evidence
dnscrypt-proxy/monitoring_ui.go:1 — 1,335 lines (11× median)
dnscrypt-proxy/serversInfo.go:1 — 1,313 lines (11× median)
01.25

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

adequate

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

Evidence
contrib/msi/Dockerfile:1 — base image without a version

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.19

8% of bug fixes add or change a test

adequate

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

Evidence
3 of 39
04.38

10 files still carry code deprecated more than two years ago

adequate

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

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
contrib/msi/Dockerfile — runs as root
05.60

Relicensed: GPL-3.0 → ISC (2018-01-12)

adequate

The root licence changed 1 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.

Evidence
LICENSE — GPL-3.0 from 2018-01-08
LICENSE — ISC from 2018-01-12

Observability & Operations

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

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

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

No structured logging library is in use

adequate

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

Evidence
searched 177 files for 10 structured logging libraries; 0 matched
06.7

The service logs with print: 54 calls against 0 logger calls

adequate

54 `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.

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

One request cannot be followed through the logs

adequate

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

Evidence
no request id, correlation id or tracing found
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

Fit with the Acquirer

not assessable

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