Read 2026-10-23
reflex-dev/reflex: technical due diligence, read from its repository
What Borehole read in reflex-dev/reflex's code and history at 656e8c7: 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 | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
docs/enterprise/LICENSE: Part of the code is under a separate licence: docs/enterprise/CONTRIBUTING.md:195: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
strongpackages/reflex-base/src/reflex_base/vars/base.py is 5,198 lines, 42× this codebase's median file
adequateThe median source file here is 123 lines. 22 files exceed 1,230 lines, the largest being 5,198. 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.
packages/reflex-base/src/reflex_base/vars/base.py:1 — 5,198 lines (42× median) |
packages/reflex-base/src/reflex_base/event/__init__.py:1 — 3,404 lines (27× median) |
reflex/state.py:1 — 3,095 lines (25× median) |
reflex/app.py:1 — 2,581 lines (20× median) |
packages/reflex-base/src/reflex_base/components/component.py:1 — 2,499 lines (20× median) |
Engineering Process & SDLC Maturity
strongTests are retried until they pass
adequateThe suite is configured to retry failing tests (.github/workflows/integration_app_harness.yml); 1 test is individually marked to retry. 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/integration_app_harness.yml:81 — test retry |
tests/units/test_config.py:1187 — test retry |
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequate5 deserialisers that can run code
adequate5 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.
packages/reflex-base/src/reflex_base/utils/decorator.py:91 — code-executing deserialiser |
reflex/istate/manager/token.py:100 — code-executing deserialiser |
reflex/istate/manager/token.py:102 — code-executing deserialiser |
1 locked dependency has published vulnerabilities
adequate1 of 185 locked dependencies match 1 published advisories in OSV. 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.
uv.lock — brotli 1.2.0: PYSEC-2026-4322 (unrated), fixed in 1.2.1 |
Part of the code is under a separate licence: docs/enterprise/
adequateA directory named for a paid edition carries its own licence. That code is usually not open source even where the rest is; what the buyer may do with each part differs.
docs/enterprise/LICENSE — licence: LicenseRef-EULA |
2 advisories against this project in the last 24 months, 1 high or critical
adequateThe newest was published on 2025-10-14. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. None of them affects the surveyed version.
| 2025-10-14: GHSA-rfh5-c9h5-q8jm (low): reflex-dev/reflex has an Open Redirect vulnerability |
| 2025-05-14: GHSA-rf8x-9mhr-49wg (high), fixed in 0.4.9.post1: Private state fields modification |
Observability & Operations
adequateNo 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 2,125 files for 10 structured logging libraries; 0 matched |
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 reflex-dev/reflex: 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.