Borehole · Project · free tier
frappe/crm
Free reading: not for reliance
85af16c · 7,859 commits · 1,136 files
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.

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

  • 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

strong
01.3

Commit messages are templated rather than written

adequate

32% 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.

Evidence
95× 'chore: Persian translations'
87× 'chore: Bosnian translations'
81× 'chore: Swedish translations'
01.6

frontend/src/components/ViewControls.vue is 1,876 lines, 31× this codebase's median file

adequate

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

Evidence
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

strong
02.16

Tests are retried until they pass

adequate

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

Evidence
playwright.config.ts:19 — test retry

Product & Engineering Maturity

adequate
04.19

7% of bug fixes add or change a test

adequate

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

Evidence
149 of 1989
04.62

Releases are cut from another branch than the one surveyed

adequate

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

Evidence
tag v1.89.1

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

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

Evidence
.github/workflows/assets.yml:11 — action pinned by tag
.github/workflows/builds.yml:25 — action pinned by tag
05.26

25 locked dependencies have published vulnerabilities, 33 high or critical

adequate

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

Evidence
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
05.49

The production build publishes source maps

adequate

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

Evidence
frontend/vite.config.js:148 — source maps in a production build
05.8

Manifest says GPL-3.0, licence file says AGPL-3.0

adequate

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

Evidence
package.json:12 — declares GPL-3.0
LICENSE — text of AGPL-3.0
05.65

13 advisories against this project in the last 24 months, 5 high or critical

adequate

The 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, …).

Evidence
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

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

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

Evidence
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
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 1,020 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 3 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/docker-compose.yml:20 — 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 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.