Read 2026-10-23
frappe/crm: technical due diligence, read from its repository
What Borehole read in frappe/crm's code and history at 85af16c: 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 | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
.gitmodules:1: 1 submodule(s) this survey does not read: frappe-ui
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate32% of commit subjects are exact repeats of another subject, and subject length varies by only 18.2 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.
| 95× 'chore: Persian translations' |
| 87× 'chore: Bosnian translations' |
| 81× 'chore: Swedish translations' |
frontend/src/components/ViewControls.vue is 1,876 lines, 31× this codebase's median file
adequateThe median source file here is 59 lines. 5 files exceed 1,000 lines, the largest being 1,876. 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.
frontend/src/components/ViewControls.vue:1 — 1,876 lines (31× median) |
frontend/src/components/Settings/Forms/FormBuilderPanel.vue:1 — 1,566 lines (26× median) |
crm/api/dashboard.py:1 — 1,326 lines (22× median) |
frontend/src/pages/Deal.vue:1 — 1,066 lines (18× median) |
frontend/src/components/Activities/Activities.vue:1 — 1,025 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:19 — test retry |
Product & Engineering Maturity
adequate7% of bug fixes add or change a test
adequateOf 1989 fixes in the last 24 months, 149 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.
| 149 of 1989 |
Releases are cut from another branch than the one surveyed
adequateThe newest release, v1.89.1, is not on the branch this survey read. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v1.89.1 |
Security & Reliability Posture
adequateThe 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:11 — action pinned by tag |
.github/workflows/builds.yml:25 — action pinned by tag |
25 locked dependencies have published vulnerabilities, 33 high or critical
adequate25 of 829 locked dependencies match 69 published advisories in OSV, 33 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.
frontend/yarn.lock — @babel/plugin-transform-modules-systemjs 7.29.0: GHSA-fv7c-fp4j-7gwp (high), fixed in 7.29.4 |
frontend/yarn.lock — @tiptap/core 3.27.0: GHSA-j95f-988m-3j2f (high), fixed in 3.30.5 |
frontend/yarn.lock — @vue/server-renderer 3.5.32: GHSA-g2v6-rqmx-r4w6 (high), fixed in 3.5.42 |
The production build publishes source maps
adequateThe build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.
frontend/vite.config.js:148 — source maps in a production build |
Manifest says GPL-3.0, licence file says AGPL-3.0
adequatepackage.json declares GPL-3.0. LICENSE contains the text of AGPL-3.0. Package managers and downstream users read the first; auditors and acquirers read the second. One of them is wrong, and until it is settled the terms this code is offered under are genuinely ambiguous.
package.json:12 — declares GPL-3.0 |
LICENSE — text of AGPL-3.0 |
13 advisories against this project in the last 24 months, 5 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 11 of them are fixed in the code you ship could not be told from this history. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 836 records name crm with nothing tying them to this repository (CVE-2004-0204, CVE-2005-3818, CVE-2005-3819, …).
| 2026-10-19: CVE-2026-111937 (moderate): Frappe CRM before 1.81.2 contains a missing authorization vulnerability that allows authenticated Sales Users to access other users' CRM Notification records du |
| 2026-10-19: CVE-2026-111938 (moderate): Frappe CRM before 1.74.0 contains a missing authorization vulnerability that allows authenticated Sales Users to modify other users' call logs by supplying arbi |
| 2026-10-11: CVE-2026-108734 (moderate): Frappe CRM 1.49.0 through 1.87.0 contains a missing authorization vulnerability in crm.api.doc.get_linked_docs_of_document that allows authenticated users to re |
| 2026-09-24: GHSA-5wcf-p378-fmwr (moderate): Unauthorised disclosure of personal information due to missing validation |
| 2026-09-08: GHSA-4rjw-6mxx-m345 (moderate), fixed in 1.81.2: Unauthorised access to data due to missing validation |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 1,020 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,020 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,020 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 |
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:20 — 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/crm: 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.