Read 2026-10-22
getsentry/sentry: technical due diligence, read from its repository
What Borehole read in getsentry/sentry's code and history at 051c2f1: 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 | strong |
| 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.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)
Architecture & Codebase — including AI provenance
strongsrc/sentry/api/helpers/android_models.py is 24,570 lines, 307× this codebase's median file
adequateThe median source file here is 80 lines. 140 files exceed 1,000 lines, the largest being 24,570. 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.
src/sentry/api/helpers/android_models.py:1 — 24,570 lines (307× median) |
src/sentry/migrations/0001_squashed_1118_add_group_derived_data.py:1 — 10,453 lines (130× median) |
src/sentry/options/defaults.py:1 — 4,707 lines (58× median) |
src/sentry/api/urls.py:1 — 3,971 lines (49× median) |
src/sentry/conf/server.py:1 — 3,690 lines (46× median) |
Engineering Process & SDLC Maturity
strongTests are retried until they pass
adequateThe suite is configured to retry failing tests (.github/workflows/scripts/test_pytest_selected.py). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.
.github/workflows/scripts/test_pytest_selected.py:286 — test retry |
Product & Engineering Maturity
adequate121 direct dependencies in a single manifest
adequatestatic/app/package.json declares 121 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.
static/app/package.json — 121 declared |
pyproject.toml — 113 declared |
package.json — 38 declared |
static/gsApp/package.json — 26 declared |
Security & Reliability Posture
adequate11 outbound calls can wait forever
adequate11 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.
bin/extension_language_map.py:8 — outbound call without a timeout |
src/sentry/integrations/utils/atlassian_connect.py:146 — outbound call without a timeout |
src/sentry/middleware/integrations/tasks.py:97 — outbound call without a timeout |
2 SQL statements built from strings
adequate2 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.
src/sentry/api/paginator.py:46 — SQL built from a string |
src/sentry/backup/services/import_export/impl.py:334 — SQL built from a string |
8 deserialisers that can run code
adequate8 places read data with a deserialiser that executes what it reads (pickle). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
src/sentry/buffer/redis.py:555 — code-executing deserialiser |
src/sentry/buffer/redis.py:568 — code-executing deserialiser |
src/sentry/digests/codecs.py:19 — code-executing deserialiser |
7 locked dependencies have published vulnerabilities, 6 high or critical in what ships
adequate7 of 1,893 locked dependencies match 13 published advisories in OSV, 8 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.
pnpm-lock.yaml — dompurify 3.4.16: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17 |
pnpm-lock.yaml — handlebars 4.7.9: GHSA-8r5x-fm3f-whwj (critical), fixed in 4.7.10; a development dependency |
uv.lock — djangorestframework 3.17.2: GHSA-33wh-fxxf-88vv (high), fixed in 3.18.2 |
13 places insert HTML from a variable without sanitising it
adequate13 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.
src/sentry/templates/sentry/error-page-embed.js:69 — HTML from a variable |
static/app/components/backendJsonFormAdapter/tableAdapter.tsx:139 — HTML from a variable |
static/app/components/core/markdown/defaultComponents.tsx:79 — HTML from a variable |
3 vendored components with no licence
adequateThird-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.
src/sentry/static/sentry/vendor/fonts — 3 tracked files, no licence file |
src/sentry/static/sentry/vendor/jquery.2.2.4.min.js — 1 tracked files, no licence file |
src/sentry/static/sentry/vendor/select2.css — 1 tracked files, no licence file |
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 |
16 advisories against this project in the last 24 months, 10 high or critical
adequateThe newest was published on 2026-10-21. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. The record is incomplete: NVD: 36 records name sentry with nothing tying them to this repository (CVE-2004-0193, CVE-2012-2604, CVE-2012-2605, …).
| 2026-10-21: CVE-2026-114139 (critical): Sentry-Javascript is an official Sentry SDKs for JavaScript. From 9.36.0 until 9.47.2, 10.75.2, and 11.0.0-rc.1, the webpack integration for @sentry/nextjs skip |
| 2026-10-19: GHSA-88p9-44cg-fr2q (high), fixed in 26.10.0: Improper email matching in SAML SSO process allows account takeover |
| 2026-08-17: GHSA-rrcx-889m-5jj5 (critical), fixed in 26.8.0: Improper authentication on SAML SSO allows unauthorized organization member addition or identity linking |
| 2026-07-24: GHSA-w699-8wff-fqxw (critical), fixed in 26.7.2: Improper authentication on SAML SSO process allows user identity linking |
| 2026-07-16: GHSA-xm86-7c47-gjm4 (critical), fixed in 26.7.0: Unsafe pickle deserialization in Relocation Feature |
Observability & Operations
adequateSends usage data to stats.stackexchange.com by default
adequatesrc/sentry/search/events/datasets/discover.py sends to stats.stackexchange.com, and src/sentry/api/serializers/models/project.py leaves reporting on as shipped. Every installation reports to the vendor unless its operator turns this off. For a buyer running it inside their own product, that is an outbound data flow to a third party: ask what is sent, how often, and whether the buyer's customers were told.
src/sentry/search/events/datasets/discover.py:245 — reports to stats.stackexchange.com |
src/sentry/api/serializers/models/project.py:1135 — the reporting setting is on by default |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on getsentry/sentry: 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.