Borehole · Project · free tier
hatchet-dev/hatchet
Free reading: not for reliance
df02939 · 3,635 commits · 4,968 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • .github/pull_request_template.md:45: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

sdks/python/hatchet_sdk/clients/rest/api/workflow_api.py is 8,243 lines, 94× this codebase's median file

adequate

The 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.

Evidence
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

adequate
02.16

Tests are retried until they pass

adequate

The 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.

02.24

6% of recent commits change more than 2,000 lines

adequate

114 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.

Evidence
114 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.3

102 direct dependencies in a single manifest

adequate

go.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.

Evidence
go.mod — 102 declared
frontend/app/package.json — 66 declared
sdks/typescript/package.json — 15 declared
sdks/python/pyproject.toml — 12 declared
04.19

19% of bug fixes add or change a test

adequate

Of 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.

Evidence
206 of 1075

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

1 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.

Evidence
.github/workflows/sdk-ruby.yml:299 — action pinned by tag
.github/workflows/cli-release.yaml:68 — download piped into a shell
05.13

10 outbound calls can wait forever

adequate

10 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.

Evidence
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
05.20

12 SQL statements built from strings

adequate

12 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.

Evidence
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
05.21

4 shell commands built from strings

adequate

4 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.

Evidence
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
05.26

47 locked dependencies have published vulnerabilities, 11 high or critical in what ships

adequate

47 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.

Evidence
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
05.49

The production build publishes source maps

adequate

The 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.

Evidence
frontend/app/vite.config.ts:53 — source maps in a production build
05.9

1 vendored component with no licence

adequate

Third-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.

Evidence
hack/proto/vendor/google — 1 tracked files, no licence file
05.65

8 advisories against this project in the last 24 months, 1 high or critical

adequate

The 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.

Evidence
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

strong
06.18

3 of 11 deployed images carry no version, or `latest`

adequate

3 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.

Evidence
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 assessable

Not 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.