Read 2026-10-04
apache/superset: technical due diligence, read from its repository
What Borehole read in apache/superset's code and history at 599026a: 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
- Releases are cut from another branch than the one surveyed
AGENTS.md:135: names Apache Software FoundationSECURITY.md:40: states a policy on AI-generated contributions.gitmodules:1: 4 submodule(s) this survey does not read: .github/actions/pr-lint-action, .github/actions/cached-dependencies, .github/actions/chart-testing-action
Architecture & Codebase — including AI provenance
strongsuperset/security/manager.py is 6,398 lines, 60× this codebase's median file
adequateThe median source file here is 105 lines. 68 files exceed 1,050 lines, the largest being 6,398. 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.
superset/security/manager.py:1 — 6,398 lines (60× median) |
superset/models/helpers.py:1 — 5,802 lines (55× median) |
superset/mcp_service/chart/schemas.py:1 — 4,728 lines (45× median) |
superset/config.py:1 — 3,565 lines (33× median) |
superset/dashboards/api.py:1 — 3,530 lines (33× median) |
Engineering Process & SDLC Maturity
strongTests are retried until they pass
adequateThe suite is configured to retry failing tests (superset-frontend/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.
superset-frontend/playwright.config.ts:48 — test retry |
Product & Engineering Maturity
adequate140 direct dependencies in a single manifest
adequatesuperset-frontend/package.json declares 140 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.
superset-frontend/package.json — 140 declared |
pyproject.toml — 69 declared |
superset-frontend/packages/superset-ui-core/package.json — 45 declared |
superset-frontend/plugins/preset-chart-deckgl/package.json — 30 declared |
39 feature flags have been live for over a year
adequate78 feature flags appear in the history. 28 were removed; 39 are still in the code more than a year after they were added, the oldest since Jan 2019. A flag that stays is a permanent branch, and each one doubles what has to be tested. Ask which are still switched, and who owns retiring them.
tests/utils_tests.py — flag FOO since Jan 2019 |
superset/models/core.py — flag TAGGING_SYSTEM since Jul 2019 |
superset/db_engine_specs/presto.py — flag PRESTO_EXPAND_DATA since Aug 2019 |
superset/views/core.py — flag SQLLAB_BACKEND_PERSISTENCE since Nov 2019 |
tests/thumbnails_tests.py — flag THUMBNAILS since Apr 2020 |
7 files still carry code deprecated more than two years ago
adequate7 files were marked deprecated over two years ago and still are, the oldest since Jun 2021. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
superset/initialization/__init__.py — deprecated since Jun 2021 |
superset/views/core.py — deprecated since Nov 2022 |
superset/db_engine_specs/base.py — deprecated since Apr 2023 |
superset/views/datasource/views.py — deprecated since Apr 2023 |
superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts — deprecated since Jan 2024 |
Releases are cut from another branch than the one surveyed
adequateThe newest release, 6.1.0, is not on the branch this survey read; the newest release on it is 0.20.1. The shipped product may differ from what this report describes. Survey the release branch too.
| tag 6.1.0 |
Security & Reliability Posture
adequate1 environment file is committed
adequatedocker/.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.
docker/.env — committed environment file |
The build runs third-party code it does not pin
adequate2 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/pre-commit.yml:63 — download piped into a shell |
99 of 400 migrations cannot be rolled back
adequate99 schema migrations (25%) have no working way back: an empty `downgrade`, a `down` that does nothing, or a data migration with no reverse. A bad deploy that includes one is recovered from a backup, not reverted. Ask when a restore was last rehearsed.
superset/migrations/versions/2016-03-13_21-30_18e88e1cc004_making_audit_nullable.py:104 — migration with no way back |
superset/migrations/versions/2016-03-22_23-25_d2424a248d63_.py:34 — migration with no way back |
superset/migrations/versions/2016-03-26_15-09_fee7b758c130_.py:34 — migration with no way back |
3 deserialisers that can run code
adequate3 places read data with a deserialiser that executes what it reads (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.
superset/key_value/types.py:93 — code-executing deserialiser |
superset/migrations/versions/2022-06-27_14-59_7fb8bca906d2_permalink_rename_filterstate.py:58 — code-executing deserialiser |
superset/migrations/versions/2022-06-27_14-59_7fb8bca906d2_permalink_rename_filterstate.py:78 — code-executing deserialiser |
7 locked dependencies have published vulnerabilities, 4 high or critical in what ships
adequate7 of 1,312 locked dependencies match 9 published advisories in OSV, 4 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.
superset-frontend/package-lock.json — brace-expansion 5.0.9: GHSA-6j4f-fj2g-mc7p (high), fixed in 5.0.10 |
superset-frontend/package-lock.json — image-size 0.7.5: GHSA-w3rx-r6r6-pgpr (high), fixed in 2.0.3 |
superset-frontend/package-lock.json — js-yaml 4.3.1: GHSA-2883-xcg3-v3hh (high), fixed in 4.3.2 |
7 places insert HTML from a variable without sanitising it
adequate7 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.
superset-frontend/plugins/preset-chart-deckgl/src/utilities/HandlebarsRenderer.tsx:82 — HTML from a variable |
superset-frontend/src/dashboard/components/gridComponents/Chart/Chart.tsx:806 — HTML from a variable |
superset-frontend/src/dashboard/util/injectCustomCss.ts:45 — HTML from a variable |
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.
superset-embedded-sdk/webpack.config.js:34 — source maps in a production build |
2 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.
superset-frontend/plugins/plugin-chart-calendar/src/vendor/cal-heatmap.ts — 1 tracked files, no licence file |
superset-frontend/plugins/plugin-chart-parallel-coordinates/src/vendor/parcoords — 2 tracked files, no licence file |
17 advisories against this project in the last 24 months, 5 high or critical
adequateThe newest was published on 2026-07-30. 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 13 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 0.20.1. Answer lives in: the release you run, set against each fixed version. GHSA-w6c7-j32f-rq8j (moderate), GHSA-2cx9-54hp-r698 (moderate), GHSA-92qf-8gh3-gwcm (low) 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: 2 records name superset with nothing tying them to this repository (CVE-2024-32973, CVE-2026-97711).
| 2026-07-30: CVE-2026-23981 (moderate): An Improper Authorization vulnerability exists in Apache Superset allowing an authenticated user with permissions to update charts to modify dashboards they do |
| 2026-07-30: CVE-2026-23985 (moderate): A Regular Expression Denial of Service (ReDoS) vulnerability exists in Apache Superset versions 1.5.0 through 5.0.0. The vulnerability is located in the sql_par |
| 2026-02-24: GHSA-3m2g-v7jf-7fxc (high), fixed in 6.0.0: Apache Superset Improper Authorization allows low-privileged users to bypass access controls |
| 2026-02-24: GHSA-48m2-v2r8-h23m (moderate), fixed in 4.1.2: Apache Superset: Incomplete DISALLOWED_SQL_FUNCTIONS default list for ClickHouse engine |
| 2026-02-24: GHSA-gvxg-9hqx-f4rg (moderate), fixed in 6.0.0: Apache Superset allows privileged users to conduct error-based SQL Injection |
Observability & Operations
adequateNo 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 3 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-compose-image-tag.yml:120 — image without a version |
Readiness and liveness probes are identical in 2 of 2 workloads
adequateBoth probes call the same endpoint. When a dependency slows down, the liveness probe fails with the readiness probe, so the platform restarts pods that only needed taking out of rotation, and a partial outage becomes a full one. Liveness should ask whether the process is alive; readiness whether it can serve.
helm/superset/values.yaml — same probe endpoint twice |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on apache/superset: 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.