Read 2026-10-04
hatchet-dev/hatchet: technical due diligence, read from its repository
What Borehole read in hatchet-dev/hatchet's code and history at df02939: 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 | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
What the repository says
.github/pull_request_template.md:45: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
strongsdks/python/hatchet_sdk/clients/rest/api/workflow_api.py is 8,243 lines, 94× this codebase's median file
adequateThe median source file here is 87 lines. 86 files exceed 1,000 lines, the largest being 8,243. 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.
sdks/python/hatchet_sdk/clients/rest/api/workflow_api.py:1 — 8,243 lines (94× median) |
sdks/python/hatchet_sdk/clients/rest/api/tenant_api.py:1 — 5,619 lines (64× median) |
pkg/repository/task.go:1 — 5,345 lines (61× median) |
pkg/client/cloud/rest/gen.go:1 — 4,983 lines (57× median) |
pkg/repository/sqlcv1/olap.sql.go:1 — 4,659 lines (53× median) |
Engineering Process & SDLC Maturity
adequateTests are retried until they pass
adequateThe suite is configured to retry failing tests (sdks/typescript/src/v1/client/worker/batch.test.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.
sdks/typescript/src/v1/client/worker/batch.test.ts:84 — test retry |
6% of recent commits change more than 2,000 lines
adequate114 of 1920 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.
| 114 commits over 2,000 lines |
Product & Engineering Maturity
adequate102 direct dependencies in a single manifest
adequatego.mod declares 102 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 — 102 declared |
frontend/app/package.json — 66 declared |
sdks/typescript/package.json — 15 declared |
sdks/python/pyproject.toml — 12 declared |
19% of bug fixes add or change a test
adequateOf 1075 fixes in the last 24 months, 206 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.
| 206 of 1075 |
Security & Reliability Posture
adequateThe build runs third-party code it does not pin
adequate1 third-party CI action is 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/sdk-ruby.yml:299 — action pinned by tag |
.github/workflows/cli-release.yaml:68 — download piped into a shell |
10 outbound calls can wait forever
adequate10 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.
api/v1/server/handlers/slack-app/oauth_callback.go:47 — outbound call without a timeout |
api/v1/server/handlers/users/google_oauth_callback.go:157 — outbound call without a timeout |
internal/integrations/ingestors/sns/sns.go:123 — outbound call without a timeout |
12 SQL statements built from strings
adequate12 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.
pkg/repository/olap.go:547 — SQL built from a string |
pkg/repository/olap.go:563 — SQL built from a string |
pkg/repository/olap.go:574 — SQL built from a string |
4 shell commands built from strings
adequate4 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.
sdks/typescript/jest.e2e-global-setup.ts:14 — command run through a shell |
sdks/typescript/jest.e2e-global-setup.ts:16 — command run through a shell |
sdks/typescript/jest.e2e-global-teardown.ts:14 — command run through a shell |
47 locked dependencies have published vulnerabilities, 11 high or critical in what ships
adequate47 of 2,325 locked dependencies match 153 published advisories in OSV, 78 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.
sdks/python/poetry.lock — anyio 4.13.0: GHSA-82r6-8w77-94w6 (critical), fixed in 4.14.2; an optional extra |
sdks/python/poetry.lock — pyjwt 2.13.0: GHSA-ffc3-869f-jxw9 (critical), fixed in 2.14.0; an optional extra |
sdks/python/poetry.lock — aiohttp 3.14.1: GHSA-cq5v-8q36-5273 (high), fixed in 3.14.3 |
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.
frontend/app/vite.config.ts:53 — source maps in a production build |
1 vendored component with no licence
adequateThird-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.
hack/proto/vendor/google — 1 tracked files, no licence file |
8 advisories against this project in the last 24 months, 1 high or critical
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.
| 2026-09-04: GHSA-992g-9cr3-vm5x (moderate), fixed in 0.106.1: Hatchet DurableTask WorkerStatus gRPC resolves caller-supplied durable-task UUIDs via ListSatisfiedEntries with no tenant_id filter |
| 2026-09-04: GHSA-9q4h-f4x5-ffq8 (low), fixed in 0.95.3: Hatchet: Cross-tenant durable callback payload disclosure in Hatchet V1 Dispatcher |
| 2026-08-03: GHSA-6rg8-xpvg-m49w (low), fixed in 0.101.0: Authentication rate-limit bypass via spoofed proxy headers enables unlimited password attempts |
| 2026-06-30: GO-2026-6535 (high): Hatchet - Unauthenticated OAuth state CSRF / login-CSRF via empty-state collision in ValidateOAuthState in hatchet in github.com/hatchet-dev/hatchet |
| 2026-06-30: GO-2026-6565 (moderate): Hatchet: SSRF via Unsigned UnsubscribeURL in SNS UnsubscribeConfirmation Handler in hatchet-dev/hatchet |
Observability & Operations
strong3 of 11 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.infra.yml:3 — image without a version |
docker-compose.infra.yml:21 — image without a version |
docker-compose.infra.yml:37 — 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 hatchet-dev/hatchet: 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.