Borehole · Project · free tier
forwardemail/forwardemail.net
Free reading: not for reliance
bed3db6 · 5,157 commits · 3,547 files
Read 2026-11-03

forwardemail/forwardemail.net: technical due diligence, read from its repository

What Borehole read in forwardemail/forwardemail.net's code and history at bed3db6: 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 Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • LICENSE: Relicensed: BUSL-1.1 → MPL-2.0 (2023-10-14)

Architecture & Codebase — including AI provenance

strong
01.6

caldav-server.js is 4,543 lines, 30× this codebase's median file

adequate

The median source file here is 147 lines. 25 files exceed 1,470 lines, the largest being 4,543. 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
caldav-server.js:1 — 4,543 lines (30× median)
config/alternatives.js:1 — 4,028 lines (27× median)
app/models/domains.js:1 — 3,745 lines (25× median)
helpers/get-domain-categorization.js:1 — 3,545 lines (24× median)
helpers/parse-payload.js:1 — 3,362 lines (22× median)

Engineering Process & SDLC Maturity

adequate
02.1

Little of the recent change carries a trace of review

adequate

In the last 24 months, 104 of 2,273 commits (4.6%) carry any trace of review: a merge, a pull-request reference, a Reviewed-by or Reviewed-on trailer, a Closes/Fixes reference, a maintainer's sign-off on someone else's change, or a change applied by someone other than its author. That is low but not absent. Review may happen in a workflow this history does not record; a buyer should ask how change is approved before it ships.

Evidence
104 of 2,273 commits in the last 24 months carry review evidence; 4.7% across all 5,157
02.6

Almost no process scaffolding exists in the repository

adequate

Of five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.

Evidence
1 of 5 markers present across 3,547 tracked files
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (test/helpers/read-limited-body.js). 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.

Evidence
test/helpers/read-limited-body.js:57 — test retry
02.24

6% of recent commits change more than 2,000 lines

adequate

126 of 2028 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.

Evidence
126 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.3

288 direct dependencies in a single manifest

adequate

package.json declares 288 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.

Evidence
package.json — 288 declared
04.17

Node.js 18 is past end of life

adequate

The code is pinned to Node.js 18 (end of life 2025-04-30). None of these receives security fixes any more; the first stopped on 2025-04-30. 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
.node-version — Node.js 18, end of life 2025-04-30

Security & Reliability Posture

adequate
05.25

1 environment file is committed

adequate

.env.schema is tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.

Evidence
.env.schema — committed environment file
05.27

The build runs third-party code it does not pin

adequate

2 steps pipe 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
ansible/playbooks/files/portscan-protection.sh:293 — download piped into a shell
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
helpers/compact-database-thread.js:27 — SQL built from a string
helpers/compact-database.js:239 — SQL built from a string
05.21

3 shell commands built from strings

adequate

3 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
ansible-playbook.js:38 — command run through a shell
config/utilities.js:791 — command run through a shell
config/utilities.js:800 — command run through a shell
05.26

28 locked dependencies have published vulnerabilities, 15 high or critical in what ships

adequate

28 of 4,166 locked dependencies match 50 published advisories in OSV, 16 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.

Evidence
pnpm-lock.yaml — extract-zip 2.0.1: GHSA-7pqw-9j4j-h8q3 (high)
pnpm-lock.yaml — ip 1.1.9: GHSA-2p57-rm9w-gvfp (high)
pnpm-lock.yaml — ip 2.0.1: GHSA-2p57-rm9w-gvfp (high)
05.45

16 workload settings give a container the host

adequate

16 places in the deployment configuration run a container privileged or in the host's network, process or IPC namespace. A compromise of that container is a compromise of the machine, and most acquirers' security reviews block it. Node agents (network, storage, monitoring) are excluded.

Evidence
self-hosting/docker-compose-self-hosted.yml:5 — privileged or host namespace
self-hosting/docker-compose-self-hosted.yml:12 — privileged or host namespace
self-hosting/docker-compose-self-hosted.yml:43 — privileged or host namespace
05.60

Relicensed: BUSL-1.1 → MPL-2.0 (2023-10-14)

adequate

The root licence changed 1 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.

Evidence
LICENSE — BUSL-1.1 from 2020-01-10
LICENSE — MPL-2.0 from 2023-10-14

Observability & Operations

adequate
06.2

No structured logging library is in use

adequate

Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.

Evidence
searched 2,604 files for 10 structured logging libraries; 0 matched
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

4 of 7 deployed images carry no version, or `latest`

adequate

4 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-compose.yml:4 — image without a version
self-hosting/docker-compose-self-hosted.yml:355 — image without a version
self-hosting/docker-compose-self-hosted.yml:192 — image without a version
06.17

The code branches on the environment's name at 29 places

adequate

29 places outside configuration test whether they are running in production or staging. Staging then does not exercise production's code, and each deploy is the first run of those branches. Differences belong in configuration the code reads, not in the code.

Evidence
app/controllers/web/admin/logs.js:41 — branch on the environment name
app/controllers/web/index.js:417 — branch on the environment name
app/controllers/web/ips.js:15 — branch on the environment name

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on forwardemail/forwardemail.net: 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.