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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE: Relicensed: BUSL-1.1 → MPL-2.0 (2023-10-14)
Architecture & Codebase — including AI provenance
strongcaldav-server.js is 4,543 lines, 30× this codebase's median file
adequateThe 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.
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
adequateLittle of the recent change carries a trace of review
adequateIn 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.
| 104 of 2,273 commits in the last 24 months carry review evidence; 4.7% across all 5,157 |
Almost no process scaffolding exists in the repository
adequateOf 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.
| 1 of 5 markers present across 3,547 tracked files |
Tests are retried until they pass
adequateThe 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.
test/helpers/read-limited-body.js:57 — test retry |
6% of recent commits change more than 2,000 lines
adequate126 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.
| 126 commits over 2,000 lines |
Product & Engineering Maturity
adequate288 direct dependencies in a single manifest
adequatepackage.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.
package.json — 288 declared |
Node.js 18 is past end of life
adequateThe 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.
.node-version — Node.js 18, end of life 2025-04-30 |
Security & Reliability Posture
adequate1 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.
.env.schema — committed environment file |
The build runs third-party code it does not pin
adequate2 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.
ansible/playbooks/files/portscan-protection.sh:293 — download piped into a shell |
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.
helpers/compact-database-thread.js:27 — SQL built from a string |
helpers/compact-database.js:239 — SQL built from a string |
3 shell commands built from strings
adequate3 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.
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 |
28 locked dependencies have published vulnerabilities, 15 high or critical in what ships
adequate28 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.
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) |
16 workload settings give a container the host
adequate16 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.
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 |
Observability & Operations
adequateNo structured logging library is in use
adequateNothing 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.
| searched 2,604 files for 10 structured logging libraries; 0 matched |
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 |
4 of 7 deployed images carry no version, or `latest`
adequate4 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-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 |
The code branches on the environment's name at 29 places
adequate29 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.
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 assessableNot 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.