Read 2026-10-04
calcom/cal.com: technical due diligence, read from its repository
What Borehole read in calcom/cal.com's code and history at 54343aa: 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 | strong |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE: Relicensed: MIT → AGPL-3.0 (2021-09-20) → MIT (2026-04-15)
Architecture & Codebase — including AI provenance
strongpackages/features/watchlist/lib/freeEmailDomainCheck/freeEmailDomains.ts is 4,769 lines, 128× this codebase's median file
adequateThe median source file here is 37 lines. 26 files exceed 1,000 lines, the largest being 4,769. 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.
packages/features/watchlist/lib/freeEmailDomainCheck/freeEmailDomains.ts:1 — 4,769 lines (128× median) |
apps/api/v2/src/platform/event-types/event-types_2024_06_14/controllers/event-types.controller.e2e-spec.ts:1 — 3,193 lines (86× median) |
packages/features/bookings/lib/service/RegularBookingService.ts:1 — 2,691 lines (72× median) |
packages/features/bookings/repositories/BookingRepository.ts:1 — 2,174 lines (58× median) |
packages/app-store/salesforce/lib/CrmService.ts:1 — 1,957 lines (52× median) |
Engineering Process & SDLC Maturity
strongTests are retried until they pass
adequateThe suite is configured to retry failing tests (packages/platform/examples/base/playwright.config.ts); 1 test is individually marked to retry. 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.
packages/platform/examples/base/playwright.config.ts:16 — test retry |
apps/api/v2/test/jest.setup-e2e.ts:1 — test retry |
Product & Engineering Maturity
adequate117 direct dependencies in a single manifest
adequateapps/web/package.json declares 117 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.
apps/web/package.json — 117 declared |
apps/api/v2/package.json — 48 declared |
packages/ui/package.json — 38 declared |
packages/features/package.json — 25 declared |
Node.js 20 is past end of life
adequateThe code is pinned to Node.js 20 (end of life 2026-04-30). None of these receives security fixes any more; the first stopped on 2026-04-30. Moving off an unsupported runtime is rarely a one-line change, so a buyer should ask whether the upgrade is planned and what it touches.
Dockerfile — Node.js 20, end of life 2026-04-30 |
Fixes are 70% of recent work, up from 46%
adequateIn the last two quarters 70% of commits were fixes, against 46% in the quarters before. Rising fix work usually means quality debt is coming due, and it takes time that new work would have had.
| 72%, 67%, 44%, 46%, 45%, 46%, 48%, 44% |
8 files still carry code deprecated more than two years ago
adequate8 files were marked deprecated over two years ago and still are, the oldest since Mar 2022. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
packages/lib/constants.ts — deprecated since Mar 2022 |
packages/types/App.d.ts — deprecated since May 2022 |
apps/web/lib/QueryCell.tsx — deprecated since Aug 2022 |
apps/web/components/Loader.tsx — deprecated since Sep 2022 |
packages/app-store/_components/AppCategoryNavigation.tsx — deprecated since Feb 2023 |
Security & Reliability Posture
adequate1 credential-shaped string in the tree sit in tests, examples, documentation or local development settings
adequateStrings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.
| JWT, where fakes are usual |
2 Dockerfiles run 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.
Dockerfile — runs as root |
apps/api/v2/Dockerfile — runs as root |
The build runs third-party code it does not pin
adequate11 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; 1 step pipes a download straight into a shell. 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/changesets.yml:36 — action pinned by tag |
.github/workflows/e2e-api-v2.yml:72 — action pinned by tag |
scripts/vercel.sh:7 — download piped into a shell |
75 locked dependencies have published vulnerabilities, 86 high or critical
adequate75 of 3,815 locked dependencies match 168 published advisories in OSV, 86 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.
13 places insert HTML from a variable without sanitising it
adequate13 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.
apps/web/app/(use-page-wrapper)/layout.tsx:33 — HTML from a variable |
apps/web/app/SpeculationRules.tsx:28 — HTML from a variable |
apps/web/components/PageWrapper.tsx:87 — HTML from a variable |
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.
apps/web/next.config.ts:239 — source maps in a production build |
Relicensed: MIT → AGPL-3.0 (2021-09-20) → MIT (2026-04-15)
adequateThe root licence changed 2 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.
4 advisories against this project in the last 24 months, 4 high or critical
adequateThe newest was published on 2026-01-13. 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 6.2.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: its keyword search for 'cal com' is too broad to read whole (8,357 records).
| 2026-01-13: GHSA-7hg4-x4pr-3hrg (critical), fixed in >= 6.0.7: Authentication Bypass via Unvalidated Email in Custom JWT Callback |
| 2025-12-07: GHSA-qjx2-5xqp-cpf4 (critical), fixed in >= 5.9.9: Cal.com affected by CVE-2025-55182 and CVE-2025-66478 |
| 2025-12-03: GHSA-9r3w-4j8q-pw98 (critical), fixed in 5.9.8: Authentication Bypass via bad TOTP + password checks |
| 2024-12-04: GHSA-vgj7-76cw-h6f8 (high): XSS via booking view questions |
Observability & Operations
strong3 of 3 deployed images carry no version, or `latest`
adequate3 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-compose.yml:15 — image without a version |
docker-compose.yml:28 — image without a version |
docker-compose.yml:122 — 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 calcom/cal.com: 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.