← Back to scan
File as GitHub Issue repo: apache/superset

Push this scan report to apache/superset

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Workflow uses `secrets.DOCKERHUB_TOKEN` on a `pull_request` trigger

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED107 [MINED107] Missing import: `queue` used but not imported: The file uses `queue.something(… scripts/benchmark_migration.py:83
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKERHUB_TOKEN` on a `pull_request` trigger: This work… .github/workflows/check-python-deps.yml:52
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKERHUB_USER` on a `pull_request` trigger: This workf… .github/workflows/check-python-deps.yml:51
CRIT MINED116 [MINED116] Workflow uses `secrets.CYPRESS_RECORD_KEY` on a `pull_request` trigger: This w… .github/workflows/superset-e2e.yml:154
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKERHUB_TOKEN` on a `pull_request` trigger: This work… .github/workflows/docker.yml:157
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKERHUB_USER` on a `pull_request` trigger: This workf… .github/workflows/docker.yml:156
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKERHUB_TOKEN` on a `pull_request` trigger: This work… .github/workflows/docker.yml:84
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKERHUB_USER` on a `pull_request` trigger: This workf… .github/workflows/docker.yml:83
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKERHUB_TOKEN` on a `pull_request` trigger: This work… .github/workflows/docker.yml:70
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKERHUB_USER` on a `pull_request` trigger: This workf… .github/workflows/docker.yml:69
HIGH MINED108 [MINED108] `self._git_checkout` used but never assigned in __init__: Method `_git_logs` o… RELEASING/changelog.py:297
HIGH MINED108 [MINED108] `self._git_checkout` used but never assigned in __init__: Method `_git_logs` o… RELEASING/changelog.py:290
HIGH MINED108 [MINED108] `self._git_get_current_head` used but never assigned in __init__: Method `_git… RELEASING/changelog.py:289
HIGH MINED108 [MINED108] `self._git_get_current_head` used but never assigned in __init__: Method `_git… RELEASING/changelog.py:282
HIGH MINED108 [MINED108] `self._git_logs` used but never assigned in __init__: Method `fetch` of class … RELEASING/changelog.py:264
HIGH MINED108 [MINED108] `self._parse_log` used but never assigned in __init__: Method `fetch` of class… RELEASING/changelog.py:264
HIGH MINED108 [MINED108] `self._parse_change_log` used but never assigned in __init__: Method `__repr__… RELEASING/changelog.py:220
HIGH MINED108 [MINED108] `self._get_changelog_version_head` used but never assigned in __init__: Method… RELEASING/changelog.py:197
HIGH MINED108 [MINED108] `self._get_pull_request_details` used but never assigned in __init__: Method `… RELEASING/changelog.py:206
HIGH MINED108 [MINED108] `self._get_github_login` used but never assigned in __init__: Method `__repr__… RELEASING/changelog.py:205
HIGH MINED108 [MINED108] `self._fetch_github_pr` used but never assigned in __init__: Method `_get_pull… RELEASING/changelog.py:136
HIGH MINED108 [MINED108] `self._is_risk_pull_request` used but never assigned in __init__: Method `_get… RELEASING/changelog.py:145
HIGH MINED108 [MINED108] `self._has_commit_migrations` used but never assigned in __init__: Method `_ge… RELEASING/changelog.py:138
HIGH MINED108 [MINED108] `self._fetch_github_pr` used but never assigned in __init__: Method `_get_gith… RELEASING/changelog.py:115
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… superset-frontend/packages/superset-ui-…:39
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… scripts/generate_frontend_ts_tasklist.js:72
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… scripts/generate_frontend_class_compone…:70
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… scripts/cypress_run.py:81
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… scripts/check-env.py:50
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … superset-core/src/superset_core/common/…:30
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … scripts/permissions_cleanup.py:40
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … scripts/check-env.py:195
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… scripts/extract_feature_flags.py:63
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… RELEASING/verify_release.py:103
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… scripts/extract_feature_flags.py:57
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… docs/src/theme/Root.js:95
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… RELEASING/verify_release.py:70
HIGH DKR014 Dockerfile copies the entire context without .dockerignore superset-websocket/Dockerfile:19
HIGH DKR006 Dockerfile pipes a remote script into a shell .devcontainer/Dockerfile:16
HIGH MINED126 [MINED126] Workflow container/services image `redis:7-alpine` unpinned: `container/servic… .github/workflows/superset-app-cli.yml:39
HIGH MINED126 [MINED126] Workflow container/services image `postgres:17-alpine` unpinned: `container/se… .github/workflows/superset-app-cli.yml:30
HIGH MINED126 [MINED126] Workflow container/services image `redis:7-alpine` unpinned: `container/servic… .github/workflows/superset-python-integ…:200
HIGH MINED126 [MINED126] Workflow container/services image `redis:7-alpine` unpinned: `container/servic… .github/workflows/superset-python-integ…:150
HIGH MINED126 [MINED126] Workflow container/services image `postgres:17-alpine` unpinned: `container/se… .github/workflows/superset-python-integ…:141
HIGH MINED126 [MINED126] Workflow container/services image `redis:7-alpine` unpinned: `container/servic… .github/workflows/superset-python-integ…:64
HIGH MINED126 [MINED126] Workflow container/services image `mysql:8.0` unpinned: `container/services im… .github/workflows/superset-python-integ…:51
HIGH MINED126 [MINED126] Workflow container/services image `redis:7-alpine` unpinned: `container/servic… .github/workflows/superset-e2e.yml:202
HIGH MINED126 [MINED126] Workflow container/services image `postgres:17-alpine` unpinned: `container/se… .github/workflows/superset-e2e.yml:195
HIGH MINED126 [MINED126] Workflow container/services image `redis:7-alpine` unpinned: `container/servic… .github/workflows/superset-e2e.yml:92
HIGH MINED126 [MINED126] Workflow container/services image `postgres:17-alpine` unpinned: `container/se… .github/workflows/superset-e2e.yml:85
HIGH MINED126 [MINED126] Workflow container/services image `redis:7-alpine` unpinned: `container/servic… .github/workflows/superset-python-prest…:125
HIGH MINED126 [MINED126] Workflow container/services image `postgres:17-alpine` unpinned: `container/se… .github/workflows/superset-python-prest…:116
HIGH MINED126 [MINED126] Workflow container/services image `redis:7-alpine` unpinned: `container/servic… .github/workflows/superset-python-prest…:70
HIGH MINED126 [MINED126] Workflow container/services image `starburstdata/presto:350-e.6` unpinned: `co… .github/workflows/superset-python-prest…:61
HIGH MINED126 [MINED126] Workflow container/services image `postgres:17-alpine` unpinned: `container/se… .github/workflows/superset-python-prest…:52
HIGH MINED126 [MINED126] Workflow container/services image `redis:7-alpine` unpinned: `container/servic… .github/workflows/superset-playwright.y…:78
HIGH MINED126 [MINED126] Workflow container/services image `postgres:17-alpine` unpinned: `container/se… .github/workflows/superset-playwright.y…:71
HIGH MINED118 [MINED118] Dockerfile FROM `python:3.11.13-trixie` not pinned by digest: `FROM python:3.1… .devcontainer/Dockerfile:2
HIGH MINED118 [MINED118] Dockerfile FROM `node:22-alpine` not pinned by digest: `FROM node:22-alpine` r… superset-websocket/Dockerfile:23
HIGH MINED118 [MINED118] Dockerfile FROM `node:22-alpine` not pinned by digest: `FROM node:22-alpine` r… superset-websocket/Dockerfile:15
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… superset-extensions-cli/src/superset_ex…:489
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… superset-extensions-cli/src/superset_ex…:605
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… superset-extensions-cli/src/superset_ex…:454
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… superset-extensions-cli/src/superset_ex…:310
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… setup.py:35
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … superset-frontend/packages/superset-ui-…:39
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… superset-frontend/packages/superset-cor…:26
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… superset-core/src/superset_core/common/…:76
MED COMP001 [COMP001] High cognitive complexity: Function `extract_custom_errors_from_file` has cogni… docs/scripts/extract_custom_errors.py:139
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR017 Dockerfile installs dependencies after copying the full source tree superset-websocket/Dockerfile:21
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED JRN002 Browser storage is used for session token material superset-frontend/cypress-base/cypress/…:427
MED JRN002 Browser storage is used for session token material superset-frontend/cypress-base/cypress/…:372
MED JRN002 Browser storage is used for session token material superset-frontend/cypress-base/cypress/…:337
MED JRN002 Browser storage is used for session token material superset-frontend/cypress-base/cypress/…:314
MED JRN002 Browser storage is used for session token material superset-frontend/cypress-base/cypress/…:230
MED JRN002 Browser storage is used for session token material superset-frontend/cypress-base/cypress/…:151
MED JRN002 Browser storage is used for session token material superset-frontend/cypress-base/cypress/…:121
MED DKR001 Docker final stage has no non-root USER .devcontainer/Dockerfile:2
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. scripts/cypress_run.py:81
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. scripts/check-env.py:50
LOW COMP001 [COMP001] High cognitive complexity: Function `verify_key` has cognitive complexity 9 (So… RELEASING/verify_release.py:141
LOW COMP001 [COMP001] High cognitive complexity: Function `get_gpg_info` has cognitive complexity 14 … RELEASING/verify_release.py:84
LOW AIC003 Duplicated implementation block across source files superset-frontend/packages/superset-ui-…:101
LOW AIC003 Duplicated implementation block across source files superset-frontend/cypress-base/cypress/…:2
LOW AIC003 Duplicated implementation block across source files superset-frontend/.eslintrc.minimal.js:5
LOW AIC003 Duplicated implementation block across source files scripts/generate_frontend_ts_tasklist.js:2
LOW DKR012 Dockerfile keeps pip download cache Dockerfile:285
LOW DKR012 Dockerfile keeps pip download cache Dockerfile:276
LOW DKR012 Dockerfile keeps pip download cache Dockerfile:266
LOW DKR012 Dockerfile keeps pip download cache Dockerfile:263
LOW DKR012 Dockerfile keeps pip download cache Dockerfile:235
LOW DKR012 Dockerfile keeps pip download cache Dockerfile:172
LOW DKR011 Dockerfile installs recommended OS packages .devcontainer/Dockerfile:6
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. superset-frontend/packages/superset-cor…:171
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. superset-frontend/packages/superset-cor…:66
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. superset-embedded-sdk/src/index.ts:47
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … superset-frontend/packages/superset-ui-…:29
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … superset-frontend/packages/superset-ui-…:62
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … superset-embedded-sdk/src/index.ts:217
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. superset-core/src/superset_core/rest_ap…:29
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. superset-core/src/superset_core/tasks/t…:87
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. superset-core/src/superset_core/semanti…:28
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. superset-core/src/superset_core/queries…:49
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… superset-core/src/superset_core/common/…:77
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… superset-core/src/superset_core/common/…:72
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… scripts/translations/build_translation_…:23
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … docs/src/theme/ReactLiveScope/index.tsx:55
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … docs/src/theme/Playground/Preview/index…:52
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … docs/plugins/robots-txt-plugin.js:80
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… superset-frontend/changelog.config.js:30
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… docs/src/pages/community.tsx:28
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… docker/pythonpath_dev/superset_config.py:116
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… RELEASING/verify_release.py:70
Reset to top 5 117 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `apache/superset`

**Score: 80/100 (A-)**  ·  142 findings  ·  scanned 2026-06-05 07:58 UTC  ·  51,813 LOC

| Severity | Count |
|---|---|
| CRITICAL | 10 |
| HIGH | 50 |
| MEDIUM | 24 |
| LOW | 13 |

📊 [Full filterable report](https://repobility.com/scan/5d27214b-831a-4ed2-ab07-27c1fa98ec8e/)  ·  ![scorecard](https://repobility.com/scan/5d27214b-831a-4ed2-ab07-27c1fa98ec8e/report.png?v=1780646330-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `queue` used but not imported
   `scripts/benchmark_migration.py:83` · ✓ Repobility
2. **CRITICAL** `MINED116` — Workflow uses `secrets.DOCKERHUB_TOKEN` on a `pull_request` trigger
   `.github/workflows/check-python-deps.yml:52` · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.DOCKERHUB_USER` on a `pull_request` trigger
   `.github/workflows/check-python-deps.yml:51` · ✓ Repobility
4. **CRITICAL** `MINED116` — Workflow uses `secrets.CYPRESS_RECORD_KEY` on a `pull_request` trigger
   `.github/workflows/superset-e2e.yml:154` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.DOCKERHUB_TOKEN` on a `pull_request` trigger
   `.github/workflows/docker.yml:157` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/5d27214b-831a-4ed2-ab07-27c1fa98ec8e/_
Already filed
'apache' is on the known-megaproject org list. These projects use auto-triage bots and established security disclosure channels. Unsolicited automated issues from Repobility would be perceived as AI-generated spam. For security findings, follow the project's SECURITY.md policy. For non-security findings, open a focused PR or community discussion instead.
Already filed
This repo publishes a SECURITY.md policy and the scan contains 11 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'apache/superset' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
60/149 findings (40%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.