Borehole · Project · free tier
mattermost-community/focalboard
Free reading: not for reliance
a84bbb6 · 3,646 commits · 1,689 files
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.

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

What the repository says

  • README.md:2: The repository says it is no longer maintained

Architecture & Codebase — including AI provenance

strong
01.6

server/services/store/storetests/blocks.go is 1,350 lines, 18× this codebase's median file

adequate

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

Evidence
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

strong

No finding.

Product & Engineering Maturity

adequate
04.5

Effort is shifting from building to rewriting

adequate

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

Evidence
first half 0.49, second half 3.60 (split 2023-02-09)
04.17

2 pinned runtimes are past end of life

adequate

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

Evidence
docker/Dockerfile — Node.js 16, end of life 2023-09-11
webapp/.nvmrc — Node.js 20, end of life 2026-04-30
04.60

The repository says it is no longer maintained

adequate

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

Evidence
README.md:2 — This repository is currently not maintained. If you're interested in becoming a maintainer please [let

Security & Reliability Posture

adequate
05.1

1 credential-shaped string committed to the tree

adequate

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

Evidence
Google API key pattern matched
05.27

The build runs third-party code it does not pin

adequate

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

Evidence
.github/workflows/dev-release.yml:118 — action pinned by tag
.github/workflows/lint-server.yml:38 — download piped into a shell
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
server/client/client.go:86 — outbound call without a timeout
server/services/webhook/webhook.go:26 — outbound call without a timeout
05.20

2 SQL statements built from strings

adequate

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

Evidence
server/services/store/sqlstore/util.go:88 — SQL built from a string
server/services/store/sqlstore/util.go:94 — SQL built from a string
05.26

25 locked dependencies have published vulnerabilities, 19 high or critical in what ships

adequate

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

Evidence
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)
05.48

10 places insert HTML from a variable without sanitising it

adequate

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

05.49

The production build publishes source maps

adequate

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

Evidence
webapp/webpack.dev.js:11 — source maps in a production build
webapp/webpack.editor.js:14 — source maps in a production build
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
mac/Focalboard/Info.plist:33 — cleartext allowed app-wide
05.65

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

adequate

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

Evidence
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

adequate
06.8

One request cannot be followed through the logs

adequate

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

Evidence
no request id, correlation id or tracing found
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
06.18

3 of 6 deployed images carry no version, or `latest`

adequate

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

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

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