Borehole · Project · free tier
measure-sh/measure
Free reading: not for reliance
359fc80 · 5,718 commits · 5,213 files
Read 2026-11-03

measure-sh/measure: technical due diligence, read from its repository

What Borehole read in measure-sh/measure's code and history at 359fc80: 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 Maturityadequate
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • CONTRIBUTING.md:397: states a policy on AI-generated contributions
  • .gitmodules:1: 1 submodule(s) this survey does not read: ios/Sources/MeasureWebP/libwebp

Architecture & Codebase — including AI provenance

strong
01.6

frontend/dashboard/app/components/session_replay.tsx is 4,682 lines, 63× this codebase's median file

adequate

The median source file here is 74 lines. 35 files exceed 1,000 lines, the largest being 4,682. 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
frontend/dashboard/app/components/session_replay.tsx:1 — 4,682 lines (63× median)
frontend/dashboard/app/sandbox/platforms/android.ts:1 — 3,798 lines (51× median)
frontend/dashboard/app/sandbox/catalog.ts:1 — 3,600 lines (48× median)
backend/libs/measure/app.go:1 — 3,536 lines (47× median)
frontend/dashboard/app/sandbox/platforms/flutter.ts:1 — 3,507 lines (47× median)

Engineering Process & SDLC Maturity

adequate
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (frontend/dashboard/__tests__/components/trace/sidebar_test.tsx). 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.

02.24

8% of recent commits change more than 2,000 lines

adequate

130 of 1669 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.

Evidence
130 commits over 2,000 lines

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.1

5 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. 5 other matchs set aside: expired tokens, licence tokens a vendor verifies with a public key, or placeholder text where a key would go. None grants access to anything.

Evidence
3 cited: Slack token, where fakes are usual
2 cited: Google API key, where fakes are usual
05.27

The build runs third-party code it does not pin

adequate

11 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/agent.yml:86 — action pinned by tag
.github/workflows/agent.yml:94 — 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
backend/alerts/slack/slack.go:185 — outbound call without a timeout
backend/api/handlers/slack.go:609 — outbound call without a timeout
05.20

4 SQL statements built from strings

adequate

4 places in product code build SQL by formatting or joining strings rather than passing parameters. 2 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.

Evidence
backend/alerts/network/network.go:387 — SQL built from a string
backend/ingest-worker/measure/event.go:1674 — SQL built from a string
backend/libs/group/group.go:146 — SQL built from a string
05.26

15 locked dependencies have published vulnerabilities, 2 high or critical in what ships

adequate

15 of 1,916 locked dependencies match 25 published advisories in OSV, 10 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. 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
frontend/dashboard/package-lock.json — dompurify 3.4.16: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17
react-native/yarn.lock — shell-quote 1.10.0: GHSA-pqg4-j6r4-53mv (critical), fixed in 1.11.0
react-native/yarn.lock — brace-expansion 1.1.18: GHSA-6j4f-fj2g-mc7p (high), fixed in 1.1.19
05.65

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

adequate

The newest was published on 2026-09-07. 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: 44 records name measure with nothing tying them to this repository (CVE-2022-50577, CVE-2024-13176, CVE-2024-37881, …).

Evidence
2026-09-07: GHSA-g5x7-jwm8-7qvq (moderate): Command injection: a merged commit subject reaches 7 shell commands across 7 workflows
2026-09-03: GHSA-fqg4-jpp6-w64j (moderate), fixed in >= 0.13.0: Authenticated blind SQL injection in the team-invite flow: GetExistingAndNewInvitees builds a WHERE clause by string-interpolating each invitee email (single-qu
2026-08-06: GHSA-2xp4-fr9v-8g5g (low), fixed in 0.11.0: Unescaped team name in transactional email builders lets any user send HTML-injected phishing/tracking-pixel content to arbitrary email addresses from Measure's
2026-08-06: GHSA-q278-3x44-p9v3 (moderate), fixed in 0.11.0: GetAppRetention is the one handler (of 44) missing the team-scoping PerformAuthz check, leaking any app's retention config to any authenticated user
2026-04-07: GHSA-5gwm-2rj4-gx6c (high), fixed in 0.10.0: Unauthenticated SSRF via Prefix Bypass in /proxy/attachments

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 measure-sh/measure: 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.