Borehole · Project · free tier
unstructured-io/unstructured
Free reading: not for reliance
acc9845 · 2,028 commits · 1,352 files
Read 2026-11-03

unstructured-io/unstructured: technical due diligence, read from its repository

What Borehole read in unstructured-io/unstructured's code and history at acc9845: 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 provenanceadequate
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

adequate
01.6

unstructured/chunking/base.py is 3,518 lines, 51× this codebase's median file

adequate

The median source file here is 68 lines. 8 files exceed 1,000 lines, the largest being 3,518. 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
unstructured/chunking/base.py:1 — 3,518 lines (51× median)
unstructured/partition/pdf.py:1 — 1,951 lines (28× median)
unstructured/partition/docx.py:1 — 1,522 lines (22× median)
unstructured/partition/pdf_image/pdfminer_processing.py:1 — 1,433 lines (21× median)
unstructured/partition/html/parser.py:1 — 1,239 lines (18× median)
01.25

1 base image floats: no version, or `latest`

adequate

1 of 1 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest.

Evidence
Dockerfile:1 — base image without a version

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

10 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; 3 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/ci.yml:55 — action pinned by tag
.github/workflows/ci.yml:99 — action pinned by tag
.github/workflows/build-opencv-wheels.yml:49 — download piped into a shell
05.26

25 locked dependencies have published vulnerabilities, 13 high or critical in what ships

adequate

25 of 406 locked dependencies match 120 published advisories in OSV, 62 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
uv.lock — anyio 4.13.0: GHSA-82r6-8w77-94w6 (critical), fixed in 4.14.2
uv.lock — authlib 1.6.9: GHSA-6v38-4h7w-rj9h (critical), fixed in 1.9.0; an optional extra
uv.lock — chromadb 1.5.7: GHSA-36p7-vc44-83pf (critical); an optional extra
05.65

4 advisories against this project in the last 24 months, 2 high or critical

adequate

The newest was published on 2026-07-27. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. None of them affects the surveyed version. The record is incomplete: NVD: 1 record names unstructured with nothing tying it to this repository (CVE-2025-61677).

Evidence
2026-07-27: GHSA-v5mq-3xhg-98m9 (moderate), fixed in 0.24.1: unstructured: Stored XSS via unescaped HTML generation
2026-07-10: GHSA-4mvj-m6j5-pmf7 (critical), fixed in 0.24.0: unstructured: Server-Side Request Forgery in the URL-based partitioning
2026-02-03: GHSA-gm8q-m8mv-jj5m (critical), fixed in 0.18.18: Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write
2024-12-09: GHSA-32r8-54hf-c9p3 (moderate), fixed in 0.14.3: unstructured XML External Entity (XXE)

Observability & Operations

not assessable

Not rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on unstructured-io/unstructured: 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.