Borehole · Project · free tier
ether/etherpad
Free reading: not for reliance
993fe09 · 10,325 commits · 1,159 files
Read 2026-10-23

ether/etherpad: technical due diligence, read from its repository

What Borehole read in ether/etherpad's code and history at 993fe09: 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:27: The repository says it is feature-complete, in maintenance mode, or needs maintainers
  • Releases are cut from another branch than the one surveyed
  • AGENTS.MD:266: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

src/static/js/vendors/jquery.ts is 10,714 lines, 127× this codebase's median file

adequate

The median source file here is 84 lines. 10 files exceed 1,000 lines, the largest being 10,714. 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
src/static/js/vendors/jquery.ts:1 — 10,714 lines (127× median)
src/static/js/ace2_inner.ts:1 — 3,860 lines (45× median)
src/node/handler/PadMessageHandler.ts:1 — 1,774 lines (21× median)
src/static/js/Changeset.ts:1 — 1,621 lines (19× median)
src/node/handler/RestAPI.ts:1 — 1,553 lines (18× median)

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (src/tests/frontend-new/specs/line_ops.spec.ts). 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.

Product & Engineering Maturity

adequate
04.5

Effort is shifting from building to rewriting

adequate

Deleted lines per line added rose from 0.57 to 0.82 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.57, second half 0.82 (split 2019-01-08)
04.60

The repository says it is feature-complete, in maintenance mode, or needs maintainers

adequate

Its own README says so on line 27: "We are actively looking for maintainers.** If you have experience with Node.js, real-time systems,". New features are not planned, or the project is asking for maintainers. Ask who will carry it forward.

Evidence
README.md:27 — We are actively looking for maintainers.** If you have experience with Node.js, real-time systems,
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, 3.3.9, is not on the branch this survey read; the newest release on it is 3.3.8. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag 3.3.9

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

15 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 3 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
.github/workflows/backend-tests.yml:42 — action pinned by tag
.github/workflows/backend-tests.yml:53 — action pinned by tag
.github/workflows/deb-package.yml:150 — download piped into a shell
05.21

5 shell commands built from strings

adequate

5 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
bin/make_docs.ts:60 — command run through a shell
bin/make_docs.ts:61 — command run through a shell
bin/plugins/checkPlugin.ts:133 — command run through a shell
05.26

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

adequate

19 of 1,172 locked dependencies match 51 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.

Evidence
pnpm-lock.yaml — seroval 1.5.6: GHSA-p6vx-979v-rg4c (critical), fixed in 1.6.2; reached only by the build
pnpm-lock.yaml — basic-ftp 5.3.1: GHSA-c475-qrg2-pj4r (high), fixed in 6.2.1
pnpm-lock.yaml — engine.io 6.6.9: GHSA-2gc4-cqfq-p2gv (high), fixed in 6.6.10
05.48

11 places insert HTML from a variable without sanitising it

adequate

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

Evidence
src/static/js/broadcast.ts:76 — HTML from a variable
src/static/js/contentcollector.ts:158 — HTML from a variable
src/static/js/domline.ts:237 — HTML from a variable
05.65

12 advisories against this project in the last 24 months, 4 high or critical

adequate

The newest was published on 2026-10-18. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. None of them affects the surveyed version. The record is incomplete: NVD: 3 records name etherpad with nothing tying them to this repository (CVE-2018-9325, CVE-2018-9326, CVE-2018-9327).

Evidence
2026-10-18: GHSA-g9xm-3pqr-wcph (moderate), fixed in 3.3.9: Etherpad plugin-uninstall arbitrary directory deletion (GHSA-92hr-gmr6-h8cp incomplete fix)
2026-10-11: GHSA-38vj-95q4-gwvx (moderate), fixed in 3.3.8: OIDC: a user whose sub matches a configured client_id is treated as client_credentials and gets admin API access
2026-10-05: GHSA-4mx2-rqx5-2pp6 (high), fixed in 3.3.7: Forged tag: class token via a space in a start attribute gives stored XSS in appendSpan
2026-09-21: GHSA-62cj-9j72-mfrh (moderate), fixed in 3.3.6: OIDC interactive login accepts the literal "undefined"/"null" as the password for accounts that have none
2026-09-17: GHSA-6vx2-3gwr-958v (moderate), fixed in 3.3.4: Stored XSS in HTML diff export via unescaped author color values in getHTMLFromAtext

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 994 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

1 of 2 deployed images carry no version, or `latest`

adequate

1 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

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on ether/etherpad: 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.