Read 2026-10-23
1panel-dev/cordyscrm: technical due diligence, read from its repository
What Borehole read in 1panel-dev/cordyscrm's code and history at 7c9980d: 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 | adequate |
| 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
LICENSE:1: The licence is GPL-3.0 with additional termsLICENSE: Relicensed: GPL-3.0 → GPL-3.0 with additional terms (2025-08-25)
Architecture & Codebase — including AI provenance
adequatefrontend/packages/web/src/components/business/crm-city-select/config.ts is 9,141 lines, 194× this codebase's median file
adequateThe median source file here is 47 lines. 29 files exceed 1,000 lines, the largest being 9,141. 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/packages/web/src/components/business/crm-city-select/config.ts:1 — 9,141 lines (194× median) |
backend/crm/src/main/java/cn/cordys/crm/system/service/ModuleFormService.java:1 — 3,487 lines (74× median) |
frontend/packages/web/src/components/business/crm-form-design/components/formAttrConfig/fieldAttr.vue:1 — 2,648 lines (56× median) |
backend/crm/src/main/java/cn/cordys/crm/approval/service/ApprovalFlowService.java:1 — 2,581 lines (54× median) |
backend/crm/src/main/java/cn/cordys/crm/clue/service/ClueService.java:1 — 2,047 lines (43× median) |
1 base image floats: no version, or `latest`
adequate1 of 4 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest.
installer/Dockerfile:24 — base image without a version |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequate6% of bug fixes add or change a test
adequateOf 2982 fixes in the last 24 months, 189 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.
| 189 of 2982 |
Fixes are 60% of recent work, up from 38%
adequateIn the last two quarters 60% of commits were fixes, against 38% in the quarters before. Rising fix work usually means quality debt is coming due, and it takes time that new work would have had.
| 62%, 59%, 63%, 47%, 45%, 56%, 15%, 2% |
Releases are cut from another branch than the one surveyed
adequateThe newest release, v1.9.5, is not on the branch this survey read; the newest release on it is v1.9.4. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v1.9.5 |
Security & Reliability Posture
adequate143 dependencies float, and no lockfile is committed
adequateDependency versions are declared as ranges and no lockfile is committed, so a build today does not necessarily produce what a build last month produced. That matters twice over in a transaction: the thing being bought cannot be reproduced exactly, and a compromised upstream release arrives without anyone choosing to take it.
frontend/package.json:21 — ^22.10.2 |
frontend/package.json:22 — ^6.0.0 |
frontend/package.json:23 — ^10.11.0 |
frontend/package.json:24 — ^1.7.2 |
frontend/package.json:25 — ^4.0.2 |
1 Dockerfile runs the application as root
adequateNo USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.
installer/Dockerfile — runs as root |
2 environment files are committed
adequatefrontend/packages/mobile/.env.production, frontend/packages/web/.env.production are tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.
frontend/packages/mobile/.env.production — committed environment file |
frontend/packages/web/.env.production — committed environment file |
The build runs third-party code it does not pin
adequate8 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/add-labels-for-pr.yml:35 — action pinned by tag |
.github/workflows/build-and-push-base.yml:40 — action pinned by tag |
1 deserialiser that can run code
adequate1 places read data with a deserialiser that executes what it reads (Java object streams). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
backend/framework/src/main/java/cn/cordys/mybatis/lambda/SerializedLambda.java:43 — code-executing deserialiser |
38 places insert HTML from a variable without sanitising it
adequate38 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.
frontend/packages/lib-shared/method/exportPdf.ts:31 — HTML from a variable |
frontend/packages/lib-shared/method/scriptLoader.ts:43 — HTML from a variable |
frontend/packages/mobile/src/assets/icon-font/iconfont.js:28 — HTML from a variable |
The licence is GPL-3.0 with additional terms
adequateLICENSE grants GPL-3.0 with additional terms: open source; distributing a combined work can oblige publishing its source. The reading comes from the licence's own title and clauses. Whether the terms fit the buyer's intended use, and whether any paid licence transfers with the code, is a question for counsel and the licensor.
LICENSE:1 — 18 lines, GPL-3.0 AND LicenseRef-Terms-Additional |
Relicensed: GPL-3.0 → GPL-3.0 with additional terms (2025-08-25)
adequateThe root licence changed 1 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
18 advisories against this project in the last 24 months, 2 high or critical
adequateThe newest was published on 2026-10-11. 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 9 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.9.4. Answer lives in: the release you run, set against each fixed version.
| 2026-10-11: CVE-2026-108692 (high): 1Panel-dev CordysCRM from 1.9.0 before 1.9.2 contains a missing authorization vulnerability in eight ModuleFieldController /field/source data-source endpoints l |
| 2026-10-11: CVE-2026-108700 (high): 1Panel-dev CordysCRM before 1.9.2 contains a missing authorization vulnerability that allows authenticated users to list business titles by calling POST /field/ |
| 2026-10-11: CVE-2026-108701 (moderate): 1Panel-dev CordysCRM before 1.9.2 contains a missing authorization vulnerability in the ContractController sortModule handler for POST /contract/sort, which lac |
| 2026-10-11: CVE-2026-108702 (moderate): 1Panel-dev CordysCRM through 1.9.3 lacks a PROCESS_SETTING permission check on POST /approval-flow/webhook/test, allowing any authenticated user to trigger serv |
| 2026-10-11: CVE-2026-108703 (moderate): CordysCRM through 1.9.3 contains a missing authorization vulnerability in POST /approval-resource/push that allows authenticated users to submit any resource fo |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 3,109 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 3,109 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 3,109 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 |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on 1panel-dev/cordyscrm: 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.