Read 2026-10-22
rocketchat/rocket.chat: technical due diligence, read from its repository
What Borehole read in rocketchat/rocket.chat's code and history at adb6b3b: 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
- Releases are cut from another branch than the one surveyed
apps/meteor/ee/LICENSE: Part of the code is under a separate licence: apps/meteor/ee/
Architecture & Codebase — including AI provenance
strongpackages/rest-typings/src/v1/omnichannel.ts is 4,877 lines, 128× this codebase's median file
adequateThe median source file here is 38 lines. 31 files exceed 1,000 lines, the largest being 4,877. 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/rest-typings/src/v1/omnichannel.ts:1 — 4,877 lines (128× median) |
packages/livechat/src/lib/emoji/emojis.ts:1 — 4,631 lines (121× median) |
packages/models/src/models/Users.ts:1 — 3,423 lines (90× median) |
packages/models/src/models/LivechatRooms.ts:1 — 2,782 lines (73× median) |
apps/meteor/server/api/v1/users.ts:1 — 2,413 lines (63× median) |
Engineering Process & SDLC Maturity
strongTests are retried until they pass
adequateThe suite is configured to retry failing tests (apps/meteor/tests/end-to-end/api-livechat/19-business-hours.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.
apps/meteor/tests/end-to-end/api-livechat/19-business-hours.ts:967 — test retry |
Product & Engineering Maturity
adequate264 direct dependencies in a single manifest
adequateapps/meteor/package.json declares 264 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/meteor/package.json — 264 declared |
ee/apps/omnichannel-transcript/package.json — 28 declared |
apps/uikit-playground/package.json — 27 declared |
ee/apps/ddp-streamer/package.json — 26 declared |
2 jobs are each done by more than one library
adequateWithin a single package: dates: date-fns, moment; utility belts: lodash, underscore. Each duplicate is bundle size, two ways of doing the same thing in one codebase, and two upgrade paths to maintain. It is usually the residue of a migration that stopped halfway.
apps/meteor/package.json — several libraries per job |
ee/apps/ddp-streamer/package.json — several libraries per job |
31 files still carry code deprecated more than two years ago
adequate31 files were marked deprecated over two years ago and still are, the oldest since Apr 2022. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
packages/core-typings/src/IRoom.ts — deprecated since Apr 2022 |
packages/core-typings/src/IMessage/IMessage.ts — deprecated since Apr 2022 |
packages/model-typings/src/models/IRolesModel.ts — deprecated since Jul 2022 |
apps/meteor/definition/externals/global.d.ts — deprecated since Aug 2022 |
packages/core-typings/src/ILivechatDepartmentRecord.ts — deprecated since Feb 2023 |
Releases are cut from another branch than the one surveyed
adequateThe newest release, 8.9.0, is not on the branch this survey read; the newest release on it is 8.8.1. The shipped product may differ from what this report describes. Survey the release branch too.
| tag 8.9.0 |
Security & Reliability Posture
adequateThe build runs third-party code it does not pin
adequate2 steps pipe 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.
scripts/check-deps.sh:77 — download piped into a shell |
2 shell commands built from strings
adequate2 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.
apps/meteor/packages/rocketchat-livechat/plugin/build-livechat.js:20 — command run through a shell |
apps/meteor/packages/rocketchat-livechat/plugin/build-livechat.js:22 — command run through a shell |
29 locked dependencies have published vulnerabilities, 7 high or critical
adequate29 of 3,484 locked dependencies match 36 published advisories in OSV, 7 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.
17 places insert HTML from a variable without sanitising it
adequate17 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/meteor/client/lib/createRichTextComposerAPI.ts:57 — HTML from a variable |
apps/meteor/client/lib/emoji/emojiParser.ts:30 — HTML from a variable |
apps/meteor/client/lib/emoji/emojiParser.ts:53 — 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/meteor/vite/vite.config.mts:262 — source maps in a production build |
packages/css-in-js/rollup.config.mjs:41 — source maps in a production build |
packages/emitter/rollup.config.mjs:13 — source maps in a production build |
Part of the code is under a separate licence: apps/meteor/ee/
adequateA directory named for a paid edition carries its own licence. That code is usually not open source even where the rest is; what the buyer may do with each part differs.
apps/meteor/ee/LICENSE — licence: unrecognised |
22 advisories against this project in the last 24 months, 12 high or critical
adequateThe newest was published on 2026-08-21. 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 20 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 8.8.1. Answer lives in: the release you run, set against each fixed version.
| 2026-08-21: CVE-2026-65645 (moderate): Rocket.Chat in versions before 8.8.0, 8.7.1, 8.6.2, 8.5.3, 8.4.6. 8.3.8, 8.2.8, 8.1.8, and 7.10.15, the Meteor DDP methods getThreadsList and getThreadMessages |
| 2026-08-20: GHSA-6x96-99rg-wg67 (moderate), fixed in 8.2.8: Blind Server-Side Request Forgery (SSRF) In The downloadPublicImportFile Endpoint |
| 2026-08-20: GHSA-r3v3-v742-55j5 (moderate), fixed in 7.10.15: Arbitrary notify-user event injection via stream-notify-room-users forward (incomplete fix of GHSA-27jx) |
| 2026-08-20: GHSA-7c6v-m68v-v73r (low), fixed in 7.10.15: sendForgotPasswordEmail Meteor Method Lacks DDP Rate Limit |
| 2026-07-11: GHSA-4mvx-9h2h-hmg3 (moderate), fixed in 7.10.14: Broken Access Control in channels.convertToTeam Allows Unauthorized Conversion of Public Channels into Teams |
Observability & Operations
strong4 of 27 deployed images carry no version, or `latest`
adequate4 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.
development/docker-compose-monitoring.yml:15 — image without a version |
development/docker-compose-monitoring.yml:58 — image without a version |
docker-compose-ci.yml:236 — 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 rocketchat/rocket.chat: 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.