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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
LICENSE: Relicensed: MIT → AGPL-3.0 (2024-03-20)
Architecture & Codebase — including AI provenance
strongbackend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py is 3,443 lines, 47× this codebase's median file
adequateThe 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.
backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py:1 — 3,443 lines (47× median) |
backend/workflow_manager/internal_views.py:1 — 3,063 lines (41× median) |
frontend/src/components/ui/shims/antd-structure.tsx:1 — 2,621 lines (35× median) |
unstract/core/src/unstract/core/data_models.py:1 — 2,569 lines (35× median) |
workers/executor/executors/legacy_executor.py:1 — 2,505 lines (34× median) |
Engineering Process & SDLC Maturity
strongTests are retried until they pass
adequateThe 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.
tests/e2e/ui/playwright.config.js:41 — test retry |
Product & Engineering Maturity
adequate16% of bug fixes add or change a test
adequateOf 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.
| 84 of 522 |
Security & Reliability Posture
adequateThe build runs third-party code it does not pin
adequate9 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/ci-frontend-lint.yaml:53 — action pinned by tag |
.github/workflows/docker-tools-build-push.yaml:39 — action pinned by tag |
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.
unstract/sdk1/src/unstract/sdk1/adapters/ocr/google_document_ai/src/google_document_ai.py:137 — outbound call without a timeout |
unstract/sdk1/src/unstract/sdk1/adapters/ocr/google_document_ai/src/google_document_ai.py:156 — outbound call without a timeout |
unstract/sdk1/src/unstract/sdk1/adapters/x2text/helper.py:133 — outbound call without a timeout |
28 SQL statements built from strings
adequate28 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.
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 |
41 locked dependencies have published vulnerabilities, 66 high or critical in what ships
adequate41 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.
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 |
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/vite.config.js:248 — source maps in a production build |
Relicensed: MIT → AGPL-3.0 (2024-03-20)
adequateThe 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.
Observability & Operations
adequateNo structured logging library is in use
adequateNothing 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.
| searched 2,601 files for 10 structured logging libraries; 0 matched |
No 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 |
1 of 22 deployed images carry no version, or `latest`
adequate1 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/connector/docker-compose-connector.yaml:25 — 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 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.