Read 2026-11-08
temporalio/temporal: technical due diligence, read from its repository
What Borehole read in temporalio/temporal's code and history at d8f9c6d: 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
.gitmodules:1: 1 submodule(s) this survey does not read: develop/docker-compose/grafana/provisioning/temporalio-dashboards
Architecture & Codebase — including AI provenance
strongservice/history/workflow/mutable_state_impl.go is 10,104 lines, 71× this codebase's median file
adequateThe median source file here is 141 lines. 30 files exceed 1,410 lines, the largest being 10,104. 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.
service/history/workflow/mutable_state_impl.go:1 — 10,104 lines (71× median) |
service/frontend/workflow_handler.go:1 — 7,876 lines (55× median) |
chasm/tree.go:1 — 4,060 lines (28× median) |
service/matching/matching_engine.go:1 — 4,001 lines (28× median) |
service/history/interfaces/mutable_state_mock.go:1 — 3,922 lines (27× median) |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
adequate81 direct dependencies in a single manifest
adequatego.mod declares 81 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.
go.mod — 81 declared |
40 files still carry code deprecated more than two years ago
adequate40 files were marked deprecated over two years ago and still are, the oldest since Feb 2022. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
api/persistence/v1/executions.pb.go — deprecated since Feb 2022 |
api/adminservice/v1/request_response.pb.go — deprecated since Mar 2022 |
api/history/v1/message.pb.go — deprecated since Jul 2022 |
api/historyservice/v1/request_response.pb.go — deprecated since Jul 2022 |
api/persistence/v1/history_tree.pb.go — deprecated since Sep 2022 |
Releases are cut from another branch than the one surveyed
adequateThe newest release, v1.32.2, is not on the branch this survey read; the newest release on it is v1.26.0. The shipped product may differ from what this report describes. Survey the release branch too.
| tag v1.32.2 |
Security & Reliability Posture
adequate4 credential-shaped strings added in the history 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.
| 4 cited: private key block, where fakes are usual |
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/claude-review-teams.yml:235 — action pinned by tag |
.github/workflows/features-integration.yml:72 — action pinned by tag |
12 SQL statements built from strings
adequate12 places in product code build SQL by formatting or joining strings rather than passing parameters. 3 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.
common/persistence/visibility/store/query/converter.go:246 — SQL built from a string |
common/persistence/visibility/store/sql/query_converter_legacy.go:172 — SQL built from a string |
service/worker/scheduler/schedule_id_query_rewriter.go:40 — SQL built from a string |
6 workload settings can give a container the host, behind a chart value or in a stack built from source
adequate6 places run a container privileged or in the host's namespaces only when a Helm value switches them on, or in a compose file that builds the product from this repository, which is how it is developed rather than how it ships. Neither is on by default in what ships. Ask whether production sets the value or runs that stack.
develop/docker-compose/docker-compose.cdc.linux.yml:6 — host access behind a setting or in a local stack |
develop/docker-compose/docker-compose.cdc.linux.yml:10 — host access behind a setting or in a local stack |
develop/docker-compose/docker-compose.linux.yml:4 — host access behind a setting or in a local stack |
17 advisories against this project in the last 24 months, 8 high or critical, 1 may affect the surveyed commit
adequateThe newest was published on 2026-11-02. 1 may affect the surveyed version, placed from version numbers. Check each against the release you run. GHSA-hmhp-gh8m-c8xp (moderate), GHSA-p2gr-hm8g-q772 (low) are fixed in the surveyed commit; which release carries them cannot be told from this history, which does not place the release users run. Answer lives in: the version you run. The record is incomplete: NVD: 5 records name temporal with nothing tying them to this repository (CVE-2026-107276, CVE-2026-110024, CVE-2026-42072, …).
| 2026-11-02: CVE-2026-120091 (high): Temporal Server compiles a Worker Controller Instance module, go.temporal.io/auto-scaled-workers, into its Worker Service, and that module registers a compute p |
| 2026-10-15: CVE-2026-108126 (moderate): temporal-proxy 0.2.0 through 0.8.0 does not bind encrypted payloads to the namespace they were encrypted for. When payload encryption is enabled, the proxy choo |
| 2026-10-12: CVE-2026-104355 (high), fixed in f2b571e2eee8a9143fbc4711f3db8b5a37146b3b: Temporal Server applies inbound namespace replication from a connected peer cluster to local namespaces |
| 2026-10-12: CVE-2026-89140 (moderate): Temporal Server does not bind internal completion callbacks to the namespace that attached them, which allows an authenticated caller with write permission in o |
| 2026-09-23: CVE-2026-96770 (critical): All published s2s-proxy versions through 0.2.2 are affected. In versions 0.1.16 through 0.2.2, TLS server listeners use Go's RequireAnyClientCert mode when skip |
Observability & Operations
strongNo 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 |
4 of 11 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.
develop/docker-compose/docker-compose.yml:86 — image without a version |
develop/docker-compose/docker-compose.yml:62 — image without a version |
develop/docker-compose/docker-compose.yml:72 — 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 temporalio/temporal: 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.