← Back to scan
File as GitHub Issue repo: bokeh/bokeh

Push this scan report to bokeh/bokeh

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

`self.distribution` used but never assigned in __init__

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 SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… bokehjs/src/compiler/prelude.ts:119
CRIT MINED116 [MINED116] Workflow uses `secrets.AWS_SECRET_ACCESS_KEY` on a `pull_request` trigger: Thi… .github/workflows/bokeh-ci.yml:130
CRIT MINED116 [MINED116] Workflow uses `secrets.AWS_ACCESS_KEY_ID` on a `pull_request` trigger: This wo… .github/workflows/bokeh-ci.yml:129
HIGH MINED108 [MINED108] `self.distribution` used but never assigned in __init__: Method `run` of class… setup.py:154
HIGH MINED108 [MINED108] `self.distribution` used but never assigned in __init__: Method `run` of class… setup.py:149
HIGH MINED108 [MINED108] `self.distribution` used but never assigned in __init__: Method `run` of class… setup.py:144
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … bokehjs/make/tasks/_util.ts:28
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… bokehjs/examples/donut/donut.ts:111
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… bokehjs/make/task.ts:178
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… bokehjs/make/main.ts:14
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… bokehjs/examples/burtin/burtin.ts:145
HIGH MINED115 [MINED115] Action `codecov/codecov-action` pinned to mutable ref `@v3`: `uses: codecov/co… .github/workflows/bokeh-ci.yml:239
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/bokeh-ci.yml:226
HIGH MINED115 [MINED115] Action `codecov/codecov-action` pinned to mutable ref `@v3`: `uses: codecov/co… .github/workflows/bokeh-ci.yml:207
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/bokeh-ci.yml:187
HIGH MINED115 [MINED115] Action `codecov/codecov-action` pinned to mutable ref `@v3`: `uses: codecov/co… .github/workflows/bokeh-ci.yml:167
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/bokeh-ci.yml:154
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v3`: `uses: actions/u… .github/workflows/bokeh-ci.yml:143
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/bokeh-ci.yml:100
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/bokeh-ci.yml:78
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v3`: `uses: actions/u… .github/workflows/bokeh-ci.yml:60
HIGH MINED115 [MINED115] Action `conda-incubator/setup-miniconda` pinned to mutable ref `@v2`: `uses: c… .github/workflows/bokeh-ci.yml:26
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/bokeh-ci.yml:23
HIGH MINED115 [MINED115] Action `conda-incubator/setup-miniconda` pinned to mutable ref `@v2`: `uses: c… .github/workflows/bokeh-release-build.y…:40
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/bokeh-release-build.y…:38
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v1`: `uses: actions/u… .github/workflows/bokehjs-ci.yml:102
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v3`: `uses: actions/setup-… .github/workflows/bokehjs-ci.yml:30
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v3`: `uses: actions/checkout… .github/workflows/bokehjs-ci.yml:27
HIGH MINED115 [MINED115] Action `conda-incubator/setup-miniconda` pinned to mutable ref `@v2`: `uses: c… .github/workflows/bokeh-release-deploy.…:38
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/bokeh-release-deploy.…:36
HIGH MINED115 [MINED115] Action `github/codeql-action/analyze` pinned to mutable ref `@v2`: `uses: gith… .github/workflows/codeql-analysis.yml:37
HIGH MINED115 [MINED115] Action `github/codeql-action/init` pinned to mutable ref `@v2`: `uses: github/… .github/workflows/codeql-analysis.yml:32
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/codeql-analysis.yml:29
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v1`: `uses: actions/u… .github/workflows/bokeh-docker-build.yml:81
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v2`: `uses: actions/u… .github/workflows/bokeh-docker-build.yml:56
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v2`: `uses: actions/checkout… .github/workflows/bokeh-docker-build.yml:20
HIGH CORE_NO_TESTS No test files found
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. bokehjs/src/compiler/prelude.ts:86
MED WEB003 Public web service has no security.txt .well-known/security.txt
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… bokehjs/src/compiler/prelude.ts:224
LOW AIC003 Duplicated implementation block across source files bokehjs/src/lib/models/glyphs/quad.ts:18
LOW AIC003 Duplicated implementation block across source files bokehjs/src/lib/models/glyphs/patches.ts:69
LOW AIC003 Duplicated implementation block across source files bokehjs/src/lib/models/glyphs/patches.ts:25
LOW AIC003 Duplicated implementation block across source files bokehjs/src/lib/models/glyphs/marker.ts:88
LOW AIC003 Duplicated implementation block across source files bokehjs/src/lib/models/glyphs/lrtb.ts:92
LOW AIC003 Duplicated implementation block across source files bokehjs/src/lib/models/filters/customjs…:23
LOW AIC003 Duplicated implementation block across source files bokehjs/src/lib/models/annotations/text…:90
LOW AIC003 Duplicated implementation block across source files bokehjs/src/lib/models/annotations/labe…:20
LOW AIC003 Duplicated implementation block across source files bokehjs/src/lib/models/annotations/labe…:21
LOW AIC003 Duplicated implementation block across source files bokehjs/src/lib/models/annotations/html…:58
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. bokehjs/src/compiler/compiler.ts:71
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. bokehjs/src/compiler/build.ts:236
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … bokehjs/examples/tap/tap.ts:49
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … bokehjs/examples/hover/hover.ts:49
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … bokehjs/examples/donut/donut.ts:20
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … bokehjs/examples/legends/legends.ts:8
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … bokehjs/examples/burtin/burtin.ts:8
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … bokehjs/examples/anscombe/anscombe.ts:5
Reset to top 5 59 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `bokeh/bokeh`

**Score: 74/100 (B-)**  ·  59 findings  ·  scanned 2026-06-05 18:21 UTC  ·  45,126 LOC

| Severity | Count |
|---|---|
| CRITICAL | 3 |
| HIGH | 34 |
| MEDIUM | 3 |
| LOW | 11 |

📊 [Full filterable report](https://repobility.com/scan/dea5f77f-2879-485d-a7be-73ece6e6b077/)  ·  ![scorecard](https://repobility.com/scan/dea5f77f-2879-485d-a7be-73ece6e6b077/report.png?v=1780683706-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `bokehjs/src/compiler/prelude.ts:119`
2. **CRITICAL** `MINED116` — Workflow uses `secrets.AWS_SECRET_ACCESS_KEY` on a `pull_request` trigger
   `.github/workflows/bokeh-ci.yml:130` · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.AWS_ACCESS_KEY_ID` on a `pull_request` trigger
   `.github/workflows/bokeh-ci.yml:129` · ✓ Repobility
4. **HIGH** `MINED108` — `self.distribution` used but never assigned in __init__
   `setup.py:154` · ✓ Repobility
5. **HIGH** `MINED108` — `self.distribution` used but never assigned in __init__
   `setup.py:149` · ✓ Repobility

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/dea5f77f-2879-485d-a7be-73ece6e6b077/_
Megaproject â high spam risk
Could not determine 'bokeh/bokeh' 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
36/63 findings (57%) 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.