Borehole · Project · free tier
datahub-project/datahub
Free reading: not for reliance
188e459 · 16,776 commits · 20,803 files
Read 2026-10-28

datahub-project/datahub: technical due diligence, read from its repository

What Borehole read in datahub-project/datahub's code and history at 188e459: 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 Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsstrong
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • AGENTS.md:307: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

adequate
01.6

metadata-io/src/main/java/com/linkedin/metadata/entity/EntityServiceImpl.java is 5,466 lines, 67× this codebase's median file

adequate

The median source file here is 81 lines. 163 files exceed 1,000 lines, the largest being 5,466. 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.

01.42

3 model weight files committed directly to git

adequate

3 model weight files are stored in git itself, not in LFS, DVC or a model hub. Every clone carries them, the history keeps every version for good, and nothing records which run or data produced them.

Engineering Process & SDLC Maturity

adequate
02.15

1 committed .only switches other tests off

adequate

1 test file commits a focused `.only`, which runs that test and silently skips the rest of its suite. 45 skip markers across 14 of 7227 test files. Each is a failure somebody chose to stop seeing; the question is whether anyone is tracking them.

02.16

Tests are retried until they pass

adequate

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

9% of recent commits change more than 2,000 lines

adequate

508 of 5469 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
508 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.3

121 direct dependencies in a single manifest

adequate

datahub-web-react/package.json declares 121 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.

04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v1.8.0, is not on the branch this survey read; the newest release on it is v1.4.0. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v1.8.0

Security & Reliability Posture

adequate
05.1

1 credential-shaped string committed to the tree

adequate

Matches for JWT appear in tracked files outside test and fixture paths. They stay in the history even after they leave the tree, so what matters is whether each was rotated. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when.

Evidence
JWT pattern matched
05.6

1 Dockerfile runs the application as root

adequate

No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.

Evidence
docker/postgres/Dockerfile — runs as root
05.25

1 environment file is committed

adequate

datahub-web-react/.env is tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.

Evidence
datahub-web-react/.env — committed environment file
05.13

16 outbound calls can wait forever

adequate

16 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
metadata-ingestion/src/datahub/cli/quickstart_versioning.py:221 — outbound call without a timeout
metadata-ingestion/src/datahub/ingestion/fs/http_fs.py:18 — outbound call without a timeout
metadata-ingestion/src/datahub/ingestion/fs/http_fs.py:37 — outbound call without a timeout
05.20

45 SQL statements built from strings

adequate

45 places in product code build SQL by formatting or joining strings rather than passing parameters. 4 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.

05.21

2 shell commands built from strings

adequate

2 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
docs-website/generateDocsDir.ts:335 — command run through a shell
metadata-ingestion/src/datahub/cli/specific/dataset_cli.py:143 — command run through a shell
05.22

3 deserialisers that can run code

adequate

3 places read data with a deserialiser that executes what it reads (`yaml.load` without a safe loader, pickle). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.

05.26

108 locked dependencies have published vulnerabilities, 110 high or critical

adequate

108 of 3,530 locked dependencies match 192 published advisories in OSV, 110 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. None of the high or critical ones is in what the product ships: they are optional extras of a package, installed only on request. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
metadata-ingestion/uv.lock — python-jose 3.5.0: GHSA-3qf3-8w2g-rqmx (critical); an optional extra
datahub-web-react/yarn.lock — tinypool 1.1.0: GHSA-5gmw-xhrv-c9v3 (critical), fixed in 2.1.1
datahub-web-react/yarn.lock — vitest 3.2.2: GHSA-5xrq-8626-4rwp (critical), fixed in 3.2.6
05.9

3 vendored components 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
metadata-integration/java/acryl-spark-lineage/src/main/java/io/openlineage/spark/agent/vendor/redshift — 7 tracked files, no licence file
vendor/avroutil1-helper-all-fork — 3 tracked files, no licence file
vendor/rest-li-fork — 3 tracked files, no licence file
05.65

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

adequate

The newest was published on 2026-05-19. 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 2 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 1.4.0. Answer lives in: the release you run, set against each fixed version. GHSA-3p57-xxv6-6wqp (moderate), GHSA-phm8-vwjg-f442 (moderate) are fixed in the surveyed commit; which release carries them cannot be told from this history, which does not place the release users run. Answer lives in: the version you run. The record is incomplete: NVD: 18 records name datahub with nothing tying them to this repository (CVE-2011-3493, CVE-2011-3500, CVE-2011-3501, …).

Evidence
2026-05-19: GHSA-3p57-xxv6-6wqp (moderate): Open Redirect Vulnerability in DataHub (redirect_uri)
2026-04-30: GHSA-rjf9-p49v-42c4 (moderate), fixed in >=1.5.0.3: DataHub OIDC REDIRECT_URL Cookie Deserialization Vulnerability
2026-02-20: GHSA-phm8-vwjg-f442 (moderate), fixed in 1.4.0.3: Open Redirect Vulnerability in DataHub (BasePathRedirectFilter)
2026-02-04: GHSA-j34h-x7qg-4qw5 (high), fixed in >=1.3.1.8: LDAP Ingestion Source vulnerable to MITM attack through TLS downgrade
2025-05-29: GHSA-8v62-ch9g-mvw9 (low), fixed in v1.1.0: Stored XSS - UI v1 Sidebar Description

Observability & Operations

strong
06.18

4 of 33 deployed images carry no version, or `latest`

adequate

4 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/airflow/docker-compose.yaml:92 — image without a version
docker/monitoring/docker-compose.monitoring.yml:38 — image without a version
docker/monitoring/docker-compose.monitoring.yml:46 — 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 datahub-project/datahub: 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.