Borehole · Project · free tier
hatchet-dev/hatchet
Free reading: not for reliance
4a0a4f1 · 3,886 commits · 5,657 files
Read 2026-11-08

hatchet-dev/hatchet: technical due diligence, read from its repository

What Borehole read in hatchet-dev/hatchet's code and history at 4a0a4f1: 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,315 lines, 92× this codebase's median file

adequate

The median source file here is 90 lines. 93 files exceed 1,000 lines, the largest being 8,315. 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,315 lines (92× median)
sdks/python/hatchet_sdk/clients/rest/api/tenant_api.py:1 — 6,246 lines (69× median)
pkg/repository/task.go:1 — 5,850 lines (65× median)
pkg/client/cloud/rest/gen.go:1 — 4,983 lines (55× median)
pkg/repository/sqlcv1/olap.sql.go:1 — 4,952 lines (55× 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

127 of 2063 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
127 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.3

107 direct dependencies in a single manifest

adequate

go.mod declares 107 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 — 107 declared
frontend/app/package.json — 64 declared
sdks/typescript/package.json — 15 declared
sdks/python/pyproject.toml — 12 declared

Security & Reliability Posture

adequate
05.1

3 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings

adequate

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

Evidence
3 cited: AWS access key, where fakes are usual
05.5

2 credential-shaped strings added in the history sit in tests, examples, documentation or local development settings

adequate

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

Evidence
2 cited: AWS access key, where fakes are usual
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:317 — action pinned by tag
.github/workflows/cli-release.yaml:76 — download piped into a shell
05.13

7 outbound calls can wait forever

adequate

7 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:61 — outbound call without a timeout
api/v1/server/handlers/users/google_oauth_callback.go:167 — outbound call without a timeout
pkg/client/client.go:417 — outbound call without a timeout
05.20

17 SQL statements built from strings

adequate

17 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/config/loader/pgx.go:142 — SQL built from a string
pkg/config/loader/pgx.go:146 — SQL built from a string
pkg/repository/olap.go:558 — 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.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

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

adequate

The newest was published on 2026-10-11. 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 0.119.2. Answer lives in: the release you run, set against each fixed version.

Evidence
2026-10-11: CVE-2026-108755 (moderate): Hatchet through 0.110.5 contains an allocation of resources without limits vulnerability that allows unauthenticated attackers to exhaust memory via the SNS ing
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: GHSA-8x7x-83cf-c3pg (moderate), fixed in 0.91.2: Hatchet allows cross-tenant write/DoS to other tenants' workers via Dispatcher gRPC UpsertWorkerLabels and Unsubscribe

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.