Borehole · Project · free tier
zipstack/unstract
Free reading: not for reliance
f5daa5d · 1,789 commits · 2,944 files
Read 2026-10-23

zipstack/unstract: technical due diligence, read from its repository

What Borehole read in zipstack/unstract's code and history at f5daa5d: 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 Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • LICENSE: Relicensed: MIT → AGPL-3.0 (2024-03-20)

Architecture & Codebase — including AI provenance

strong
01.6

backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py is 3,443 lines, 47× this codebase's median file

adequate

The median source file here is 73 lines. 35 files exceed 1,000 lines, the largest being 3,443. 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.

Engineering Process & SDLC Maturity

strong
02.16

Tests are retried until they pass

adequate

The suite is configured to retry failing tests (tests/e2e/ui/playwright.config.js). 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.

Evidence
tests/e2e/ui/playwright.config.js:41 — test retry

Product & Engineering Maturity

adequate
04.19

16% of bug fixes add or change a test

adequate

Of 522 fixes in the last 24 months, 84 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
84 of 522

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

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

Evidence
.github/workflows/ci-frontend-lint.yaml:53 — action pinned by tag
.github/workflows/docker-tools-build-push.yaml:39 — action pinned by tag
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.

05.20

28 SQL statements built from strings

adequate

28 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
backend/migrating/v2/management/commands/migrate_to_v2.py:421 — SQL built from a string
workers/queue_backend/pg_barrier.py:264 — SQL built from a string
workers/queue_backend/pg_barrier.py:368 — SQL built from a string
05.26

41 locked dependencies have published vulnerabilities, 66 high or critical in what ships

adequate

41 of 674 locked dependencies match 145 published advisories in OSV, 77 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
platform-service/uv.lock — anyio 4.11.0: GHSA-82r6-8w77-94w6 (critical), fixed in 4.14.2
backend/uv.lock — anyio 4.12.1: GHSA-82r6-8w77-94w6 (critical), fixed in 4.14.2
unstract/tool-sandbox/uv.lock — anyio 4.13.0: GHSA-82r6-8w77-94w6 (critical), fixed in 4.14.2
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/vite.config.js:248 — source maps in a production build
05.60

Relicensed: MIT → AGPL-3.0 (2024-03-20)

adequate

The root licence changed 1 time(s). The latest terms restrict what users, hosts or a buyer may do in ways the earlier ones did not. Code taken under the old terms stays under them, so both matter in diligence.

Evidence
LICENSE — MIT from 2024-02-21
LICENSE — AGPL-3.0 from 2024-03-20

Observability & Operations

adequate
06.2

No structured logging library is in use

adequate

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

Evidence
searched 2,601 files for 10 structured logging libraries; 0 matched
06.9

No error reporter is wired in

adequate

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

Evidence
no error reporter initialised
06.18

1 of 22 deployed images carry no version, or `latest`

adequate

1 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/connector/docker-compose-connector.yaml:25 — 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 zipstack/unstract: 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.