Etherpad: A modern really-real-time collaborative document editor.
This report summarizes scanner evidence for ether/etherpad, a TypeScript project with 18,613 GitHub stars. SynthScan examined 200,835 lines of code across 1025 source files, recording 186 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 1.3 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 166 finding(s).
Are imports declared and package/API names verified? 13 finding(s).
Are wrappers, guards, and repeated structures necessary? 10 finding(s).
Which changes need focused human review? 186 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 186 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/nfpm.yaml | 121 | # adduser is needed by preinst (which creates the etherpad user before | COMMENT |
| LOW | packaging/apt/generate-signing-key.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/installer.sh | 1 | #!/bin/sh | COMMENT |
| LOW | bin/safeRun.sh | 1 | #!/bin/sh | COMMENT |
| LOW | bin/run-frontend-tests-with-disables.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | bin/run-frontend-tests-with-disables.sh | 21 | # right to skip. | COMMENT |
| LOW | bin/tsconfig.json | 1 | { | COMMENT |
| LOW | bin/tsconfig.json | 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory func | COMMENT |
| LOW | bin/tsconfig.json | 41 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defau | COMMENT |
| LOW | bin/tsconfig.json | 61 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project | COMMENT |
| LOW | bin/tsconfig.json | 81 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlate | COMMENT |
| LOW | bin/setup-trusted-publishers.sh | 1 | #!/bin/sh | COMMENT |
| LOW | bin/setup-trusted-publishers.sh | 21 | # package call inside the same minute. The TOTP code typically expires | COMMENT |
| LOW | bin/plugins/lib/npmpublish.yml | 61 | git config user.email '41898282+github-actions[bot]@users.noreply.github.com' | COMMENT |
| LOW | bin/plugins/lib/npmpublish.yml | 81 | - | COMMENT |
| LOW | admin/src/vite-env.d.ts | 1 | /// <reference types="vite/client" /> | COMMENT |
| LOW | admin/src/components/settings/comments.ts | 1 | // admin/src/components/settings/comments.ts | COMMENT |
| LOW | admin/src/api/client.ts | 1 | // admin/src/api/client.ts | COMMENT |
| LOW | .github/workflows/load-test.yml | 101 | # Etherpad core dependencies must be installed after installing the | COMMENT |
| LOW | .github/workflows/snap-build.yml | 1 | # Snap build verification — runs on every PR (and on develop) that | COMMENT |
| LOW | .github/workflows/deb-package.yml | 321 | - name: Attach .deb files to release | COMMENT |
| LOW | .github/workflows/frontend-tests.yml | 201 | # ep_cursortrace's `aceEditEvent` hook fires on every keyboard | COMMENT |
| LOW | .github/workflows/releaseEtherpad.yml | 1 | # PARKED — npm publish of the core package is not part of the standard release. | COMMENT |
| LOW | .github/workflows/snap-publish.yml | 1 | # Builds and publishes the Etherpad snap on tagged releases. | COMMENT |
| LOW | snap/snapcraft.yaml | 1 | # snap/snapcraft.yaml — Snap recipe for Etherpad | COMMENT |
| LOW | snap/tests/test-service-bootstrap.sh | 1 | #!/bin/bash | COMMENT |
| LOW | src/playwright.config.ts | 81 | COMMENT | |
| LOW | src/tests/frontend/specs/responsiveness.js | 1 | 'use strict'; | COMMENT |
| LOW | src/tests/backend/specs/messages.ts | 241 | }); | COMMENT |
| LOW | src/tests/backend/specs/appendRevisionAtomicity.ts | 1 | 'use strict'; | COMMENT |
| LOW | src/tests/backend/specs/clientvar_rev_consistency.ts | 81 | // Reproduces the original "mismatched apply" race condition: | COMMENT |
| LOW | src/tests/backend/specs/setup-trusted-publishers.ts | 1 | 'use strict'; | COMMENT |
| LOW | src/tests/backend/specs/cleanupNoDestructiveWindow.ts | 1 | 'use strict'; | COMMENT |
| LOW | src/tests/backend/specs/dockerfilePnpmPin.ts | 1 | 'use strict'; | COMMENT |
| LOW | src/tests/backend/specs/npmpublish-workflow.ts | 1 | 'use strict'; | COMMENT |
| LOW | …/tests/backend/specs/copyPadWithoutHistoryIntegrity.ts | 1 | 'use strict'; | COMMENT |
| LOW | src/tests/backend/specs/cleanupHoleSafety.ts | 1 | 'use strict'; | COMMENT |
| LOW | src/tests/backend/specs/admin/anonymizeAuthorSocket.ts | 61 | socket.emit(evt, payload); | COMMENT |
| LOW | src/tests/backend/specs/admin/padLoadResilience.ts | 1 | 'use strict'; | COMMENT |
| LOW | src/tests/backend/specs/api/pad.ts | 661 | // Regression test for https://github.com/ether/etherpad-lite/issues/5296 | COMMENT |
| LOW | src/tests/container/specs/api/adminSettings_7819.ts | 101 | after(function () { | COMMENT |
| LOW | src/tests/downstream/run-clients.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | src/tests/frontend-new/admin-spec/admini18n.spec.ts | 1 | import {expect, test, Page} from "@playwright/test"; | COMMENT |
| LOW | …/frontend-new/specs/html10n_form_controls_aria.spec.ts | 61 | COMMENT | |
| LOW | …tests/frontend-new/specs/scroll_caret_viewport.spec.ts | 181 | // Firefox applies its own scroll-into-view for the clicked line before | COMMENT |
| LOW | …/tests/frontend-new/specs/rtl_pad_wide_enforce.spec.ts | 1 | import {expect, test} from "@playwright/test"; | COMMENT |
| LOW | src/tests/frontend-new/specs/collab_client.spec.ts | 41 | // insertText (single input event) instead of per-key keyboard.type | COMMENT |
| LOW | src/tests/frontend-new/specs/enter.spec.ts | 61 | COMMENT | |
| LOW | src/tests/frontend-new/specs/undo_redo_scroll.spec.ts | 1 | import {expect, test} from "@playwright/test"; | COMMENT |
| LOW | src/tests/frontend-new/specs/undo_redo_scroll.spec.ts | 21 | // WITH_PLUGINS load — even with the per-Enter value-wait that | COMMENT |
| LOW | …ckend-new/specs/backend-tests-flake-mitigation.test.ts | 1 | 'use strict'; | COMMENT |
| LOW | src/static/js/skin_variants.ts | 1 | // @ts-nocheck | COMMENT |
| LOW | src/static/js/pad_mode.ts | 1 | // Copyright 2026 Etherpad contributors | COMMENT |
| LOW | src/static/js/contentcollector.ts | 81 | str.replace(/(\n | \n)/g, ' ') | COMMENT |
| LOW | src/static/js/contentcollector.ts | 261 | if (!count) continue; | COMMENT |
| LOW | src/static/js/pad.ts | 821 | // Skip link (a11y, ether/etherpad#7255): href="#editorcontainer" gives | COMMENT |
| LOW | src/static/js/pad.ts | 921 | $('#options-chatandusers').parent().hide(); | COMMENT |
| LOW | src/static/js/ace2_inner.ts | 2541 | // Known limitation: performDocumentReplaceRange assigns only the current | COMMENT |
| LOW | src/static/js/ace2_inner.ts | 3121 | if (selectionInfo) { | COMMENT |
| LOW | src/static/js/ace2_inner.ts | 3401 | COMMENT | |
| 65 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packaging/nfpm.yaml | 47 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packaging/nfpm.yaml | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/node/hooks/express/adminsettings.ts | 172 | // ── 1. Pattern filter (cheap, by name only) ───────────────────── | COMMENT |
| MEDIUM | src/node/hooks/express/adminsettings.ts | 179 | // ── 2. Resolve filter chip ────────────────────────────────────── | COMMENT |
| MEDIUM | src/node/hooks/express/adminsettings.ts | 228 | // ── 4. Filter chip — applied to hydrated metadata ──────────────── | COMMENT |
| MEDIUM | src/node/hooks/express/adminsettings.ts | 256 | // ── 6. Clamp offset/limit ────────────────────────────────────── | COMMENT |
| MEDIUM | src/node/hooks/express/adminsettings.ts | 269 | // ── 7. Sort + slice ──────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 132 | // Step 1: Connect User A | COMMENT |
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 137 | // Step 2: User A types "hello" with their author attribute | COMMENT |
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 146 | // Step 3: Connect User B (after User A's text is committed) | COMMENT |
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 151 | // Step 4: User B types " world" with their author attribute | COMMENT |
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 168 | // Step 5: User B clears authorship colors (sets author to '' on all text) | COMMENT |
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 177 | // Step 6: User B undoes the clear authorship | COMMENT |
| LOW | src/static/js/MergingOpAssembler.ts | 15 | // This variable stores the length of yyy and any other newline-less | COMMENT |
| LOW | src/node/hooks/express/webaccess.ts | 86 | // Step 1: Check the preAuthorize hook for early permit/deny (permit is only allowed for non-admin | COMMENT |
| LOW | src/node/hooks/express/webaccess.ts | 155 | // Step 2: Try to just access the thing. If access fails (perhaps authentication has not yet | COMMENT |
| LOW | src/node/hooks/express/webaccess.ts | 168 | // Step 3: Authenticate the user. (Or, if already logged in, reauthenticate with different | COMMENT |
| LOW | src/node/hooks/express/webaccess.ts | 260 | // Step 4: Try to access the thing again. If this fails, give the user a 403 error. Plugins can | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/static/js/ace2_inner.ts | 3642 | return Number(editorInfo.frame.parentNode.style.height.replace(/[^0-9]/g, '') || 0); | CODE |
| CRITICAL | src/static/js/vendors/jquery.ts | 7976 | jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 132 | // Step 1: Connect User A | COMMENT |
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 137 | // Step 2: User A types "hello" with their author attribute | COMMENT |
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 146 | // Step 3: Connect User B (after User A's text is committed) | COMMENT |
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 151 | // Step 4: User B types " world" with their author attribute | COMMENT |
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 168 | // Step 5: User B clears authorship colors (sets author to '' on all text) | COMMENT |
| LOW⚡ | src/tests/backend/specs/undo_clear_authorship.ts | 177 | // Step 6: User B undoes the clear authorship | COMMENT |
| LOW | src/node/hooks/express/webaccess.ts | 86 | // Step 1: Check the preAuthorize hook for early permit/deny (permit is only allowed for non-admin | COMMENT |
| LOW | src/node/hooks/express/webaccess.ts | 155 | // Step 2: Try to just access the thing. If access fails (perhaps authentication has not yet | COMMENT |
| LOW | src/node/hooks/express/webaccess.ts | 168 | // Step 3: Authenticate the user. (Or, if already logged in, reauthenticate with different | COMMENT |
| LOW | src/node/hooks/express/webaccess.ts | 260 | // Step 4: Try to access the thing again. If this fails, give the user a 403 error. Plugins can | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/downstream-smoke.yml | 5 | # Phase 1 lands the boot/healthcheck/self-check/teardown harness + manifest; the | COMMENT |
| MEDIUM | .github/workflows/frontend-tests.yml | 204 | # harness's `writeToPad` bursts (insertText + Enter loops) that | COMMENT |
| MEDIUM | src/tests/frontend-new/specs/language.spec.ts | 13 | // .nice-select` is robust to plugins (ep_headings2, ep_font_size, etc.) | COMMENT |
| MEDIUM | src/static/js/vendors/jquery.ts | 10666 | // understands anonymous AMD modules. A named AMD is safest and most robust | COMMENT |
| MEDIUM | src/node/prometheus.ts | 26 | // Added for the #7756 scaling dive: lets the load-test harness attribute | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …rpowers/plans/2026-04-18-gdpr-pr1-deletion-controls.md | 42 | ## Task 1: Baseline and verify the restored scaffolding | COMMENT |
| MEDIUM | …rpowers/plans/2026-05-09-admin-settings-parsed-view.md | 47 | ## Task 1: Add `jsonc-parser` dependency and scaffold the directory | COMMENT |
| MEDIUM | …cs/2026-06-09-downstream-client-compat-tests-design.md | 81 | ## Layer B — Downstream smoke (Phase 1 scaffold, Phase 2 per client) | COMMENT |
| MEDIUM | …ests/frontend-new/specs/pagedown_wrapped_lines.spec.ts | 37 | // via its normal input path (the raw innerHTML edit above is just a scaffold). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …superpowers/plans/2026-04-25-auto-update-pr1-notify.md | 995 | adminEmail: 'admin@example.com', | CODE |
| LOW | src/tests/backend/specs/export_list.ts | 17 | const pad = await padManager.getPad(padId, 'placeholder'); | CODE |
| LOW | src/tests/backend/specs/export_list.ts | 39 | const pad = await padManager.getPad(padId, 'placeholder'); | CODE |
| LOW | src/tests/backend/specs/export_list.ts | 64 | const pad = await padManager.getPad(padId, 'placeholder'); | CODE |
| LOW | src/tests/backend/specs/export_list.ts | 88 | const pad = await padManager.getPad(padId, 'placeholder'); | CODE |
| LOW | src/tests/backend/specs/export_list.ts | 111 | const pad = await padManager.getPad(padId, 'placeholder'); | CODE |
| LOW | src/tests/backend-new/specs/updater/Notifier.test.ts | 6 | adminEmail: 'admin@example.com', | CODE |
| LOW | src/static/js/pad_userlist.ts | 617 | $('#myusernameedit').attr('placeholder', html10n.get('pad.userlist.entername')); | CODE |
| LOW | src/static/js/vendors/html10n.ts | 652 | , "placeholder": 1 | CODE |
| LOW | src/static/skins/no-skin/index.js | 12 | .setAttribute('placeholder', divHoldingPlaceHolderLabel.textContent); | CODE |
| LOW | src/static/skins/colibris/index.js | 26 | .setAttribute('placeholder', divHoldingPlaceHolderLabel.textContent); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/installer.sh | 5 | # Usage: | COMMENT |
| LOW | bin/run-frontend-tests-with-disables.sh | 28 | # Usage: | COMMENT |
| LOW | bin/setup-trusted-publishers.sh | 12 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/safeRun.sh | 30 | # Check if a logfile parameter is set | COMMENT |
| LOW | bin/safeRun.sh | 39 | # Check if the file is writeable | COMMENT |
| LOW | bin/push-after-release.sh | 7 | # Check if the file exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bin/run.sh | 33 | ## Create the admin ui | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/static/js/vendors/jquery.ts | 8879 | function addToPrefiltersOrTransports( structure ) { | CODE |
| LOW | src/static/js/vendors/jquery.ts | 8913 | function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { | CODE |
| LOW | src/node/handler/PadMessageHandler.ts | 113 | function getActivePadCountFromSessionInfos() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/static/js/vendors/jquery.ts | 4140 | function getData( data ) { | CODE |