← Back to scan
File as GitHub Issue repo: rapidsai/cuml

Push this scan report to rapidsai/cuml

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

Lua Loadstring

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: `warnings` used but not imported: The file uses `warnings.some… .github/scripts/check_pr_release_target…:205
CRIT MINED107 [MINED107] Missing import: `string` used but not imported: The file uses `string.somethin… python/cuml/cuml/internals/base.py:144
CRIT MINED107 [MINED107] Missing import: `array` used but not imported: The file uses `array.something(… python/cuml/cuml/internals/validation.py:419
CRIT MINED005 [MINED005] Lua Loadstring: loadstring/load executes Lua code. Code injection. cpp/src_prims/matrix/reverse.cuh:60
CRIT MINED005 [MINED005] Lua Loadstring: loadstring/load executes Lua code. Code injection. cpp/src_prims/linalg/batched/gemv.cuh:75
HIGH MINED108 [MINED108] `self.shell` used but never assigned in __init__: Method `line_profile` of cla… python/cuml/cuml/accel/magics.py:180
HIGH MINED108 [MINED108] `self.shell` used but never assigned in __init__: Method `line_profile` of cla… python/cuml/cuml/accel/magics.py:175
HIGH MINED108 [MINED108] `self.shell` used but never assigned in __init__: Method `line_profile` of cla… python/cuml/cuml/accel/magics.py:169
HIGH MINED108 [MINED108] `self.shell` used but never assigned in __init__: Method `profile` of class `C… python/cuml/cuml/accel/magics.py:140
HIGH MINED108 [MINED108] `self.shell` used but never assigned in __init__: Method `profile` of class `C… python/cuml/cuml/accel/magics.py:137
HIGH MINED108 [MINED108] `self._maybe_pop_timer` used but never assigned in __init__: Method `_trace` o… python/cuml/cuml/accel/profilers.py:484
HIGH MINED108 [MINED108] `self._maybe_pop_timer` used but never assigned in __init__: Method `_trace` o… python/cuml/cuml/accel/profilers.py:480
HIGH MINED108 [MINED108] `self._trace` used but never assigned in __init__: Method `_trace` of class `L… python/cuml/cuml/accel/profilers.py:489
HIGH MINED108 [MINED108] `self.print_report` used but never assigned in __init__: Method `__exit__` of … python/cuml/cuml/accel/profilers.py:461
HIGH MINED108 [MINED108] `self._start_time` used but never assigned in __init__: Method `__exit__` of c… python/cuml/cuml/accel/profilers.py:457
HIGH MINED108 [MINED108] `self.start` used but never assigned in __init__: Method `__enter__` of class … python/cuml/cuml/accel/profilers.py:447
HIGH MINED108 [MINED108] `self._trace` used but never assigned in __init__: Method `start` of class `Li… python/cuml/cuml/accel/profilers.py:442
HIGH MINED108 [MINED108] `self._trace` used but never assigned in __init__: Method `start` of class `Li… python/cuml/cuml/accel/profilers.py:437
HIGH MINED108 [MINED108] `self._start_time` used but never assigned in __init__: Method `start` of clas… python/cuml/cuml/accel/profilers.py:440
HIGH MINED108 [MINED108] `self._old_trace` used but never assigned in __init__: Method `start` of class… python/cuml/cuml/accel/profilers.py:439
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… python/cuml/cuml/accel/runners.py:86
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… python/cuml/cuml/accel/runners.py:85
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… python/cuml/cuml/accel/magics.py:81
HIGH MINED011 [MINED011] Scala Get On Option: Option.get throws NoSuchElementException on None. Use get… cpp/src/umap/umap.cuh:57
HIGH MINED011 [MINED011] Scala Get On Option: Option.get throws NoSuchElementException on None. Use get… cpp/src/umap/optimize.cuh:171
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… cpp/scripts/run-clang-tidy.py:148
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… cpp/scripts/run-clang-tidy.py:89
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… cpp/scripts/cuda-memcheck.py:61
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … python/cuml/cuml/_thirdparty/sklearn/ut…:84
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … cpp/src/decisiontree/batched-levelalgo/…:135
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … ci/utils/nbtestlog2junitxml.py:45
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… python/cuml/cuml/accel/__main__.py:107
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… python/cuml/cuml/__init__.py:10
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… .github/scripts/check_pr_release_target…:201
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… .github/scripts/check_pr_release_target…:119
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/conda-cpp-post-build-check… .github/workflows/pr.yaml:334
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml` pinn… .github/workflows/pr.yaml:320
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml` pinn… .github/workflows/pr.yaml:306
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/custom-job.yaml` pinned to… .github/workflows/pr.yaml:290
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/checks.yaml` pinned to mut… .github/workflows/pr.yaml:276
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/changed-files.yaml` pinned… .github/workflows/pr.yaml:85
HIGH MINED115 [MINED115] Action `rapidsai/shared-actions/check_nightly_success/dispatch` pinned to muta… .github/workflows/pr.yaml:71
HIGH MINED115 [MINED115] Action `rapidsai/shared-actions/telemetry-dispatch-stash-base-env-vars` pinned… .github/workflows/pr.yaml:56
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/pr-builder.yaml` pinned to… .github/workflows/pr.yaml:42
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/project-get-set-single-sel… .github/workflows/pr_issue_status_autom…:83
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/project-get-set-single-sel… .github/workflows/pr_issue_status_autom…:31
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/project-get-item-id.yaml` … .github/workflows/pr_issue_status_autom…:16
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/breaking-change-alert.yaml… .github/workflows/trigger-breaking-chan…:21
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/wheels-test.yaml` pinned t… .github/workflows/test.yaml:228
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/wheels-test.yaml` pinned t… .github/workflows/test.yaml:213
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/wheels-test.yaml` pinned t… .github/workflows/test.yaml:190
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/wheels-test.yaml` pinned t… .github/workflows/test.yaml:175
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/custom-job.yaml` pinned to… .github/workflows/test.yaml:158
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml` p… .github/workflows/test.yaml:141
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml` p… .github/workflows/test.yaml:124
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml` p… .github/workflows/test.yaml:95
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml` p… .github/workflows/test.yaml:80
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml` p… .github/workflows/test.yaml:65
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml` pinn… .github/workflows/test.yaml:50
HIGH MINED115 [MINED115] Action `rapidsai/shared-workflows/.github/workflows/conda-cpp-post-build-check… .github/workflows/test.yaml:36
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/zizmorcore/zizmor-pre-commit` pinned to mu… .pre-commit-config.yaml:195
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/shellcheck-py/shellcheck-py` pinned to mut… .pre-commit-config.yaml:190
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/rapidsai/dependency-file-generator` pinned… .pre-commit-config.yaml:185
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/rapidsai/pre-commit-hooks` pinned to mutab… .pre-commit-config.yaml:109
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/codespell-project/codespell` pinned to mut… .pre-commit-config.yaml:39
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/pre-commit/mirrors-clang-format` pinned to… .pre-commit-config.yaml:33
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/MarcoGorelli/cython-lint` pinned to mutabl… .pre-commit-config.yaml:29
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/pycqa/isort` pinned to mutable rev `5.13.2… .pre-commit-config.yaml:22
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/astral-sh/ruff-pre-commit` pinned to mutab… .pre-commit-config.yaml:11
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/pre-commit/pre-commit-hooks` pinned to mut… .pre-commit-config.yaml:6
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… .github/scripts/check_pr_release_target…:119
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/cuml_accel_tests/upstream/x…:678
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/cuml_accel_tests/upstream/x…:575
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/cuml_accel_tests/upstream/x…:499
MED MINED109 [MINED109] Mutable default argument in `_benchmark_algo` (dict): `def _benchmark_algo(...… python/cuml/cuml/benchmark/automated/ut…:236
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/cuml/experimental/hyperopt_…:99
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/cuml/experimental/hyperopt_…:73
MED MINED109 [MINED109] Mutable default argument in `generate_docstring` (list): `def generate_docstri… python/cuml/cuml/common/doc_utils.py:120
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/cuml/health_checks/__main__…:63
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/cuml/benchmark/runners.py:227
MED MINED109 [MINED109] Mutable default argument in `_run_one_size` (dict): `def _run_one_size(... = [… python/cuml/cuml/benchmark/runners.py:260
MED MINED109 [MINED109] Mutable default argument in `run` (dict): `def run(... = []/{}/set())` — Pytho… python/cuml/cuml/benchmark/runners.py:194
MED MINED109 [MINED109] Mutable default argument in `_run_one_size` (dict): `def _run_one_size(... = [… python/cuml/cuml/benchmark/runners.py:78
MED MINED109 [MINED109] Mutable default argument in `run_variations` (list): `def run_variations(... =… python/cuml/cuml/benchmark/runners.py:390
MED MINED109 [MINED109] Mutable default argument in `run_cuml` (dict): `def run_cuml(... = []/{}/set()… python/cuml/cuml/benchmark/algorithms.py:229
MED MINED109 [MINED109] Mutable default argument in `run_cpu` (dict): `def run_cpu(... = []/{}/set())`… python/cuml/cuml/benchmark/algorithms.py:208
MED MINED109 [MINED109] Mutable default argument in `__init__` (dict): `def __init__(... = []/{}/set()… python/cuml/cuml/benchmark/algorithms.py:153
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/cuml/benchmark/gpu_check.py:38
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/cuml/accel/runners.py:88
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/cuml/accel/pytest_plugin.py:60
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/umap_dev_tools/web_results_…:633
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/umap_dev_tools/web_results_…:326
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/cuml/umap_dev_tools/run_umap_deb…:256
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… docs/source/sphinxext/github_link.py:127
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… docs/source/sphinxext/github_link.py:88
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… docs/source/sphinxext/github_link.py:83
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… python/cuml/cuml/model_selection/_split…:153
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … python/cuml/cuml/accel/runners.py:85
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … python/cuml/cuml/accel/magics.py:81
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … .github/scripts/check_pr_release_target…:17
MED COMP001 [COMP001] High cognitive complexity: Function `validate` has cognitive complexity 19 (Son… .github/scripts/check_pr_release_target…:172
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER .devcontainer/Dockerfile:20
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. cpp/scripts/cuda-memcheck.py:61
LOW COMP001 [COMP001] High cognitive complexity: Function `release_value` has cognitive complexity 9 … .github/scripts/check_pr_release_target…:138
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 10 (SonarSo… .github/scripts/check_pr_release_target…:236
LOW AIC003 Duplicated implementation block across source files python/libcuml/libcuml/_version.py:1
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml_accel_tests/upstream/x…:24
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/svm/svr.py:11
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/preprocessing/ordinale…:5
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/preprocessing/label.py:211
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/preprocessing/encoders…:472
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/linear_model/mbsgd_reg…:42
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/linear_model/lasso.py:36
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/feature_extraction/_ve…:274
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/feature_extraction/_tf…:62
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/ensemble/randomforestr…:201
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/ensemble/randomforestr…:129
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/ensemble/randomforestc…:47
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/decomposition/incremen…:496
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/datasets/classificatio…:25
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/dask/solvers/cd.py:36
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/dask/solvers/cd.py:22
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/dask/neighbors/nearest…:15
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/dask/neighbors/kneighb…:16
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/dask/linear_model/ridg…:55
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/dask/linear_model/lass…:20
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/dask/ensemble/randomfo…:11
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/dask/decomposition/tsv…:109
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/dask/common/part_utils…:30
LOW AIC003 Duplicated implementation block across source files python/cuml/cuml/covariance/ledoit_wolf…:88
LOW AIC003 Duplicated implementation block across source files cpp/src/glm/qn/simple_mat/sparse.hpp:27
LOW AIC003 Duplicated implementation block across source files cpp/include/cuml/solvers/cd_mg.hpp:29
LOW AIC003 Duplicated implementation block across source files cpp/include/cuml/linear_model/ridge_mg.…:21
LOW DKR011 Dockerfile installs recommended OS packages .devcontainer/Dockerfile:11
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… python/cuml/cuml/dask/decomposition/pca…:132
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… docs/source/sphinxext/github_link.py:57
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. cpp/src/tsne/tsne_runner.cuh:52
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. cpp/src/tsne/tsne.cu:42
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. cpp/examples/kmeans/prepare_input.py:72
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. cpp/examples/dbscan/gen_dataset.py:69
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… python/cuml/cuml/accel/__main__.py:108
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… python/cuml/cuml/__init__.py:11
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… .github/scripts/check_pr_release_target…:202
Reset to top 5 144 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `rapidsai/cuml`

**Score: 82/100 (A-)**  ·  187 findings  ·  scanned 2026-06-05 22:09 UTC  ·  153,968 LOC

| Severity | Count |
|---|---|
| CRITICAL | 5 |
| HIGH | 66 |
| MEDIUM | 33 |
| LOW | 31 |

📊 [Full filterable report](https://repobility.com/scan/b3d066e7-1cde-4e03-96f1-1c60f8282b9d/)  ·  ![scorecard](https://repobility.com/scan/b3d066e7-1cde-4e03-96f1-1c60f8282b9d/report.png?v=1780697343-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `warnings` used but not imported
   `.github/scripts/check_pr_release_target.py:205` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `string` used but not imported
   `python/cuml/cuml/internals/base.py:144` · ✓ Repobility
3. **CRITICAL** `MINED107` — Missing import: `array` used but not imported
   `python/cuml/cuml/internals/validation.py:419` · ✓ Repobility
4. **CRITICAL** `MINED005` — Lua Loadstring
   `cpp/src_prims/matrix/reverse.cuh:60` · CWE-95 · ✓ Repobility
5. **CRITICAL** `MINED005` — Lua Loadstring
   `cpp/src_prims/linalg/batched/gemv.cuh:75` · CWE-95 · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/b3d066e7-1cde-4e03-96f1-1c60f8282b9d/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 8 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 'rapidsai/cuml' 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
84/195 findings (43%) 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.