CRIT
MINED018
[MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo…
keras/src/utils/python_utils.py:95
CRIT
SEC081
[SEC081] Python: pickle.loads / marshal.loads on untrusted data: pickle.load(s) and marsh…
keras/src/utils/python_utils.py:95
CRIT
MINED107
Missing import: `array` used but not imported
keras/src/trainers/data_adapters/array_…:253
CRIT
MINED116
Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger
.github/workflows/gpu_tests.yml:87
CRIT
MINED116
Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger
.github/workflows/actions.yml:154
CRIT
MINED116
Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger
.github/workflows/actions.yml:101
CRIT
MINED116
Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger
.github/workflows/actions.yml:85
CRIT
MINED116
Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger
.github/workflows/tpu_tests.yml:86
HIGH
MINED036
[MINED036] Python Os System Call: os.system() invokes shell with no escaping.
pip_build.py:100
HIGH
MINED004
[MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums).
keras/src/legacy/preprocessing/text.py:66
HIGH
SEC078
[SEC078] Python: requests without timeout: requests.get/post without a timeout will hang …
keras/src/callbacks/remote_monitor.py:70
HIGH
MINED001
[MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e…
keras/src/legacy/saving/json_utils.py:126
HIGH
MINED001
[MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e…
keras/src/layers/normalization/group_no…:119
HIGH
MINED001
[MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e…
keras/src/backend/tensorflow/trackable.…:21
HIGH
SEC128
[SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call …
keras/src/dtype_policies/dtype_policy_m…:29
HIGH
SEC128
[SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call …
keras/src/callbacks/lambda_callback.py:75
HIGH
SEC128
[SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call …
keras/src/backend/tensorflow/optimizer.…:103
HIGH
MINED106
Phantom test coverage: test_basic_fit_no_training
integration_tests/basic_full_flow.py:50
HIGH
MINED106
Phantom test coverage: test_basic_fit
integration_tests/basic_full_flow.py:29
HIGH
MINED106
Phantom test coverage: test_step
guides/custom_train_step_in_torch.py:296
HIGH
MINED106
Phantom test coverage: test_step
guides/custom_train_step_in_tensorflow.…:276
HIGH
MINED106
Phantom test coverage: test_step
guides/writing_a_custom_training_loop_i…:251
HIGH
MINED106
Phantom test coverage: test_step
guides/custom_train_step_in_jax.py:298
HIGH
MINED108
`self.w` used but never assigned in __init__
guides/functional_api.py:632
HIGH
MINED108
`self.w` used but never assigned in __init__
guides/functional_api.py:612
HIGH
MINED108
`self.b` used but never assigned in __init__
guides/functional_api.py:612
HIGH
MINED108
`self.add_weight` used but never assigned in __init__
guides/functional_api.py:607
HIGH
MINED108
`self.add_weight` used but never assigned in __init__
guides/functional_api.py:602
HIGH
MINED108
`self.b` used but never assigned in __init__
guides/functional_api.py:607
HIGH
MINED108
`self.w` used but never assigned in __init__
guides/functional_api.py:602
HIGH
MINED108
`self.add_loss` used but never assigned in __init__
guides/writing_a_custom_training_loop_i…:486
HIGH
MINED108
`self.model` used but never assigned in __init__
guides/writing_your_own_callbacks.py:392
HIGH
MINED108
`self.model` used but never assigned in __init__
guides/writing_your_own_callbacks.py:399
HIGH
MINED108
`self.model` used but never assigned in __init__
guides/writing_your_own_callbacks.py:395
HIGH
MINED108
`self.stopped_epoch` used but never assigned in __init__
guides/writing_your_own_callbacks.py:355
HIGH
MINED108
`self.stopped_epoch` used but never assigned in __init__
guides/writing_your_own_callbacks.py:354
HIGH
MINED108
`self.model` used but never assigned in __init__
guides/writing_your_own_callbacks.py:351
HIGH
MINED108
`self.model` used but never assigned in __init__
guides/writing_your_own_callbacks.py:349
HIGH
MINED108
`self.model` used but never assigned in __init__
guides/writing_your_own_callbacks.py:344
HIGH
MINED108
`self.stopped_epoch` used but never assigned in __init__
guides/writing_your_own_callbacks.py:348
HIGH
MINED108
`self.wait` used but never assigned in __init__
guides/writing_your_own_callbacks.py:347
HIGH
MINED108
`self.wait` used but never assigned in __init__
guides/writing_your_own_callbacks.py:346
HIGH
MINED108
`self.wait` used but never assigned in __init__
guides/writing_your_own_callbacks.py:342
HIGH
MINED108
`self.best` used but never assigned in __init__
guides/writing_your_own_callbacks.py:341
HIGH
MINED108
`self.best` used but never assigned in __init__
guides/writing_your_own_callbacks.py:340
HIGH
MINED108
`self.best` used but never assigned in __init__
guides/writing_your_own_callbacks.py:336
HIGH
MINED108
`self.stopped_epoch` used but never assigned in __init__
guides/writing_your_own_callbacks.py:334
HIGH
MINED108
`self.wait` used but never assigned in __init__
guides/writing_your_own_callbacks.py:332
HIGH
COMP001
[COMP001] High cognitive complexity: Function `create_legacy_directory` has cognitive com…
api_gen.py:36
HIGH
MINED126
Workflow container/services image `python:3.11-slim` unpinned
.github/workflows/gpu_tests.yml:37
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/gpu_tests.yml:45
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/nightly.yml:88
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/nightly.yml:86
HIGH
MINED115
Action `actions/cache` pinned to mutable ref `@v5`
.github/workflows/nightly.yml:72
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/nightly.yml:63
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/nightly.yml:61
HIGH
MINED115
Action `actions/cache` pinned to mutable ref `@v5`
.github/workflows/nightly.yml:35
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/nightly.yml:26
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/nightly.yml:24
HIGH
MINED115
Action `actions/github-script` pinned to mutable ref `@v9`
.github/workflows/labeler.yaml:38
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/labeler.yaml:37
HIGH
MINED126
Workflow container/services image `python:3.11-slim` unpinned
.github/workflows/actions.yml:32
HIGH
MINED115
Action `actions/cache` pinned to mutable ref `@v5`
.github/workflows/actions.yml:177
HIGH
MINED115
Action `actions/setup-python` pinned to mutable ref `@v6`
.github/workflows/actions.yml:166
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/actions.yml:163
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/actions.yml:55
HIGH
MINED115
Action `actions/github-script` pinned to mutable ref `@v9`
.github/workflows/auto-assignment.yaml:17
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/auto-assignment.yaml:16
HIGH
MINED126
Workflow container/services image `python:3.11-slim` unpinned
.github/workflows/tpu_tests.yml:41
HIGH
MINED115
Action `actions/checkout` pinned to mutable ref `@v6`
.github/workflows/tpu_tests.yml:53
HIGH
MINED115
Action `actions/stale` pinned to mutable ref `@v10`
.github/workflows/stale-issue-pr.yaml:39
HIGH
MINED115
Action `actions/stale` pinned to mutable ref `@v10`
.github/workflows/stale-issue-pr.yaml:16
HIGH
MINED131
pre-commit hook `https://github.com/astral-sh/ruff-pre-commit` pinned to mutable rev `v0.…
.pre-commit-config.yaml:17
MED
SEC011
[SEC011] Unsafe PyTorch Model Loading: torch.load() uses pickle internally and can execut…
keras/src/utils/torch_utils.py:173
MED
ERR001
[ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even…
keras/src/utils/python_utils.py:191
MED
ERR001
[ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even…
keras/src/layers/normalization/group_no…:119
MED
SEC007
[SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code.
keras/src/utils/python_utils.py:95
MED
SEC007
[SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code.
keras/src/datasets/cifar.py:18
MED
SEC127
[SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T…
keras/src/backend/numpy/rnn.py:203
MED
SEC127
[SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T…
keras/src/backend/numpy/linalg.py:116
MED
SEC127
[SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T…
keras/src/backend/numpy/export.py:2
MED
MINED111
Bare except continues silently
keras/src/trainers/data_adapters/py_dat…:639
MED
MINED111
Bare except continues silently
keras/src/models/functional.py:242
MED
MINED111
Bare except continues silently
keras/src/models/sequential.py:167
MED
MINED111
Bare except continues silently
keras/src/trainers/compile_utils.py:764
MED
MINED111
Bare except continues silently
keras/src/trainers/compile_utils.py:757
MED
MINED111
Bare except continues silently
keras/src/trainers/compile_utils.py:665
MED
MINED111
Bare except continues silently
keras/src/ops/core.py:1106
MED
MINED111
Bare except continues silently
keras/src/ops/numpy.py:7152
MED
MINED111
Bare except continues silently
keras/src/layers/layer.py:1612
MED
MINED111
Bare except continues silently
keras/src/layers/layer.py:1568
MED
MINED111
Bare except continues silently
keras/src/layers/layer.py:1597
MED
MINED111
Bare except continues silently
keras/src/callbacks/tensorboard.py:688
MED
MINED111
Bare except continues silently
keras/src/saving/saving_lib.py:514
MED
MINED111
Bare except continues silently
keras/src/saving/saving_lib.py:229
MED
MINED111
Bare except continues silently
keras/src/saving/saving_lib.py:856
MED
MINED111
Bare except continues silently
keras/src/saving/saving_lib.py:844
MED
MINED111
Bare except continues silently
keras/src/saving/saving_lib.py:737
MED
COMP001
[COMP001] High cognitive complexity: Function `VGG16` has cognitive complexity 15 (SonarS…
keras/src/applications/vgg16.py:21
MED
MINED124
requirements.txt: `jax2onnx` has no version pin
requirements-common.txt:31
MED
MINED124
requirements.txt: `onnxruntime` has no version pin
requirements-common.txt:27
MED
MINED124
requirements.txt: `coverage` has no version pin
requirements-common.txt:25
MED
MINED124
requirements.txt: `dm_tree` has no version pin
requirements-common.txt:24
MED
MINED124
requirements.txt: `packaging` has no version pin
requirements-common.txt:22
MED
MINED124
requirements.txt: `pytest-xdist` has no version pin
requirements-common.txt:21
MED
MINED124
requirements.txt: `pytest-cov` has no version pin
requirements-common.txt:20
MED
MINED124
requirements.txt: `pytest` has no version pin
requirements-common.txt:19
MED
MINED124
requirements.txt: `optree` has no version pin
requirements-common.txt:18
MED
MINED124
requirements.txt: `build` has no version pin
requirements-common.txt:17
MED
MINED124
requirements.txt: `rich` has no version pin
requirements-common.txt:16
MED
MINED124
requirements.txt: `tensorboard-plugin-profile` has no version pin
requirements-common.txt:15
MED
MINED124
requirements.txt: `tensorboard` has no version pin
requirements-common.txt:14
MED
MINED124
requirements.txt: `protobuf` has no version pin
requirements-common.txt:13
MED
MINED124
requirements.txt: `ml-dtypes` has no version pin
requirements-common.txt:12
MED
MINED124
requirements.txt: `h5py` has no version pin
requirements-common.txt:11
MED
MINED124
requirements.txt: `requests` has no version pin
requirements-common.txt:10
MED
MINED124
requirements.txt: `absl-py` has no version pin
requirements-common.txt:9
MED
MINED124
requirements.txt: `pandas` has no version pin
requirements-common.txt:8
MED
MINED124
requirements.txt: `pillow` has no version pin
requirements-common.txt:7
MED
MINED124
requirements.txt: `scikit-learn` has no version pin
requirements-common.txt:6
MED
MINED124
requirements.txt: `scipy` has no version pin
requirements-common.txt:5
MED
MINED124
requirements.txt: `numpy` has no version pin
requirements-common.txt:4
MED
MINED124
requirements.txt: `ruff` has no version pin
requirements-common.txt:3
MED
MINED124
requirements.txt: `pre-commit` has no version pin
requirements-common.txt:1
LOW
COMP001
[COMP001] High cognitive complexity: Function `benchmark_train` has cognitive complexity …
benchmarks/layer_benchmark/base_benchma…:223
LOW
DEPCUR-GHA
GitHub Action `actions/setup-python@v6` is minor version(s) behind (latest v6.2.0)
.github/workflows/nightly.yml:26
LOW
DEPCUR-GHA
GitHub Action `actions/setup-python@v6` is minor version(s) behind (latest v6.2.0)
.github/workflows/actions.yml:166
LOW
DEPCUR-GHA
GitHub Action `actions/stale@v10` is minor version(s) behind (latest v10.3.0)
.github/workflows/stale-issue-pr.yaml:16
LOW
DEPCUR-PY
Python package `tensorflow-tpu` is minor version(s) behind (2.19.1 -> 2.20.0)
requirements-tensorflow-tpu.txt:3
LOW
DEPCUR-PY
Python package `tensorflow` is minor version(s) behind (2.20.0 -> 2.21.0)
requirements-tensorflow-cuda.txt:2
LOW
AIC003
Duplicated implementation block across source files
keras/api/utils/__init__.py:16
LOW
AIC003
Duplicated implementation block across source files
keras/api/utils/__init__.py:1
LOW
AIC003
Duplicated implementation block across source files
keras/api/saving/__init__.py:1
LOW
AIC003
Duplicated implementation block across source files
keras/api/quantizers/__init__.py:9
LOW
AIC003
Duplicated implementation block across source files
keras/api/optimizers/schedules/__init__…:1
LOW
AIC003
Duplicated implementation block across source files
keras/api/metrics/__init__.py:1
LOW
AIC003
Duplicated implementation block across source files
keras/api/losses/__init__.py:10
LOW
AIC003
Duplicated implementation block across source files
keras/api/layers/__init__.py:19
LOW
AIC003
Duplicated implementation block across source files
keras/api/initializers/__init__.py:22
LOW
AIC003
Duplicated implementation block across source files
keras/api/dtype_policies/__init__.py:8
LOW
AIC003
Duplicated implementation block across source files
keras/api/distillation/__init__.py:1
LOW
AIC003
Duplicated implementation block across source files
keras/api/config/__init__.py:1
LOW
AIC003
Duplicated implementation block across source files
keras/api/callbacks/__init__.py:14
LOW
AIC003
Duplicated implementation block across source files
keras/api/applications/resnet_v2/__init…:1
LOW
AIC003
Duplicated implementation block across source files
keras/api/applications/inception_resnet…:1
LOW
AIC003
Duplicated implementation block across source files
keras/api/applications/efficientnet_v2/…:5
LOW
AIC003
Duplicated implementation block across source files
keras/api/applications/efficientnet_v2/…:1
LOW
AIC003
Duplicated implementation block across source files
keras/api/applications/__init__.py:37
LOW
AIC003
Duplicated implementation block across source files
keras/api/_tf_keras/keras/utils/__init_…:16
LOW
AIC003
Duplicated implementation block across source files
keras/api/_tf_keras/keras/applications/…:5
LOW
AIC003
Duplicated implementation block across source files
guides/writing_a_custom_training_loop_i…:14
LOW
AIC003
Duplicated implementation block across source files
guides/writing_a_custom_training_loop_i…:14
LOW
AIC003
Duplicated implementation block across source files
guides/training_with_built_in_methods.py:792
LOW
AIC003
Duplicated implementation block across source files
guides/making_new_layers_and_models_via…:114
LOW
AIC003
Duplicated implementation block across source files
guides/distributed_training_with_torch.…:100
LOW
AIC003
Duplicated implementation block across source files
guides/distributed_training_with_torch.…:7
LOW
AIC003
Duplicated implementation block across source files
guides/distributed_training_with_tensor…:7
LOW
AIC003
Duplicated implementation block across source files
guides/custom_train_step_in_torch.py:36
LOW
AIC003
Duplicated implementation block across source files
guides/custom_train_step_in_torch.py:7
LOW
AIC003
Duplicated implementation block across source files
guides/custom_train_step_in_tensorflow.…:7
INFO
MINED067
[MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f…
keras/src/callbacks/remote_monitor.py:70
INFO
MINED077
[MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles.
keras/src/callbacks/lambda_callback.py:44
INFO
MINED072
[MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in.
keras/src/backend/numpy/layer.py:1
INFO
MINED072
[MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in.
keras/src/backend/jax/layer.py:13
INFO
MINED072
[MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in.
keras/src/backend/__init__.py:71
INFO
MINED050
[MINED050] Stub Only Function: Function declared but body is just pass, return None, rais…
keras/src/backend/jax/linalg.py:25
INFO
MINED050
[MINED050] Stub Only Function: Function declared but body is just pass, return None, rais…
keras/src/backend/jax/layer.py:14
INFO
MINED050
[MINED050] Stub Only Function: Function declared but body is just pass, return None, rais…
keras/src/backend/__init__.py:64
INFO
MINED064
[MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services.
benchmarks/torch_ctl_benchmark/conv_mod…:62
INFO
MINED064
[MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services.
benchmarks/model_benchmark/image_classi…:90
INFO
MINED064
[MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services.
benchmarks/layer_benchmark/base_benchma…:157
INFO
MINED063
[MINED063] Toctou Os Path Exists: if os.path.exists(p): open(p) — file can be replaced/de…
api_gen.py:103
INFO
MINED043
[MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr…
keras/src/datasets/mnist.py:16
INFO
MINED043
[MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr…
keras/src/datasets/boston_housing.py:25
INFO
MINED043
[MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr…
.github/workflows/scripts/labeler.js:7
INFO
MINED044
[MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger …
.github/workflows/scripts/labeler.js:32
INFO
MINED044
[MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger …
.github/workflows/scripts/auto-assignme…:39
INFO
DEPCUR-GHA
GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
.github/workflows/gpu_tests.yml:45
INFO
DEPCUR-GHA
GitHub Action `actions/cache@v5` is patch version(s) behind (latest v5.0.5)
.github/workflows/nightly.yml:35
INFO
DEPCUR-GHA
GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
.github/workflows/nightly.yml:24
INFO
DEPCUR-GHA
GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
.github/workflows/labeler.yaml:37
INFO
DEPCUR-GHA
GitHub Action `actions/cache@v5` is patch version(s) behind (latest v5.0.5)
.github/workflows/actions.yml:177
INFO
DEPCUR-GHA
GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
.github/workflows/actions.yml:55
INFO
DEPCUR-GHA
GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
.github/workflows/auto-assignment.yaml:16
INFO
DEPCUR-GHA
GitHub Action `actions/checkout@v6` is patch version(s) behind (latest v6.0.3)
.github/workflows/tpu_tests.yml:53