Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
116 of your 156 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 9.71s · analysis 21.08s · 35.1 MB · GitHub API rate-limit (preflight)

ggml-org/whisper.cpp

https://github.com/ggml-org/whisper.cpp · scanned 2026-06-05 11:43 UTC (5 days, 10 hours ago) · 10 languages

380 raw signals (148 security + 232 graph) 11/13 scanners ran 75th percentile · Cpp · large (100-500K LoC) System graph score 77 (lower by 9)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 5 days, 10 hours ago · v2 · 98 actionable findings from 2 signal sources. 166 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 65.0 0.15 9.75
security_score 100.0 0.25 25.00
testing_score 26.0 0.20 5.20
documentation_score 87.0 0.15 13.05
practices_score 71.0 0.15 10.65
code_quality 44.0 0.10 4.40
Overall 1.00 68.0
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade B- (68/100). Dimensions: security 100, maintainability 65. 148 findings (59 security). 419,155 lines analyzed.

Showing 63 of 98 actionable findings. 264 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

low Security checks cicd CI/CD security conf 0.35 ✓ Repobility 7 occurrences Workflow references repository secrets in a pull_request workflow
Fork pull_request runs do not receive normal repository secrets on GitHub Actions. Review this as a reliability/intent signal, not as direct fork-secret exfiltration. Raise severity only for pull_request_target or another trusted-context path that runs untrusted PR code with secrets.
3 files, 7 locations
.github/workflows/build-cpu.yml:59, 87, 115, 143, 171 (5 hits)
.github/workflows/build-quantize.yml:36
.github/workflows/examples.yml:46
CI/CD securityworkflow secretsGitHub Actions
critical System graph security Secrets conf 1.00 Possible secret in scripts/apple/validate-ios.sh
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
scripts/apple/validate-ios.sh:696
critical System graph security Secrets conf 1.00 Possible secret in scripts/apple/validate-macos.sh
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
scripts/apple/validate-macos.sh:693
critical System graph security Secrets conf 1.00 Possible secret in scripts/apple/validate-tvos.sh
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
scripts/apple/validate-tvos.sh:689
critical System graph security Secrets conf 1.00 Possible secret in scripts/apple/validate-visionos.sh
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
scripts/apple/validate-visionos.sh:687
low Security checks quality Quality conf 1.00 ✓ Repobility [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and SystemExit from working.
Review and fix per the pattern semantics. See CWE-705 / for context.
examples/server.py:114
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic.
Review and fix per the pattern semantics. See CWE-78 / for context.
examples/common-whisper.cpp:237
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can contain "../" — directory escape.
Review and fix per the pattern semantics. See CWE-22 / A01:2021 for context.
ggml/src/ggml-webgpu/wgsl-shaders/embed_wgsl.py:15
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotlins null safety.
Review and fix per the pattern semantics. See CWE-476 / for context.
examples/whisper.android/app/src/main/java/com/whispercppdemo/ui/main/MainScreenViewModel.kt:113
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command injection.
Review and fix per the pattern semantics. See CWE-78 / for context.
scripts/bench.py:153
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command injection.
Review and fix per the pattern semantics. See CWE-78 / for context.
examples/python/whisper_processor.py:27
high Security checks quality Quality conf 1.00 ✓ Repobility 25 occurrences [MINED108] `self.path` used but never assigned in __init__: Method `do_GET` of class `CustomHTTPRequestHandler` reads `self.path`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
Initialize `self.path = <default>` in __init__, or add a class-level default.
lines 21, 22, 23, 24, 28, 30, 33, 34, +17 more
examples/server.py:21, 22, 23, 24, 28, 30, 33, 34, +17 more (25 hits)
high Security checks software dependencies conf 0.90 ✓ Repobility 6 occurrences [MINED118] Dockerfile FROM `intel/deep-learning-essentials (no tag)` not pinned by digest: `FROM intel/deep-learning-essentials (no tag)` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM intel/deep-learning-essentials (no tag)@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
3 files, 6 locations
.devops/main-intel.Dockerfile:2, 18 (2 hits)
.devops/main-vulkan.Dockerfile:1, 10 (2 hits)
.devops/main.Dockerfile:1, 10 (2 hits)
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `bindings/java/gradle/wrapper/gradle-wrapper.jar` committed in source repo: `bindings/java/gradle/wrapper/gradle-wrapper.jar` is a .jar binary (61,608 bytes) committed to a repo that otherwise has 843 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
bindings/java/gradle/wrapper/gradle-wrapper.jar:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `examples/whisper.android.java/gradle/wrapper/gradle-wrapper.jar` committed in source repo: `examples/whisper.android.java/gradle/wrapper/gradle-wrapper.jar` is a .jar binary (54,329 bytes) committed to a repo that otherwise has 843 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
examples/whisper.android.java/gradle/wrapper/gradle-wrapper.jar:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `examples/whisper.android/gradle/wrapper/gradle-wrapper.jar` committed in source repo: `examples/whisper.android/gradle/wrapper/gradle-wrapper.jar` is a .jar binary (59,203 bytes) committed to a repo that otherwise has 843 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
examples/whisper.android/gradle/wrapper/gradle-wrapper.jar:1
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
ggml/src/ggml-webgpu/wgsl-shaders/embed_wgsl.py:15
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
examples/whisper.android/app/src/main/java/com/whispercppdemo/ui/main/MainScreenViewModel.kt:218
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 74 occurrences GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `actions/setup-go` pinned to mutable ref `@v6`: `uses: actions/setup-go@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lo…
12 files, 66 locations
.github/workflows/release.yml:41, 103, 133, 159, 191, 197, 203, 210, +7 more (15 hits)
.github/workflows/build-self-hosted.yml:55, 69, 83, 97, 110 (10 hits)
.github/workflows/build-android.yml:33, 38, 62, 65 (8 hits)
.github/workflows/deploy-examples-wasm.yml:25, 28, 91, 97 (8 hits)
.github/workflows/build-gcc.yml:48, 93, 131 (6 hits)
.github/workflows/build-cpu.yml:41, 69, 97, 125, 153 (5 hits)
.github/workflows/build-sycl.yml:49, 73, 99, 123 (4 hits)
.github/workflows/bindings-go.yml:16, 19 (2 hits)
CI/CD securitySupply chainGitHub Actions
high System graph security security conf 1.00 Insecure pattern 'eval_used' in models/convert-h5-to-coreml.py:99
Found a known-risky pattern (eval_used). Review and replace if possible.
models/convert-h5-to-coreml.py:99 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in models/convert-whisper-to-coreml.py:249
Found a known-risky pattern (eval_used). Review and replace if possible.
models/convert-whisper-to-coreml.py:249 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in models/convert-whisper-to-openvino.py:10
Found a known-risky pattern (eval_used). Review and replace if possible.
models/convert-whisper-to-openvino.py:10 Eval used
medium Security checks software dependencies conf 0.90 ✓ Repobility 11 occurrences [MINED124] requirements.txt: `torch` has no version pin: Unpinned pip requirement means every fresh install may resolve a different version. Newer releases can introduce malicious code (typosquats, account compromises). Reproducible installs need exact pins.
Replace `torch` with `torch==<version>` and manage upgrades through PRs / Dependabot.
4 files, 11 locations
models/requirements-coreml.txt:1, 2, 3, 4 (4 hits)
tests/earnings21/requirements.txt:4, 5, 6 (3 hits)
tests/librispeech/requirements.txt:4, 5, 6 (3 hits)
models/requirements-openvino.txt:2
low Security checks security Injection conf 0.50 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input.
Use subprocess with shell=False and a list of args. Never eval user input.
scripts/bench.py:153
low Security checks security Injection conf 0.50 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input.
Use subprocess with shell=False and a list of args. Never eval user input.
examples/python/whisper_processor.py:27
medium Security checks quality Quality Average file size is 513 lines (recommend <300)
Refactor large files by extracting related functions into separate modules. Target files with 300+ lines first. Use the Single Responsibility Principle — each module should have one clear purpose.
low Security checks quality Error handling conf 0.55 ✓ Repobility Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
examples/python/whisper_processor.py:48 Error handlingquality
low Security checks quality Error handling conf 0.55 ✓ Repobility Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
models/convert-pt-to-ggml.py:206 Error handlingquality
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — examples/coi-serviceworker.js:36
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — examples/helpers.js:31
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph cicd CI/CD security conf 1.00 22 occurrences GitHub Action is tag-pinned rather than SHA-pinned
ggml-org/[email protected] can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
7 files, 22 locations
.github/workflows/build-gcc.yml:54, 96, 137 (6 hits)
.github/workflows/build-cpu.yml:44, 72, 100, 128, 156 (5 hits)
.github/workflows/release.yml:106, 162, 266, 343, 462 (5 hits)
.github/workflows/build-clang.yml:57, 101 (2 hits)
.github/workflows/build-macos.yml:50 (2 hits)
.github/workflows/build-freebsd.yml:39
.github/workflows/build-sanitize.yml:45
CI/CD securitySupply chainGitHub Actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/deploy-examples-wasm.yml CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/release.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in scripts/bench.py:154
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
scripts/bench.py:154 Subprocess shell true
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — examples/python/whisper_processor.py:27
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/bench.py:153
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
low Security checks quality Quality conf 0.60 10 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
10 files, 10 locations
ggml/src/ggml-hexagon/htp/hvx-div.h:186
ggml/src/ggml-hexagon/htp/rope-ops.c:1
ggml/src/ggml-hexagon/htp/set-rows-ops.c:10
ggml/src/ggml-hexagon/htp/sum-rows-ops.c:1
ggml/src/ggml-openvino/openvino/op/glu_swiglu.cpp:6
ggml/src/ggml-sycl/fattn-vec.hpp:16
ggml/src/ggml-zendnn/ggml-zendnn.cpp:307
models/convert-pt-to-ggml.py:18
duplicationquality
high Security checks quality Quality conf 0.62 Source file name looks like an AI patch artifact
Rename it to the domain concept it implements or merge it into the existing module it was meant to change.
ggml/src/ggml-hexagon/htp/hvx-copy.h:1
low System graph software Dead code candidate conf 1.00 File has no detected symbols: examples/addon.node/__test__/whisper.spec.js
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: examples/python/test_whisper_processor.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: examples/server/bench.js
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: examples/talk-llama/eleven-labs.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: models/ggml_to_pt.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/test-whisper.js
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: models/convert-pt-to-ggml.py:bytes_to_unicode, models/convert-h5-to-ggml.py:bytes_to_unicode This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separa…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: models/convert-whisper-to-coreml.py:forward, models/convert-whisper-to-coreml.py:forward, models/convert-whisper-to-coreml.py:forward, models/convert-whisper-to-coreml.py:forward This is *the* AI-coder failure mode (4× more duplication in vibe-coded …
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `dynCallLegacy` in bindings/javascript/whisper.js:8
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: correct_for_bias_scale_order_inversion
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/convert-whisper-to-coreml.py:38
low System graph software Dead code conf 1.00 Possibly dead Python function: forward
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/convert-whisper-to-coreml.py:226
low System graph software Dead code conf 1.00 Possibly dead Python function: install_hooks
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/convert-whisper-to-coreml.py:240
low System graph software Dead code conf 1.00 Possibly dead Python function: install_kv_cache_hooks
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/convert-whisper-to-coreml.py:229
low System graph software Dead code conf 1.00 Possibly dead Python function: linear_to_conv2d_map
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/convert-whisper-to-coreml.py:25
low System graph software Dead code conf 1.00 Possibly dead Python function: replacer
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
ggml/src/ggml-webgpu/wgsl-shaders/embed_wgsl.py:13
low System graph software Dead code conf 1.00 Possibly dead Python function: save_to_cache
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
models/convert-whisper-to-coreml.py:233
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — examples/addon.node/index.js:26
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — examples/addon.node/vad-example.js:34
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — examples/coi-serviceworker.js:99
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — examples/helpers.js:14
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — examples/wchess/wchess.wasm/chessboardjs-1.0.0/js/chessboard-1.0.0.js:705
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — examples/wchess/wchess.wasm/chessboardjs-1.0.0/js/chessboard-1.0.0.min.js:2
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — tests/test-whisper.js:19
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph quality Complexity conf 1.00 Very large file: examples/wchess/wchess.wasm/chessboardjs-1.0.0/js/chessboard-1.0.0.js (1817 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/8f067e77-350d-49ba-b080-7ee2e84cb4e7/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/8f067e77-350d-49ba-b080-7ee2e84cb4e7/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.