Borehole · Project · free tier
flipt-io/flipt
Free reading: not for reliance
3f59af5 · 5,374 commits · 927 files
Read 2026-10-23

flipt-io/flipt: technical due diligence, read from its repository

What Borehole read in flipt-io/flipt's code and history at 3f59af5: 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 & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • LICENSE: Relicensed: GPL-3.0 → MIT (2025-01-22)

Architecture & Codebase — including AI provenance

adequate
01.2

The repository begins with most of itself already written

adequate

The first commit carries 1,739,742 lines — 68% of every line ever added. Whatever happened before that commit happened somewhere this repository cannot show you, so the early history is not available as evidence of how the system was designed.

Evidence
2019-02-16T16:16:47+00:00; +1,739,742 across 2970 files; subject: 'Initial commit'
01.6

rpc/v2/environments/environments.pb.gw.go is 1,640 lines, 15× this codebase's median file

adequate

The median source file here is 104 lines. 6 files exceed 1,040 lines, the largest being 1,640. 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
rpc/v2/environments/environments.pb.gw.go:1 — 1,640 lines (15× median)
cmd/flipt/quickstart.go:1 — 1,538 lines (14× median)
rpc/flipt/auth/auth.pb.gw.go:1 — 1,371 lines (13× median)
internal/storage/git/repository.go:1 — 1,321 lines (12× median)
internal/server/environments/environments_mock.go:1 — 1,243 lines (11× median)

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (ui/playwright.config.ts). 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.

Evidence
ui/playwright.config.ts:29 — test retry

Product & Engineering Maturity

adequate
04.3

95 direct dependencies in a single manifest

adequate

go.mod declares 95 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.

Evidence
go.mod — 95 declared
ui/package.json — 34 declared
rpc/flipt/go.mod — 8 declared
rpc/v2/environments/go.mod — 6 declared
04.38

5 files still carry code deprecated more than two years ago

adequate

5 files were marked deprecated over two years ago and still are, the oldest since Oct 2022. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.

Evidence
rpc/flipt/flipt.pb.go — deprecated since Oct 2022
rpc/flipt/auth/auth.pb.go — deprecated since Nov 2022
rpc/flipt/evaluation/evaluation.pb.go — deprecated since Jul 2023
rpc/flipt/audit/event.pb.go — deprecated since Jul 2024
rpc/flipt/ofrep/ofrep.pb.go — deprecated since Jul 2024

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
ui/Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

13 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; 9 steps pipe a download straight into a shell. 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/devcontainer.yml:23 — action pinned by tag
.github/workflows/integration-test.yml:87 — action pinned by tag
.github/workflows/nightly.yml:37 — download piped into a shell
05.20

1 SQL statement built from strings

adequate

1 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.

Evidence
internal/server/analytics/clickhouse/client.go:102 — SQL built from a string
05.26

1 locked dependency has published vulnerabilities, 1 high or critical in what ships

adequate

1 of 516 locked dependencies match 1 published advisories in OSV, 1 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.

Evidence
ui/package-lock.json — zod 3.25.76: GHSA-mrhx-c7xc-m3w5 (high), fixed in 4.6.6
05.60

Relicensed: GPL-3.0 → MIT (2025-01-22)

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 2019-02-16
LICENSE — MIT from 2025-01-22
05.65

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

adequate

The newest was published on 2026-10-23. 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.

Evidence
2026-10-23: GHSA-5gq3-jqg2-3c53 (moderate), fixed in 2.14.1: Authorization (RBAC) bypass on the AuthenticationService: any authenticated principal can list/read/delete all users' authentications regardless of policy
2026-10-23: GHSA-mfm6-3c77-m4hw (moderate), fixed in 2.14.1: ListFlags authorizes protobuf EnvironmentKey then serves X-Flipt-Environment (confused deputy)
2026-10-23: GHSA-28fq-3x47-6xj3 (moderate), fixed in 2.14.0: The v2 RBAC authorization engine, which Flipt documents as giving admins environment and namespace scoped access control, is never consulted for the ClientEvalu
2026-10-23: GHSA-9frf-rp7p-pgm3 (moderate), fixed in 2.14.1: Unvalidated namespace keys let callers commit orphaned, unlistable, undeletable state into the Git-backed config repository
2026-10-23: GHSA-pmqf-5xx4-77h6 (high), fixed in 2.13.1: 'DeleteBranchEnvironment` evicts an arbitrary environment from the running server, authorized as a `read` on a different environment

Observability & Operations

strong
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 flipt-io/flipt: 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.