Borehole · Project · free tier
getsentry/self-hosted
Free reading: not for reliance
c49fff6 · 1,422 commits · 140 files
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.

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

What the repository says

  • LICENSE.md:1: The licence is FSL-1.1-ALv2: source available, not open source
  • LICENSE: 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

adequate
01.25

2 base images float: no version, or `latest`

adequate

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

Evidence
workstation/postinstall/Dockerfile:2 — base image without a version
workstation/preinstall/Dockerfile:2 — base image without a version

Engineering Process & SDLC Maturity

adequate
02.3

Tests cover a thin slice of the codebase

adequate

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

Evidence
4 test files / 64 source files

Product & Engineering Maturity

adequate
04.1

Change keeps returning to the same few files

adequate

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

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

10% of bug fixes add or change a test

adequate

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

Evidence
8 of 79

Security & Reliability Posture

adequate
05.6

3 Dockerfiles run 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
clickhouse/Dockerfile — runs as root
workstation/postinstall/Dockerfile — runs as root
workstation/preinstall/Dockerfile — runs as root
05.25

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.

Evidence
.env — committed environment file
optional-modifications/patches/external-kafka/.env.patch — committed environment file
05.27

The build runs third-party code it does not pin

adequate

4 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/enforce-license-compliance.yml:22 — action pinned by tag
.github/workflows/lock.yml:11 — 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
_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
05.26

3 locked dependencies have published vulnerabilities, 4 high or critical

adequate

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

Evidence
uv.lock — cryptography 48.0.1: GHSA-g6cj-pr64-35w5 (high), fixed in 50.0.0; a development dependency
uv.lock — urllib3 2.7.0: GHSA-8988-9cw3-xx77 (high), fixed in 2.8.0; a development dependency
uv.lock — idna 3.11: GHSA-65pc-fj4g-8rjx (moderate), fixed in 3.15; a development dependency
05.66

The licence is FSL-1.1-ALv2: source available, not open source

adequate

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

Evidence
LICENSE.md:1 — 105 lines, FSL-1.1-ALv2
05.60

Relicensed: BUSL-1.1 → FSL-1.0-ALv2 (2023-11-17) → FSL-1.1-ALv2 (2024-02-27)

adequate

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

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

1 advisory against this project in the last 24 months, 1 high or critical

adequate

The 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, …).

Evidence
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

adequate
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.18

1 of 18 deployed images carry no version, or `latest`

adequate

1 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
docker-compose.yml:127 — image without a version

Fit with the Acquirer

not assessable

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