Read 2026-10-23
mintplex-labs/anything-llm: technical due diligence, read from its repository
What Borehole read in mintplex-labs/anything-llm's code and history at 8239cd8: 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 | adequate |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | strong |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
CONTRIBUTING.md:161: states a policy on AI-generated contributions.gitmodules:1: 2 submodule(s) this survey does not read: browser-extension, embed
Architecture & Codebase — including AI provenance
strongfrontend/src/locales/es/common.js is 2,123 lines, 17× this codebase's median file
adequateThe median source file here is 118 lines. 40 files exceed 1,180 lines, the largest being 2,123. 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/locales/es/common.js:1 — 2,123 lines (17× median) |
frontend/src/locales/it/common.js:1 — 2,123 lines (17× median) |
frontend/src/locales/de/common.js:1 — 2,115 lines (17× median) |
frontend/src/locales/ru/common.js:1 — 2,105 lines (17× median) |
frontend/src/locales/fr/common.js:1 — 2,104 lines (17× median) |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate89 test files against 1,294 source files (6.9%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.
| 89 test files / 1,294 source files |
Product & Engineering Maturity
strongNode.js 18 is past end of life
adequateThe code is pinned to Node.js 18 (end of life 2025-04-30). None of these receives security fixes any more; the first stopped on 2025-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.
.nvmrc — Node.js 18, end of life 2025-04-30 |
Security & Reliability Posture
strongThe build runs third-party code it does not pin
adequate7 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; 4 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.
.github/workflows/build-and-push-image-semver.yaml:36 — action pinned by tag |
.github/workflows/build-and-push-image-semver.yaml:67 — action pinned by tag |
cloud-deployments/openshift/Dockerfile:45 — download piped into a shell |
7 SQL statements built from strings
adequate7 places in product code build SQL by formatting or joining strings rather than passing parameters. 1 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.
server/utils/vectorDbProviders/pgvector/index.js:396 — SQL built from a string |
server/utils/vectorDbProviders/pgvector/index.js:328 — SQL built from a string |
server/utils/vectorDbProviders/pgvector/index.js:358 — SQL built from a string |
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.
collector/utils/WhisperProviders/ffmpeg/index.js:39 — command run through a shell |
collector/utils/WhisperProviders/ffmpeg/index.js:65 — command run through a shell |
84 locked dependencies have published vulnerabilities, 90 high or critical
adequate84 of 1,722 locked dependencies match 171 published advisories in OSV, 90 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.
collector/yarn.lock — basic-ftp 5.0.5: GHSA-5rq4-664w-9x2c (critical), fixed in 5.2.0 |
server/yarn.lock — @grpc/grpc-js 1.8.17: GHSA-5375-pq7m-f5r2 (high), fixed in 1.9.16 |
server/yarn.lock — @modelcontextprotocol/sdk 1.24.3: GHSA-22jm-h49p-29qw (high), fixed in 1.32.0 |
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.
frontend/public/embed/anythingllm-chat-widget.min.js:37 — HTML from a variable |
frontend/public/embed/anythingllm-chat-widget.min.js:37 — HTML from a variable |
frontend/public/embed/anythingllm-chat-widget.min.js:37 — HTML from a variable |
24 advisories against this project in the last 24 months, 7 high or critical
adequateThe newest was published on 2026-09-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 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 1.18.0. Answer lives in: the release you run, set against each fixed version.
| 2026-09-21: GHSA-3f4c-xj8r-h4cr (moderate), fixed in 27cf88c6d1a52cff0f67a8a9ee8ba2548d1f117f: Path traversal via stored raw docpath allows a manager to write/read files outside storage/documents |
| 2026-09-21: GHSA-p9pc-ccw4-fxc5 (low), fixed in d6e7a8be6fb617d95d99c30a2377b1c47c7a9386: Automatic memory extraction can overwrite another user's workspace memory through an unscoped update ID |
| 2026-09-14: GHSA-8wh8-3v68-whwj (moderate), fixed in 08ff2c733661dcceef54e11b852a4f0224c29187: Anonymous embed-widget visitors receive the instance owner's private Memories in the system prompt |
| 2026-09-01: GHSA-rh3m-xv7m-9jhf (moderate), fixed in 6dff9d71ab585e87a3145a48abc63c2b60151149: Stored XSS Due to Unescaped Server-Side HTML Concatenation in MetaGenerator |
| 2026-07-15: GHSA-vv8w-wg6r-hq56 (moderate), fixed in 61766d06b77b903f66dc4afd8dffb3a39012db14: Password recovery accepts one recovery code twice after whitespace normalization |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 1,412 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,412 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 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 |
Readiness and liveness probes are identical in 2 of 2 workloads
adequateBoth probes call the same endpoint. When a dependency slows down, the liveness probe fails with the readiness probe, so the platform restarts pods that only needed taking out of rotation, and a partial outage becomes a full one. Liveness should ask whether the process is alive; readiness whether it can serve.
cloud-deployments/helm/charts/anythingllm/values.yaml — same probe endpoint twice |
cloud-deployments/k8/manifest.yaml — same probe endpoint twice |
1 of 2 deployments run a single replica
adequate1 deployments set `replicas: 1`, and nothing (an autoscaler, a disruption budget) adds more. Every deploy and every node drain is downtime, and the availability the buyer inherits has a ceiling.
cloud-deployments/k8/manifest.yaml — replicas: 1 |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on mintplex-labs/anything-llm: 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.