Borehole · Project · free tier
plausible/analytics
Free reading: not for reliance
1264998 · 4,520 commits · 2,145 files
Read 2026-11-08

plausible/analytics: technical due diligence, read from its repository

What Borehole read in plausible/analytics's code and history at 1264998: 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 provenancestrong
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • LICENSE.md: Relicensed: MIT → AGPL-3.0 (2020-10-12)
  • assets/js/dashboard/extra/COPYING.txt: Part of the code is under a separate licence: assets/js/dashboard/extra/, extra/

Architecture & Codebase — including AI provenance

strong
01.6

priv/repo/structure.sql is 2,739 lines, 34× this codebase's median file

adequate

The median source file here is 79 lines. 5 files exceed 1,000 lines, the largest being 2,739. 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
priv/repo/structure.sql:1 — 2,739 lines (34× median)
lib/plausible_web/components/generic.ex:1 — 1,287 lines (16× median)
lib/plausible_web/live/sites.ex:1 — 1,154 lines (14× median)
config/runtime.exs:1 — 1,153 lines (14× median)
assets/js/dashboard/stats/graph/main-graph.tsx:1 — 1,026 lines (12× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v3.2.1, is not on the branch this survey read; the newest release on it is v3.1.0. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v3.2.1

Security & Reliability Posture

adequate
05.1

3 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings

adequate

Strings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.

Evidence
3 cited: Google OAuth client secret, where fakes are usual
05.5

3 credential-shaped strings added in the history sit in tests, examples, documentation or local development settings

adequate

Strings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.

Evidence
3 cited: Google OAuth client secret, where fakes are usual
05.25

2 environment files are committed

adequate

config/.env.ce_dev, config/.env.ce_test 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
config/.env.ce_dev — committed environment file
config/.env.ce_test — committed environment file
05.21

3 shell commands built from strings

adequate

3 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.

Evidence
tracker/compiler/analyze-sizes.js:294 — command run through a shell
tracker/compiler/analyze-sizes.js:295 — command run through a shell
tracker/compiler/analyze-sizes.js:313 — command run through a shell
05.26

14 locked dependencies have published vulnerabilities, 6 high or critical

adequate

14 of 406 locked dependencies match 23 published advisories in OSV, 6 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: only the build reaches them: a bundler, a code generator, a build plugin, or a lockfile in a tooling directory. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
assets/package-lock.json — brace-expansion 1.1.16: GHSA-6j4f-fj2g-mc7p (high), fixed in 1.1.19; reached only by the build
assets/package-lock.json — nanoid 3.3.16: GHSA-2v37-7h3g-55p8 (high), fixed in 3.3.18; reached only by the build
assets/package-lock.json — source-map-js 1.2.1: GHSA-68fv-2mgg-jv7q (high), fixed in 1.2.2; reached only by the build
05.60

Relicensed: MIT → AGPL-3.0 (2020-10-12)

adequate

The root licence changed 1 time(s). The latest terms restrict what users, hosts or a buyer may do in ways the earlier ones did not. Code taken under the old terms stays under them, so both matter in diligence.

Evidence
LICENSE.md — MIT from 2019-09-02
LICENSE.md — AGPL-3.0 from 2020-10-12
05.61

Part of the code is under a separate licence: assets/js/dashboard/extra/, extra/

adequate

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

Evidence
assets/js/dashboard/extra/COPYING.txt — licence: unrecognised
extra/COPYING.txt — licence: unrecognised
05.65

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

adequate

The newest was published on 2026-06-03. 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 3.1.0. Answer lives in: the release you run, set against each fixed version.

Evidence
2026-06-03: GHSA-mhcv-h7gf-57cf (critical), fixed in 3.2.1: Unauthenticated remote code execution via /storybook endpoint

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.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 plausible/analytics: 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.