Read 2026-10-23
frappe/helpdesk: technical due diligence, read from its repository
What Borehole read in frappe/helpdesk's code and history at 96dc12b: 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 | strong |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | strong |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
license.txt: Relicensed: GPL-3.0 → AGPL-3.0 (2022-07-22).gitmodules:1: 1 submodule(s) this survey does not read: frappe-ui
Architecture & Codebase — including AI provenance
stronghelpdesk/helpdesk/doctype/hd_ticket/hd_ticket.py is 1,677 lines, 26× this codebase's median file
adequateThe median source file here is 63 lines. 3 files exceed 1,000 lines, the largest being 1,677. 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.
helpdesk/helpdesk/doctype/hd_ticket/hd_ticket.py:1 — 1,677 lines (26× median) |
desk/src/components/desk/global/CustomIcons.vue:1 — 1,536 lines (24× median) |
desk/src/components/ListViewBuilder.vue:1 — 1,111 lines (17× median) |
Engineering Process & SDLC Maturity
strongTests are retried until they pass
adequateThe suite is configured to retry failing tests (playwright.config.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.
playwright.config.ts:13 — test retry |
Product & Engineering Maturity
adequate8% of bug fixes add or change a test
adequateOf 2107 fixes in the last 24 months, 167 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.
| 167 of 2107 |
Releases are cut from another branch than the one surveyed
adequateThe newest release, v1.31.0, is not on the branch this survey read; the newest release on it is v1.8.0. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v1.31.0 |
Security & Reliability Posture
strongThe build runs third-party code it does not pin
adequate6 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. 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.
.github/workflows/assets.yml:10 — action pinned by tag |
.github/workflows/build.yml:24 — action pinned by tag |
47 locked dependencies have published vulnerabilities, 67 high or critical
adequate47 of 1,209 locked dependencies match 145 published advisories in OSV, 67 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.
desk/yarn.lock — dompurify 3.4.8: GHSA-cg2g-xh64-v4q7 (critical), fixed in 3.4.17 |
yarn.lock — shell-quote 1.8.3: GHSA-w7jw-789q-3m8p (critical), fixed in 1.8.4 |
yarn.lock — tinypool 1.1.1: GHSA-5gmw-xhrv-c9v3 (critical), fixed in 2.1.1 |
11 places insert HTML from a variable without sanitising it
adequate11 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.
desk/src/components/ConfirmDialog.vue:8 — HTML from a variable |
desk/src/components/EmailEditor.vue:744 — HTML from a variable |
desk/src/components/EmailEditor.vue:783 — HTML from a variable |
Relicensed: GPL-3.0 → AGPL-3.0 (2022-07-22)
adequateThe root licence changed 1 time(s). The latest terms restrict what users, hosts or a buyer may do in ways the earlier ones did not. Code taken under the old terms stays under them, so both matter in diligence.
license.txt — GPL-3.0 from 2021-10-21 |
LICENSE — AGPL-3.0 from 2022-07-22 |
3 advisories against this project in the last 24 months, 1 high or critical
adequateThe newest was published on 2026-10-19. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 1 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 1.8.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 135 records name helpdesk with nothing tying them to this repository (CVE-2003-0303, CVE-2003-0304, CVE-2004-2562, …).
| 2026-10-19: CVE-2026-111939 (moderate): Frappe Helpdesk before 1.26.0 contains an authorization bypass vulnerability that allows authenticated portal users to create tickets impersonating other custom |
| 2026-09-21: GHSA-xf93-jjcj-44vm (moderate), fixed in 1.26.0: Unauthorised record creation on behalf of other users due to missing validation |
| 2025-12-09: CVE-2025-10655 (high): SQL Injection in Frappe HelpDesk in the dashboard get_dashboard_data due to unsafe concatenation of user-controlled parameters into dynamic SQL statements.This |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 1,022 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.
| searched 1,022 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched |
No 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 1,022 files for 10 structured logging libraries; 0 matched |
One request cannot be followed through the logs
adequateNothing 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.
| no request id, correlation id or tracing found |
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 |
1 of 3 deployed images carry no version, or `latest`
adequate1 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/docker-compose.yml:19 — image without a version |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on frappe/helpdesk: 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.