Read 2026-10-22
getsentry/self-hosted: technical due diligence, read from its repository
What Borehole read in getsentry/self-hosted's code and history at c49fff6: 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 | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE.md:1: The licence is FSL-1.1-ALv2: source available, not open sourceLICENSE: Relicensed: BUSL-1.1 → FSL-1.0-ALv2 (2023-11-17) → FSL-1.1-ALv2 (2024-02-27)CONTRIBUTING.md:87: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
adequate2 base images float: no version, or `latest`
adequate2 of 5 `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.
workstation/postinstall/Dockerfile:2 — base image without a version |
workstation/preinstall/Dockerfile:2 — base image without a version |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate4 test files against 64 source files (6.2%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.
| 4 test files / 64 source files |
Product & Engineering Maturity
adequateChange keeps returning to the same few files
adequateFive files out of 223 absorb 34% of all file-level change. Concentration like this is where debt is usually being serviced rather than repaid: the same code is reopened because it is load-bearing, fragile, or both. A repository cannot tell you which — that is a conversation with the team.
docker-compose.yml — 245 commits touched it |
install.sh — 114 commits touched it |
sentry/sentry.conf.example.py — 100 commits touched it |
README.md — 95 commits touched it |
.github/workflows/test.yml — 91 commits touched it |
10% of bug fixes add or change a test
adequateOf 79 fixes in the last 24 months, 8 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.
| 8 of 79 |
Security & Reliability Posture
adequate3 Dockerfiles run 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.
clickhouse/Dockerfile — runs as root |
workstation/postinstall/Dockerfile — runs as root |
workstation/preinstall/Dockerfile — runs as root |
2 environment files are committed
adequate.env, optional-modifications/patches/external-kafka/.env.patch are tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.
.env — committed environment file |
optional-modifications/patches/external-kafka/.env.patch — committed environment file |
The build runs third-party code it does not pin
adequate4 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/enforce-license-compliance.yml:22 — action pinned by tag |
.github/workflows/lock.yml:11 — 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.
_integration-test/custom-ca-roots/custom-ca-roots-test.py:8 — outbound call without a timeout |
_integration-test/custom-ca-roots/custom-ca-roots-test.py:12 — outbound call without a timeout |
3 locked dependencies have published vulnerabilities, 4 high or critical
adequate3 of 46 locked dependencies match 7 published advisories in OSV, 4 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. None of the high or critical ones is in what the product ships: they are development dependencies.
The licence is FSL-1.1-ALv2: source available, not open source
adequateLICENSE.md grants FSL-1.1-ALv2: source available, not open source; a competing commercial product or service is not allowed; each version becomes Apache-2.0 two years after its release. The reading comes from the licence's own title and clauses. Whether the terms fit the buyer's intended use, and whether any paid licence transfers with the code, is a question for counsel and the licensor.
LICENSE.md:1 — 105 lines, FSL-1.1-ALv2 |
Relicensed: BUSL-1.1 → FSL-1.0-ALv2 (2023-11-17) → FSL-1.1-ALv2 (2024-02-27)
adequateThe root licence changed 2 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
LICENSE — BUSL-1.1 from 2020-12-15 |
LICENSE — FSL-1.0-ALv2 from 2023-11-17 |
LICENSE.md — FSL-1.1-ALv2 from 2024-02-27 |
1 advisory against this project in the last 24 months, 1 high or critical
adequateThe newest was published on 2025-01-15. 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 1 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 26.10.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 33 records name self-hosted with nothing tying them to this repository (CVE-2025-0337, CVE-2025-11449, CVE-2025-11450, …).
| 2025-01-15: CVE-2025-22146 (critical): Sentry is a developer-first error tracking and performance monitoring tool. A critical vulnerability was discovered in the SAML SSO implementation of Sentry. It |
Observability & Operations
adequateOne 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 |
1 of 18 deployed images carry no version, or `latest`
adequate1 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.
docker-compose.yml:127 — image without a version |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on getsentry/self-hosted: 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.