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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | adequate |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
adequateunstructured/chunking/base.py is 3,518 lines, 51× this codebase's median file
adequateThe 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.
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) |
1 base image floats: no version, or `latest`
adequate1 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.
Dockerfile:1 — base image without a version |
Engineering Process & SDLC Maturity
strongNo finding.
Product & Engineering Maturity
strongNo finding.
Security & Reliability Posture
adequateThe build runs third-party code it does not pin
adequate10 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.
.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 |
25 locked dependencies have published vulnerabilities, 13 high or critical in what ships
adequate25 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.
4 advisories against this project in the last 24 months, 2 high or critical
adequateThe 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).
| 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 assessableNot 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 assessableNot 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.