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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | adequate |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not 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
adequatemetadata-io/src/main/java/com/linkedin/metadata/entity/EntityServiceImpl.java is 5,466 lines, 67× this codebase's median file
adequateThe 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.
metadata-io/src/main/java/com/linkedin/metadata/entity/EntityServiceImpl.java:1 — 5,466 lines (67× median) |
metadata-ingestion/src/datahub/ingestion/source/sigma/sigma.py:1 — 5,381 lines (66× median) |
metadata-ingestion/src/datahub/ingestion/source/dbt/dbt_common.py:1 — 5,078 lines (62× median) |
metadata-ingestion/src/datahub/ingestion/source/tableau/tableau.py:1 — 4,902 lines (60× median) |
datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java:1 — 4,575 lines (56× median) |
3 model weight files committed directly to git
adequate3 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.
docker/snippets/openssl4-ssl-compat.pth — weights in git |
metadata-ingestion/datahub_force_pure_python_sqlglot.pth — weights in git |
metadata-ingestion/datahub_setproctitle_patch.pth — weights in git |
Engineering Process & SDLC Maturity
adequate1 committed .only switches other tests off
adequate1 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.
.github/scripts/test/test_check_playwright_p0.py:54 — committed .only: other tests do not run |
datahub-web-react/src/app/entityV2/dataset/profile/__tests__/Schema.test.tsx:227 — skipped test |
datahub-web-react/src/app/entityV2/shared/containers/profile/__tests__/EntityProfile.test.tsx:208 — skipped test |
datahub-web-react/src/app/entityV2/shared/containers/profile/sidebar/__tests__/SidebarLogicSection.test.tsx:272 — skipped test |
Tests are retried until they pass
adequateThe 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.
e2e-test/ui/playwright/playwright.config.ts:11 — test retry |
9% of recent commits change more than 2,000 lines
adequate508 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.
| 508 commits over 2,000 lines |
Product & Engineering Maturity
adequate121 direct dependencies in a single manifest
adequatedatahub-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.
datahub-web-react/package.json — 121 declared |
metadata-ingestion/pyproject.toml — 34 declared |
docs-website/package.json — 29 declared |
docs-website/sphinx/requirements.txt — 8 declared |
Releases are cut from another branch than the one surveyed
adequateThe 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.
| tag v1.8.0 |
Security & Reliability Posture
adequate1 credential-shaped string committed to the tree
adequateMatches 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.
| JWT pattern matched |
1 Dockerfile runs the application as root
adequateNo 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.
docker/postgres/Dockerfile — runs as root |
1 environment file is committed
adequatedatahub-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.
datahub-web-react/.env — committed environment file |
16 outbound calls can wait forever
adequate16 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.
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 |
45 SQL statements built from strings
adequate45 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.
metadata-ingestion/src/datahub/ingestion/source/sql/mssql/query.py:155 — SQL built from a string |
metadata-ingestion/src/datahub/ingestion/source/sql/mssql/query.py:1065 — SQL built from a string |
metadata-ingestion/src/datahub/ingestion/source/sql/postgres/query.py:90 — SQL built from a string |
2 shell commands built from strings
adequate2 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.
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 |
3 deserialisers that can run code
adequate3 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.
metadata-ingestion/src/datahub/ingestion/source/odcs/odcs_source.py:193 — code-executing deserialiser |
metadata-ingestion/src/datahub/ingestion/source/thoughtspot/client.py:353 — code-executing deserialiser |
metadata-ingestion/src/datahub/utilities/file_backed_collections.py:180 — code-executing deserialiser |
108 locked dependencies have published vulnerabilities, 110 high or critical
adequate108 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.
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 |
3 vendored components with no licence
adequateThird-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.
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 |
5 advisories against this project in the last 24 months, 1 high or critical
adequateThe 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, …).
| 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
strong4 of 33 deployed images carry no version, or `latest`
adequate4 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/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 assessableNot 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.