Read 2026-11-03
marqo-ai/marqo: technical due diligence, read from its repository
What Borehole read in marqo-ai/marqo's code and history at 37a7283: 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 | adequate |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
adequatecomponents/marqo/vespa/src/main/java/ai/marqo/search/HybridSearcher.java is 2,585 lines, 26× this codebase's median file
adequateThe median source file here is 96 lines. 5 files exceed 1,000 lines, the largest being 2,585. 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.
components/marqo/vespa/src/main/java/ai/marqo/search/HybridSearcher.java:1 — 2,585 lines (26× median) |
components/marqo/src/marqo/core/semi_structured_vespa_index/semi_structured_vespa_index.py:1 — 1,848 lines (19× median) |
components/marqo/src/marqo/tensor_search/tensor_search.py:1 — 1,446 lines (15× median) |
components/marqo/src/marqo/vespa/vespa_client.py:1 — 1,237 lines (12× median) |
components/marqo/src/marqo/core/structured_vespa_index/structured_vespa_index.py:1 — 1,095 lines (11× median) |
4 base images float: no version, or `latest`
adequate4 of 8 `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.
components/inference_orchestrator/Dockerfile:7 — base image without a version |
components/marqo/Dockerfile:7 — base image without a version |
components/marqo/Dockerfile:11 — base image without a version |
Engineering Process & SDLC Maturity
adequate6% of recent commits change more than 2,000 lines
adequate33 of 514 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.
| 33 commits over 2,000 lines |
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequate3 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.
components/inference_orchestrator/Dockerfile — runs as root |
components/marqo/Dockerfile — runs as root |
components/model_management/Dockerfile — runs as root |
1 environment file is committed
adequate.env is 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.
.env — committed environment file |
The build runs third-party code it does not pin
adequate5 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/amd64_cpu_api_tests.yml:73 — action pinned by tag |
.github/workflows/arm64_cpu_api_tests.yml:63 — action pinned by tag |
2 outbound calls can wait forever
adequate2 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.
components/marqo/src/marqo/core/inference/modality_utils.py:16 — outbound call without a timeout |
components/marqo/src/marqo/core/inference/modality_utils.py:22 — outbound call without a timeout |
1 advisory against this project in the last 24 months
adequateThe newest was published on 2026-09-04. 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 2.26.0. Answer lives in: the release you run, set against each fixed version.
| 2026-09-04: CVE-2026-85662 (moderate): Marqo 2.26.0 contains a server-side request forgery vulnerability in the add_documents endpoint that allows unauthenticated attackers to trigger requests to arb |
Observability & Operations
adequateNo 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 823 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 marqo-ai/marqo: 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.