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.
168 of your 235 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 6.82s · analysis 27.02s · 11.5 MB · GitHub preflight 471ms

keras-team/keras

https://github.com/keras-team/keras · scanned 2026-06-05 09:00 UTC (5 days, 18 hours ago) · 10 languages

678 raw signals (224 security + 454 graph) 64th percentile · Python · large (100-500K LoC) System graph score 91 (lower by 11)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 5 days, 18 hours ago · v2 · 268 actionable findings from 2 signal sources. 183 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 60.0 0.15 9.00
security_score 81.0 0.25 20.25
testing_score 97.0 0.20 19.40
documentation_score 97.0 0.15 14.55
practices_score 81.0 0.15 12.15
code_quality 47.7 0.10 4.77
Overall 1.00 80.1
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade A- (80/100). Dimensions: security 81, maintainability 60. 224 findings (57 security). 320,534 lines analyzed.

Showing 137 of 268 actionable findings. 451 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.

critical Security checks quality Quality conf 1.00 [SEC081] Python: pickle.loads / marshal.loads on untrusted data: pickle.load(s) and marshal.load(s) execute arbitrary code on untrusted input. Ported from dlint DUO103 / DUO120 (BSD-3).
Use json, msgpack, or protobuf for untrusted data. If pickle is required, sign the payload with HMAC.
keras/src/utils/python_utils.py:95
high Security checks quality Quality conf 1.00 ✓ Repobility Missing import: `array` used but not imported
The file uses `array.something(...)` but never imports `array`. This raises NameError at runtime the first time the line executes.
keras/src/trainers/data_adapters/array_slicing.py:253
low Security checks cicd CI/CD security conf 0.35 ✓ Repobility 5 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, 5 locations
.github/workflows/actions.yml:85, 101, 154 (3 hits)
.github/workflows/gpu_tests.yml:87
.github/workflows/tpu_tests.yml:86
CI/CD securityworkflow secretsGitHub Actions
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED036] Python Os System Call: os.system() invokes shell with no escaping.
Review and fix per the pattern semantics. See CWE-78 / for context.
pip_build.py:100
high Security checks quality Quality conf 1.00 ✓ Repobility 25 occurrences `self.add_weight` used but never assigned in __init__
Method `build` of class `CustomDense` reads `self.add_weight`, 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.
3 files, 25 locations
guides/writing_your_own_callbacks.py:332, 334, 336, 340, 341, 342, 344, 346, +9 more (17 hits)
guides/functional_api.py:602, 607, 612, 632 (7 hits)
guides/writing_a_custom_training_loop_in_jax.py:486
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 39 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `actions/checkout` pinned to mutable ref `@v6` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
9 files, 39 locations
.github/workflows/nightly.yml:24, 26, 35, 61, 63, 72, 86, 88 (13 hits)
.github/workflows/actions.yml:55, 163, 166, 177 (8 hits)
.github/workflows/gemini-automated-issue-triage.yml:61, 77, 81, 120, 242 (5 hits)
.github/workflows/stale-issue-pr.yaml:16, 39 (4 hits)
.github/workflows/auto-assignment.yaml:16, 17 (2 hits)
.github/workflows/gpu_tests.yml:45 (2 hits)
.github/workflows/labeler.yaml:37, 38 (2 hits)
.github/workflows/tpu_tests.yml:53 (2 hits)
CI/CD securitySupply chainGitHub Actions
high Security checks quality Quality conf 1.00 ✓ Repobility 4 occurrences Phantom test coverage: test_step
Test function `test_step` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
4 files, 4 locations
guides/custom_train_step_in_jax.py:298
guides/custom_train_step_in_tensorflow.py:276
guides/custom_train_step_in_torch.py:296
guides/writing_a_custom_training_loop_in_tensorflow.py:251
high Security checks software dependencies conf 0.90 ✓ Repobility pre-commit hook `https://github.com/astral-sh/ruff-pre-commit` pinned to mutable rev `v0.9.2`
`.pre-commit-config.yaml` references `https://github.com/astral-sh/ruff-pre-commit` at `rev: v0.9.2`. If `{rev}` is a branch or version tag, the repo owner can push new code there and `pre-commit install --install-hooks` will fetch it on every developer's machine.
.pre-commit-config.yaml:17
high Security checks software dependencies conf 0.90 ✓ Repobility 3 occurrences Workflow container/services image `python:3.11-slim` unpinned
`container/services image: python:3.11-slim` without `@sha256:...` pulls a mutable tag at workflow-run time. Treat workflow container references with the same supply-chain discipline as Dockerfile FROM lines.
3 files, 3 locations
.github/workflows/actions.yml:32
.github/workflows/gpu_tests.yml:37
.github/workflows/tpu_tests.yml:41
high System graph security security conf 1.00 Insecure pattern 'eval_used' in keras/src/backend/torch/trainer.py:281
Found a known-risky pattern (eval_used). Review and replace if possible.
keras/src/backend/torch/trainer.py:281 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in keras/src/export/litert.py:234
Found a known-risky pattern (eval_used). Review and replace if possible.
keras/src/export/litert.py:234 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in keras/src/export/onnx.py:174
Found a known-risky pattern (eval_used). Review and replace if possible.
keras/src/export/onnx.py:174 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in keras/src/export/openvino.py:128
Found a known-risky pattern (eval_used). Review and replace if possible.
keras/src/export/openvino.py:128 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in keras/src/utils/torch_utils.py:122
Found a known-risky pattern (eval_used). Review and replace if possible.
keras/src/utils/torch_utils.py:122 Eval used
high System graph cicd CI/CD security conf 1.00 pip extra-index-url can enable dependency confusion
pip --extra-index-url searches an additional package index and can resolve public packages when a private package name is missing or has a lower version. Prefer a single controlled index or explicit hashes and package source policy.
requirements.txt CI/CD securitySupply chainPypi
low Security checks quality Error handling conf 1.00 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level.
Log the error: `except Exception: logger.debug('cleanup failed', exc_info=True)`. Or handle specific exception types.
keras/src/utils/python_utils.py:191
low Security checks quality Error handling conf 1.00 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level.
Log the error: `except Exception: logger.debug('cleanup failed', exc_info=True)`. Or handle specific exception types.
keras/src/layers/normalization/group_normalization.py:119
low Security checks security Deserialization conf 1.00 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code.
Use yaml.safe_load() instead of yaml.load(). Avoid pickle for untrusted data.
keras/src/utils/python_utils.py:95
low Security checks security Deserialization conf 1.00 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code.
Use yaml.safe_load() instead of yaml.load(). Avoid pickle for untrusted data.
keras/src/datasets/cifar.py:18
low Security checks quality Error handling conf 0.55 ✓ Repobility 17 occurrences 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.
9 files, 17 locations
keras/src/saving/saving_lib.py:229, 514, 737, 844, 856 (5 hits)
keras/src/layers/layer.py:1568, 1597, 1612 (3 hits)
keras/src/trainers/compile_utils.py:665, 757, 764 (3 hits)
keras/src/callbacks/tensorboard.py:688
keras/src/models/functional.py:242
keras/src/models/sequential.py:167
keras/src/ops/core.py:1106
keras/src/ops/numpy.py:7152
Error handlingquality
medium Security checks software dependencies conf 0.90 ✓ Repobility 25 occurrences requirements.txt: `pre-commit` 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.
lines 1, 3, 4, 5, 6, 7, 8, 9, +17 more
requirements-common.txt:1, 3, 4, 5, 6, 7, 8, 9, +17 more (25 hits)
medium System graph cicd CI/CD security conf 1.00 GitHub Action is tag-pinned rather than SHA-pinned
google-github-actions/[email protected] can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/gemini-automated-issue-triage.yml:165 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/scorecard.yml CI/CD securitySupply chainGithub actions
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — pip_build.py:125
`subprocess.run(...)` 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 30 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.
12 files, 16 locations
guides/custom_train_step_in_torch.py:7, 36 (2 hits)
guides/distributed_training_with_torch.py:7, 100 (2 hits)
keras/api/applications/efficientnet_v2/__init__.py:1, 5 (2 hits)
keras/api/utils/__init__.py:1, 16 (2 hits)
guides/custom_train_step_in_tensorflow.py:7
guides/distributed_training_with_tensorflow.py:7
guides/making_new_layers_and_models_via_subclassing.py:114
guides/training_with_built_in_methods.py:792
duplicationquality
high Security checks software dependencies conf 0.90 GitHub Action `actions/setup-python@v6` is minor version(s) behind (latest v6.2.0)
`uses: actions/setup-python@v6` is minor version(s) behind the latest published release v6.2.0. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/nightly.yml:26
high Security checks software dependencies conf 0.90 GitHub Action `actions/setup-python@v6` is minor version(s) behind (latest v6.2.0)
`uses: actions/setup-python@v6` is minor version(s) behind the latest published release v6.2.0. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/actions.yml:166
high Security checks software dependencies conf 0.90 GitHub Action `actions/stale@v10` is minor version(s) behind (latest v10.3.0)
`uses: actions/stale@v10` is minor version(s) behind the latest published release v10.3.0. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/stale-issue-pr.yaml:16
low Security checks software dependencies conf 0.90 Python package `tensorflow-tpu` is minor version(s) behind (2.19.1 -> 2.20.0)
`tensorflow-tpu==2.19.1` is minor version(s) behind the latest stable release on PyPI (2.20.0). Pinned-but-stale Python dependencies drift away from upstream security and bugfix releases. This is the version-currency signal Dependabot raises.
requirements-tensorflow-tpu.txt:3
low Security checks software dependencies conf 0.90 Python package `tensorflow` is minor version(s) behind (2.20.0 -> 2.21.0)
`tensorflow==2.20.0` is minor version(s) behind the latest stable release on PyPI (2.21.0). Pinned-but-stale Python dependencies drift away from upstream security and bugfix releases. This is the version-currency signal Dependabot raises.
requirements-tensorflow-cuda.txt:2
low System graph quality Maintenance conf 1.00 118 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: .github/workflows/scripts/auto-assignment.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: .github/workflows/scripts/labeler.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/demo_functional.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/demo_mnist_convnet.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: guides/sequential_model.py
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 11 places
Functions with the same first-5-line body hash: benchmarks/layer_benchmark/rnn_benchmark.py:main, benchmarks/layer_benchmark/merge_benchmark.py:main, benchmarks/layer_benchmark/random_rotation_benchmark.py:main, benchmarks/layer_benchmark/regularization_benchmark.py:main This is *the* AI-coder fai…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 12 places
Functions with the same first-5-line body hash: keras/src/losses/losses_test.py:test_zero_weighted, keras/src/losses/losses_test.py:test_zero_weighted, keras/src/losses/losses_test.py:test_zero_weighted, keras/src/losses/losses_test.py:test_zero_weighted This is *the* AI-coder failure mode (4× mor…
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 14 places
Functions with the same first-5-line body hash: keras/src/losses/losses_test.py:test_scalar_weighted, keras/src/losses/losses_test.py:test_scalar_weighted, keras/src/losses/losses_test.py:test_scalar_weighted, keras/src/losses/losses_test.py:test_scalar_weighted This is *the* AI-coder failure mode…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 17 places
Functions with the same first-5-line body hash: keras/src/losses/losses_test.py:test_unweighted, keras/src/losses/losses_test.py:test_unweighted, keras/src/losses/losses_test.py:test_unweighted, keras/src/losses/losses_test.py:test_unweighted This is *the* AI-coder failure mode (4× more duplicatio…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 19 places
Functions with the same first-5-line body hash: keras/src/losses/losses_test.py:test_config, keras/src/losses/losses_test.py:test_config, keras/src/losses/losses_test.py:test_config, keras/src/losses/losses_test.py:test_config This is *the* AI-coder failure mode (4× more duplication in vibe-coded …
duplicatesduplication
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: benchmarks/layer_benchmark/base_benchmark.py:benchmark_predict, benchmarks/layer_benchmark/base_benchmark.py:benchmark_train This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidat…
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 22 places
Functions with the same first-5-line body hash: keras/src/losses/losses_test.py:test_dtype_arg, keras/src/losses/losses_test.py:test_dtype_arg, keras/src/losses/losses_test.py:test_dtype_arg, keras/src/losses/losses_test.py:test_dtype_arg This is *the* AI-coder failure mode (4× more duplication in…
duplicatesduplication
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: benchmarks/layer_benchmark/base_benchmark.py:on_train_batch_begin, benchmarks/layer_benchmark/base_benchmark.py:on_train_batch_begin, benchmarks/layer_benchmark/base_benchmark.py:on_train_batch_begin This is *the* AI-coder failure mode (4× more dupli…
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: keras/src/losses/losses_test.py:test_mean_with_sample_weight_reduction, keras/src/losses/losses_test.py:test_mean_with_sample_weight_reduction, keras/src/losses/losses_test.py:test_mean_with_sample_weight_reduction, keras/src/losses/losses_test.py:tes…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: benchmarks/layer_benchmark/base_benchmark.py:on_train_batch_end, benchmarks/layer_benchmark/base_benchmark.py:on_predict_batch_end, benchmarks/layer_benchmark/base_benchmark.py:on_train_batch_end, benchmarks/layer_benchmark/base_benchmark.py:on_predic…
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 9 places
Functions with the same first-5-line body hash: keras/src/losses/losses_test.py:test_all_correct_unweighted, keras/src/losses/losses_test.py:test_all_correct_unweighted, keras/src/losses/losses_test.py:test_all_correct_unweighted, keras/src/losses/losses_test.py:test_all_correct This is *the* AI-c…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_no_top_v2` in keras/src/applications/mobilenet_v3.py:391
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 quality Integrity conf 1.00 Old/deprecated-named symbol `efficientnet_v2` in keras/api/_tf_keras/keras/applications/__init__.py:10
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 quality Integrity conf 1.00 Old/deprecated-named symbol `efficientnet_v2` in keras/api/_tf_keras/keras/applications/efficientnet_v2/__init__.py:7
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 quality Integrity conf 1.00 Old/deprecated-named symbol `efficientnet_v2` in keras/api/applications/__init__.py:10
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 quality Integrity conf 1.00 Old/deprecated-named symbol `efficientnet_v2` in keras/api/applications/efficientnet_v2/__init__.py:7
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 quality Integrity conf 1.00 Old/deprecated-named symbol `efficientnet_v2` in keras/src/applications/applications_test.py:12
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 quality Integrity conf 1.00 Old/deprecated-named symbol `efficientnet_v2` in keras/src/applications/efficientnet_v2.py:13
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 quality Integrity conf 1.00 Old/deprecated-named symbol `flat_old` in keras/src/backend/openvino/rnn.py:224
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 quality Integrity conf 1.00 Old/deprecated-named symbol `inception_resnet_v2` in keras/api/_tf_keras/keras/applications/inception_resnet_v2/__init__.py:7
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 quality Integrity conf 1.00 Old/deprecated-named symbol `inception_resnet_v2` in keras/api/applications/inception_resnet_v2/__init__.py:7
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 quality Integrity conf 1.00 Old/deprecated-named symbol `inception_resnet_v2` in keras/src/applications/inception_resnet_v2.py:12
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 quality Integrity conf 1.00 Old/deprecated-named symbol `kept_dims_copy` in keras/src/ops/numpy.py:3124
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 quality Integrity conf 1.00 Old/deprecated-named symbol `mobilenet_v2` in keras/api/_tf_keras/keras/applications/mobilenet_v2/__init__.py:7
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 quality Integrity conf 1.00 Old/deprecated-named symbol `mobilenet_v2` in keras/api/applications/mobilenet_v2/__init__.py:7
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 quality Integrity conf 1.00 Old/deprecated-named symbol `mobilenet_v2` in keras/src/applications/mobilenet_v2.py:12
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 quality Integrity conf 1.00 Old/deprecated-named symbol `mock_copy` in keras/src/saving/saving_lib_test.py:453
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 quality Integrity conf 1.00 Old/deprecated-named symbol `momentum_old` in keras/src/optimizers/schedule_free_adamw.py:136
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 quality Integrity conf 1.00 Old/deprecated-named symbol `output_copy` in keras/src/models/functional.py:936
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 quality Integrity conf 1.00 Old/deprecated-named symbol `reduced_inputs_shapes_copy` in keras/src/layers/merging/concatenate.py:55
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 quality Integrity conf 1.00 Old/deprecated-named symbol `residual_block_v1` in keras/src/applications/resnet.py:219
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 quality Integrity conf 1.00 Old/deprecated-named symbol `resnet_v2` in keras/api/_tf_keras/keras/applications/resnet_v2/__init__.py:7
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 quality Integrity conf 1.00 Old/deprecated-named symbol `resnet_v2` in keras/api/applications/resnet_v2/__init__.py:7
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 quality Integrity conf 1.00 Old/deprecated-named symbol `resnet_v2` in keras/src/applications/resnet_v2.py:9
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 quality Integrity conf 1.00 Old/deprecated-named symbol `summary_ops_v2` in keras/src/callbacks/tensorboard_test.py:95
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 quality Integrity conf 1.00 Old/deprecated-named symbol `test_copy` in keras/src/ops/numpy_test.py:1664
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 quality Integrity conf 1.00 Old/deprecated-named symbol `test_copy` in keras/src/utils/file_utils_test.py:593
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 quality Integrity conf 1.00 Old/deprecated-named symbol `test_input_shape_deprecated` in keras/src/layers/core/input_layer_test.py:117
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 quality Integrity conf 1.00 Old/deprecated-named symbol `test_raise_error_terminate_preserves_backup` in keras/src/callbacks/terminate_on_nan_test.py:136
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 quality Integrity conf 1.00 Old/deprecated-named symbol `to_copy` in pip_build.py:36
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 quality Integrity conf 1.00 Old/deprecated-named symbol `unfold_copy` in keras/src/backend/torch/math.py:115
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: ignore_files
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
api_gen.py:19
low System graph software Dead code conf 1.00 Possibly dead Python function: ignore_files
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
pip_build.py:65
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — .github/workflows/scripts/auto-assignment.js:39
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 — .github/workflows/scripts/labeler.js:32
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 Integrity conf 1.00 Stub function `batch_size` (body is just `pass`/`return`) — keras/src/trainers/data_adapters/py_dataset_adapter.py:355
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `build` (body is just `pass`/`return`) — keras/src/backend/tensorflow/saved_model_test.py:230
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `build` (body is just `pass`/`return`) — keras/src/layers/preprocessing/text_vectorization.py:372
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `call` (body is just `pass`/`return`) — keras/src/layers/core/input_layer.py:123
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `compute_mask` (body is just `pass`/`return`) — keras/src/layers/merging/dot.py:348
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `compute_mask` (body is just `pass`/`return`) — keras/src/layers/pooling/global_average_pooling1d.py:85
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `custom_callback` (body is just `pass`/`return`) — keras/src/callbacks/lambda_callback_test.py:133
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `custom_fn` (body is just `pass`/`return`) — keras/src/saving/object_registration_test.py:9
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `default_value` (body is just `pass`/`return`) — keras/src/tree/tree_test.py:57
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `dummy_function` (body is just `pass`/`return`) — keras/src/utils/python_utils_test.py:29
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `get_random_transformation` (body is just `pass`/`return`) — keras/src/layers/preprocessing/image_preprocessing/base_image_preprocessing_layer.py:58
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `get` (body is just `pass`/`return`) — keras/src/legacy/saving/serialization.py:78
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `has_partial_batch` (body is just `pass`/`return`) — keras/src/trainers/data_adapters/tf_dataset_adapter.py:85
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `mock_function` (body is just `pass`/`return`) — keras/src/utils/naming_test.py:109
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `num_batches` (body is just `pass`/`return`) — keras/src/trainers/data_adapters/generator_data_adapter.py:75
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `num_batches` (body is just `pass`/`return`) — keras/src/trainers/data_adapters/grain_dataset_adapter.py:205
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `save_own_variables` (body is just `pass`/`return`) — keras/src/layers/preprocessing/feature_space.py:814
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/common/variables_test.py (1305 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/jax/nn.py (2062 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/numpy/nn.py (1637 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/openvino/core.py (1847 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/openvino/image.py (2077 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/openvino/linalg.py (1653 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/openvino/numpy.py (5959 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/tensorflow/nn.py (1905 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/tensorflow/numpy.py (4004 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/torch/nn.py (1641 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/backend/torch/numpy.py (2478 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/layers/core/dense_test.py (1438 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/layers/core/einsum_dense.py (1976 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/layers/core/einsum_dense_test.py (1847 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/layers/layer.py (2086 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/layers/layer_test.py (1945 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/legacy/backend.py (2292 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/legacy/preprocessing/image.py (1884 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/losses/losses.py (2793 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/losses/losses_test.py (2277 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/metrics/confusion_metrics.py (1598 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/metrics/confusion_metrics_test.py (1781 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/ops/core_test.py (1940 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/ops/image.py (2435 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/ops/image_test.py (3315 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/ops/math_test.py (1784 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/ops/nn.py (3662 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/ops/nn_test.py (3990 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/ops/numpy.py (10030 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/ops/numpy_test.py (12536 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/saving/saving_lib.py (2067 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/saving/saving_lib_test.py (1844 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/trainers/trainer.py (1196 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/trainers/trainer_test.py (2933 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: keras/src/tree/tree_test.py (2508 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
high Security checks software dependencies conf 0.90 GitHub Action `actions/cache@v5` is patch version(s) behind (latest v5.0.5)
`uses: actions/cache@v5` is patch version(s) behind the latest published release v5.0.5. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/nightly.yml:35
high Security checks software dependencies conf 0.90 GitHub Action `actions/cache@v5` is patch version(s) behind (latest v5.0.5)
`uses: actions/cache@v5` is patch version(s) behind the latest published release v5.0.5. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
.github/workflows/actions.yml:177
high Security checks software dependencies conf 0.90 6 occurrences GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
`uses: actions/checkout@v6` is patch version(s) behind the latest published release v6.0.3. Old action majors run on deprecated runner images / Node versions and miss upstream fixes. This is the exact 'outdated GitHub Action' class Dependabot raises — and which Repobility had no coverage for.
6 files, 6 locations
.github/workflows/actions.yml:55
.github/workflows/auto-assignment.yaml:16
.github/workflows/gpu_tests.yml:45
.github/workflows/labeler.yaml:37
.github/workflows/nightly.yml:24
.github/workflows/tpu_tests.yml:53
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/4329732e-5793-407d-8354-c73b8f78756d/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/4329732e-5793-407d-8354-c73b8f78756d/

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.