Read 2026-10-04
signalapp/signal-android: technical due diligence, read from its repository
What Borehole read in signalapp/signal-android's code and history at 0d8f7d7: 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 | strong |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE: Relicensed: GPL-3.0 → AGPL-3.0 (2023-05-05)
Architecture & Codebase — including AI provenance
strongapp/src/main/java/org/thoughtcrime/securesms/database/MessageTable.kt is 7,364 lines, 99× this codebase's median file
adequateThe median source file here is 74 lines. 52 files exceed 1,000 lines, the largest being 7,364. 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.
app/src/main/java/org/thoughtcrime/securesms/database/MessageTable.kt:1 — 7,364 lines (99× median) |
app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationFragment.kt:1 — 5,679 lines (76× median) |
app/src/main/java/org/thoughtcrime/securesms/database/RecipientTable.kt:1 — 5,571 lines (75× median) |
app/src/main/java/org/thoughtcrime/securesms/database/AttachmentTable.kt:1 — 4,666 lines (63× median) |
app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationItem.java:1 — 3,200 lines (43× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequate19% of bug fixes add or change a test
adequateOf 1214 fixes in the last 24 months, 225 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.
| 225 of 1214 |
13 files still carry code deprecated more than two years ago
adequate13 files were marked deprecated over two years ago and still are, the oldest since Jan 2020. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
app/src/main/java/org/thoughtcrime/securesms/util/TextSecurePreferences.java — deprecated since Jan 2020 |
app/src/main/java/org/thoughtcrime/securesms/jobs/CleanPreKeysJob.java — deprecated since Feb 2022 |
app/src/main/java/org/thoughtcrime/securesms/util/SingleLiveEvent.java — deprecated since Sep 2022 |
app/src/main/java/org/thoughtcrime/securesms/database/MessageTable.kt — deprecated since Mar 2023 |
app/src/main/java/org/thoughtcrime/securesms/components/spoiler/SpoilerDrawable.kt — deprecated since Mar 2023 |
Security & Reliability Posture
adequate2 credential-shaped strings committed to the tree
adequateMatches for Google API key appear in tracked files outside test and fixture paths. They stay in the history even after they leave the tree, so what matters is whether each was rotated. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when. Only Google API keys matched. Those are often public by design, in a browser app's Firebase or Maps configuration; the question is whether each is restricted to the app's domains and APIs.
| 2 cited: Google API key pattern matched |
None of the standard security guard rails are configured
adequateThere is no disclosure policy, no automated dependency updates, no named code owners and no pre-commit configuration. None of these is load-bearing on its own. Their collective absence says that security posture here is whatever the current team happens to remember to do, which is not a posture that survives the team changing.
| checked 5 kinds of guard rail across 10,514 tracked files; 0 present |
1 Dockerfile runs the application as root
adequateNo 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.
reproducible-builds/Dockerfile — runs as root |
3 locked dependencies have published vulnerabilities, 9 high or critical
adequate3 of 172 locked dependencies match 16 published advisories in OSV, 9 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.
gradle/libs.versions.toml — com.fasterxml.jackson.core:jackson-databind 2.12.0: GHSA-3x8x-79m2-3w2w (high), fixed in 2.12.6 |
gradle/libs.versions.toml — com.github.jknack:handlebars 4.0.7: GHSA-r4gv-qr8j-p3pg (high), fixed in 4.5.2 |
gradle/libs.versions.toml — org.jetbrains.kotlin:kotlin-gradle-plugin 2.2.20: GHSA-r937-wjx7-w2jp (moderate), fixed in 2.4.20-Beta1 |
Relicensed: GPL-3.0 → AGPL-3.0 (2023-05-05)
adequateThe 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.
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 signalapp/signal-android: 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.