Read 2026-10-23
mattermost-community/focalboard: technical due diligence, read from its repository
What Borehole read in mattermost-community/focalboard's code and history at a84bbb6: 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 | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
README.md:2: The repository says it is no longer maintained
Architecture & Codebase — including AI provenance
strongserver/services/store/storetests/blocks.go is 1,350 lines, 18× this codebase's median file
adequateThe median source file here is 72 lines. 7 files exceed 1,000 lines, the largest being 1,350. 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.
server/services/store/storetests/blocks.go:1 — 1,350 lines (18× median) |
server/services/store/mattermostauthlayer/mattermostauthlayer.go:1 — 1,345 lines (18× median) |
webapp/src/mutator.ts:1 — 1,225 lines (17× median) |
server/services/store/storetests/boards.go:1 — 1,202 lines (16× median) |
server/services/store/sqlstore/blocks.go:1 — 1,101 lines (15× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequateEffort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.49 to 3.60 between the first and second halves of this history. Rework is normal and often healthy, but a rising ratio means an increasing share of the team's time is spent replacing code that already exists rather than building what does not. Whether that is deliberate repayment or churn is a question for the team.
| first half 0.49, second half 3.60 (split 2023-02-09) |
2 pinned runtimes are past end of life
adequateThe code is pinned to Node.js 16 (end of life 2023-09-11); Node.js 20 (end of life 2026-04-30). None of these receives security fixes any more; the first stopped on 2023-09-11. Moving off an unsupported runtime is rarely a one-line change, so a buyer should ask whether the upgrade is planned and what it touches.
docker/Dockerfile — Node.js 16, end of life 2023-09-11 |
webapp/.nvmrc — Node.js 20, end of life 2026-04-30 |
The repository says it is no longer maintained
adequateIts own README says so on line 2: "This repository is currently not maintained. If you're interested in becoming a maintainer please [let". Everything else in this report describes code its maintainers have said they will not carry forward. A buyer inherits the maintenance.
README.md:2 — This repository is currently not maintained. If you're interested in becoming a maintainer please [let |
Security & Reliability Posture
adequate1 credential-shaped string 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.
| Google API key pattern matched |
The build runs third-party code it does not pin
adequate1 third-party CI action is referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 1 step pipes a download straight into a shell. 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.
.github/workflows/dev-release.yml:118 — action pinned by tag |
.github/workflows/lint-server.yml:38 — download piped into a shell |
2 outbound calls can wait forever
adequate2 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.
server/client/client.go:86 — outbound call without a timeout |
server/services/webhook/webhook.go:26 — outbound call without a timeout |
2 SQL statements built from strings
adequate2 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.
server/services/store/sqlstore/util.go:88 — SQL built from a string |
server/services/store/sqlstore/util.go:94 — SQL built from a string |
25 locked dependencies have published vulnerabilities, 19 high or critical in what ships
adequate25 of 532 locked dependencies match 123 published advisories in OSV, 29 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.
server/go.mod — github.com/mattermost/mattermost/server/v8 v8.0.0-20240529104128-9d30a62c9471: GHSA-3x39-62h4-f8j6 (critical); pinned to a commit or a branch, so whether it has the fix needs the dependency's own source |
server/go.mod — golang.org/x/crypto v0.23.0: GHSA-5cgq-3rg8-m6cv (critical), fixed in 0.52.0 |
webapp/package-lock.json — decompress 4.2.1: GHSA-hrh2-vp3x-79xf (critical) |
10 places insert HTML from a variable without sanitising it
adequate10 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.
webapp/src/components/blocksEditor/blocks/checkbox/index.tsx:39 — HTML from a variable |
webapp/src/components/blocksEditor/blocks/h1/index.tsx:22 — HTML from a variable |
webapp/src/components/blocksEditor/blocks/h2/index.tsx:22 — HTML from a variable |
The production build publishes source maps
adequateThe build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.
webapp/webpack.dev.js:11 — source maps in a production build |
webapp/webpack.editor.js:14 — source maps in a production build |
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.
mac/Focalboard/Info.plist:33 — cleartext allowed app-wide |
2 advisories against this project in the last 24 months, 1 high or critical
adequateThe newest was published on 2026-04-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.
| 2026-04-03: CVE-2026-25773 (high): ** UNSUPPORTED WHEN ASSIGNED ** Focalboard version 8.0 fails to sanitize category IDs before incorporating them into dynamic SQL statements when reordering cate |
| 2026-04-03: CVE-2026-28736 (moderate): ** UNSUPPORTED WHEN ASSIGNED ** Focalboard version 8.0 fails to validate file ownership when serving uploaded files. This allows an authenticated attacker who k |
Observability & Operations
adequateOne request cannot be followed through the logs
adequateNothing 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.
| no request id, correlation id or tracing found |
No error reporter is wired in
adequateNothing 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.
| no error reporter initialised |
3 of 6 deployed images carry no version, or `latest`
adequate3 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.
docker-testing/docker-compose-postgres.yml:19 — image without a version |
docker/docker-compose-db-nginx.yml:26 — image without a version |
docker/docker-compose-db-nginx.yml:37 — image without a version |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on mattermost-community/focalboard: 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.