Borehole · Project · free tier
invertase/react-native-firebase
Free reading: not for reliance
c65e1ee · 7,240 commits · 2,531 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

packages/firestore/android/src/reactnative/java/io/invertase/firebase/firestore/ReactNativeFirebaseFirestorePipelineNodeBuilder.java is 3,729 lines, 46× this codebase's median file

adequate

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

Engineering Process & SDLC Maturity

adequate
02.15

2 committed .only switches other tests off

adequate

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

Evidence
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
02.17

CI runs tests that cannot fail the build

adequate

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

Evidence
.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
02.16

Tests are retried until they pass

adequate

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

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.

Evidence
5 cited: Google API key, where fakes are usual
05.21

4 shell commands built from strings

adequate

4 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
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
05.26

74 locked dependencies have published vulnerabilities, 116 high or critical

adequate

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

Evidence
yarn.lock — basic-ftp 5.0.5: GHSA-5rq4-664w-9x2c (critical), fixed in 5.2.0
yarn.lock — handlebars 4.7.8: GHSA-2w6w-674q-4c4q (critical), fixed in 4.7.9
yarn.lock — handlebars 4.7.9: GHSA-8r5x-fm3f-whwj (critical), fixed in 4.7.10
05.51

The app allows plain HTTP to any server

adequate

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

Evidence
tests-macos/macos/io.invertase.testing-macOS/Info.plist:27 — cleartext allowed app-wide
05.9

1 vendored component with no licence

adequate

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

Evidence
scripts/tart/vendor/homebrew-rnfb — 3 tracked files, no licence file

Observability & Operations

not assessable

Not 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 assessable

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