Read 2026-10-23
invertase/react-native-firebase: technical due diligence, read from its repository
What Borehole read in invertase/react-native-firebase's code and history at c65e1ee: 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 | adequate |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongpackages/firestore/android/src/reactnative/java/io/invertase/firebase/firestore/ReactNativeFirebaseFirestorePipelineNodeBuilder.java is 3,729 lines, 46× this codebase's median file
adequateThe median source file here is 81 lines. 15 files exceed 1,000 lines, the largest being 3,729. 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/firestore/android/src/reactnative/java/io/invertase/firebase/firestore/ReactNativeFirebaseFirestorePipelineNodeBuilder.java:1 — 3,729 lines (46× median) |
packages/firestore/lib/pipelines/expressions.ts:1 — 2,875 lines (35× median) |
packages/auth/android/src/main/java/io/invertase/firebase/auth/NativeRNFBTurboAuth.java:1 — 2,829 lines (34× median) |
packages/firestore/ios/RNFBFirestore/RNFBFirestorePipelineNodeBuilder.swift:1 — 2,801 lines (34× median) |
packages/auth/ios/RNFBAuth/RNFBAuthHelper.m:1 — 2,107 lines (26× median) |
Engineering Process & SDLC Maturity
adequate2 committed .only switches other tests off
adequate2 test files commit a focused `.only`, which runs that test and silently skips the rest of its suite. 5 skip markers across 2 of 901 test files. Each is a failure somebody chose to stop seeing; the question is whether anyone is tracking them.
tests/README.md:135 — committed .only: other tests do not run |
tests/README.md:135 — committed .only: other tests do not run |
scripts/_TEMPLATE_/__tests__/_template_.test.ts:12 — skipped test |
tests/globals.js:260 — skipped test |
tests/globals.js:267 — skipped test |
CI runs tests that cannot fail the build
adequate2 test commands in CI end in `|| true` or an equivalent, so the pipeline passes whatever the tests say. A green build then means the tests ran, not that they passed.
.github/workflows/scripts/flake-summary.sh:35 — a test command that cannot fail |
.github/workflows/scripts/flake-summary.sh:54 — a test command that cannot fail |
Tests are retried until they pass
adequateThe suite is configured to retry failing tests (packages/firestore/e2e/firestore.e2e.js); 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.
packages/firestore/e2e/firestore.e2e.js:187 — test retry |
tests/e2e/firebase.test.js:1750 — test retry |
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequate5 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings
adequateStrings 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 cited: Google API key, where fakes are usual |
4 shell commands built from strings
adequate4 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.
tests-macos/.jetrc.js:72 — command run through a shell |
tests-macos/.jetrc.js:89 — command run through a shell |
tests-macos/.jetrc.js:96 — command run through a shell |
74 locked dependencies have published vulnerabilities, 116 high or critical
adequate74 of 2,711 locked dependencies match 172 published advisories in OSV, 116 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.
The app allows plain HTTP to any server
adequateThe app's manifest allows unencrypted HTTP app-wide (NSAllowsArbitraryLoads, or cleartext traffic permitted), rather than for named domains. Anything sent over plain HTTP can be read on the network, and enterprise security reviews ask about it. Some apps need it by nature (a podcast or feed reader fetches whatever URL a feed gives), so ask which case this is.
tests-macos/macos/io.invertase.testing-macOS/Info.plist:27 — cleartext allowed app-wide |
1 vendored component 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.
scripts/tart/vendor/homebrew-rnfb — 3 tracked files, no licence file |
Observability & Operations
not assessableNot rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on invertase/react-native-firebase: 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.