Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade tensorflow/tensorflow from latest to 2.18.0rc1 #395

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

fix: Dockerfile.cpu to reduce vulnerabilities

bf52d78
Select commit
Loading
Failed to load commit list.
Open

[Snyk] Security upgrade tensorflow/tensorflow from latest to 2.18.0rc1 #395

fix: Dockerfile.cpu to reduce vulnerabilities
bf52d78
Select commit
Loading
Failed to load commit list.
Cyclopt Source Code Analyzer / Analysis Results succeeded Oct 11, 2024 in 1m 37s

Code Analysis Results

🔍 Summary

Violations Info

Violations Count Status
Minor 236
Major 75
Critical 20
Total 331

Vulnerabilities Info

Violations Count Status
Low 0
Moderate 1
High 0
Critical 0
Total 1

Duplications Info

  • Total Duplicate Instances: 141
  • Total Duplicate Lines of Code: 4115
  • Files Containing Clones: 66

📝 Changes in Files

Libraries Vulnerabilities

🛡️ Secure changes! Your latest updates did not introduce any new security vulnerabilities.

Duplications Code

Clone Instances Lines of Code Files
14 36 /plugins/train/model/unbalanced_defaults.py (Lines 5-41)
/plugins/train/model/dfl_h128_defaults.py (Lines 5-41)
/plugins/train/model/dfl_sae_defaults.py (Lines 5-41)
/plugins/train/model/villain_defaults.py (Lines 5-41)
/plugins/train/model/dlight_defaults.py (Lines 5-41)
/plugins/train/model/realface_defaults.py (Lines 5-41)
/plugins/train/trainer/original_defaults.py (Lines 5-41)
/plugins/convert/writer/ffmpeg_defaults.py (Lines 5-41)
/plugins/convert/writer/opencv_defaults.py (Lines 5-41)
/plugins/convert/writer/gif_defaults.py (Lines 5-41)
/plugins/convert/scaling/sharpen_defaults.py (Lines 5-41)
/plugins/convert/color/match_hist_defaults.py (Lines 5-41)
/plugins/convert/color/manual_balance_defaults.py (Lines 5-41)
/plugins/convert/color/color_transfer_defaults.py (Lines 5-41)
9 41 /plugins/extract/mask/custom_defaults.py (Lines 5-46)
/plugins/extract/mask/bisenet_fp_defaults.py (Lines 5-46)
/plugins/extract/detect/s3fd_defaults.py (Lines 5-46)
/plugins/extract/detect/cv2_dnn_defaults.py (Lines 5-46)
/plugins/extract/detect/mtcnn_defaults.py (Lines 5-46)
/plugins/extract/align/fan_defaults.py (Lines 5-46)
/plugins/extract/mask/vgg_obstructed_defaults.py (Lines 5-46)
/plugins/extract/mask/unet_dfl_defaults.py (Lines 5-46)
/plugins/extract/mask/vgg_clear_defaults.py (Lines 5-46)
6 25 /plugins/train/model/unbalanced_defaults.py (Lines 19-44)
/plugins/train/model/villain_defaults.py (Lines 19-44)
/plugins/train/model/realface_defaults.py (Lines 19-44)
/plugins/convert/writer/opencv_defaults.py (Lines 19-44)
/plugins/convert/color/color_transfer_defaults.py (Lines 19-44)
/plugins/convert/writer/pillow_defaults.py (Lines 19-44)
5 39 /plugins/convert/color/color_transfer_defaults.py (Lines 5-44)
/plugins/convert/writer/opencv_defaults.py (Lines 5-44)
/plugins/train/model/realface_defaults.py (Lines 5-44)
/plugins/train/model/villain_defaults.py (Lines 5-44)
/plugins/train/model/unbalanced_defaults.py (Lines 5-44)
4 16 /lib/model/layers.py (Lines 674-690)
/lib/model/layers.py (Lines 647-663)
/lib/model/layers.py (Lines 338-354)
/lib/model/layers.py (Lines 74-90)
4 20 /deep-learning-models-0.8/resnet50.py (Lines 159-179)
/deep-learning-models-0.8/vgg16.py (Lines 67-87)
/deep-learning-models-0.8/vgg19.py (Lines 65-85)
/deep-learning-models-0.8/xception.py (Lines 78-98)
4 30 /plugins/train/model/original_defaults.py (Lines 5-35)
/plugins/train/model/phaze_a_defaults.py (Lines 5-35)
/plugins/train/model/dfaker_defaults.py (Lines 5-35)
/plugins/convert/mask/mask_blend_defaults.py (Lines 5-35)
3 14 /plugins/extract/detect/mtcnn.py (Lines 467-481)
/plugins/extract/detect/mtcnn.py (Lines 335-349)
/plugins/extract/detect/mtcnn.py (Lines 154-168)
3 26 /plugins/extract/mask/_base.py (Lines 195-221)
/plugins/extract/align/_base.py (Lines 300-326)
/plugins/extract/detect/_base.py (Lines 213-239)
3 32 /lib/model/normalization/normalization_plaid.py (Lines 182-214)
/lib/model/normalization/normalization_tf.py (Lines 129-161)
/lib/model/normalization/normalization_plaid.py (Lines 342-374)

And 55 more duplicate instances...


Recommendations

💡 Tip: Resolve the coding violations to maintain a high standard of code quality.

💡 Tip: Patch the existing vulnerabilities to strengthen security measures.

💡 Tip: Refactor repeated code patterns to increase codebase maintainability.

🚫 No previous analysis data found.

The following annotations refer to violations that occurred in the code after the last changes compared to the parent commit:

Annotations

Check failure on line 91 in /lib/model/optimizers_plaid.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 106 in /lib/model/optimizers_plaid.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 54 in /tools/alignments/media.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 65 in /tools/alignments/media.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 36 in /plugins/extract/mask/unet_dfl.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 35 in /plugins/extract/mask/vgg_clear.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 106 in /plugins/extract/mask/bisenet_fp.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 36 in /plugins/extract/mask/vgg_obstructed.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 49 in /plugins/extract/align/cv2_dnn.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 30 in /plugins/extract/align/fan.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 45 in /plugins/extract/detect/s3fd.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 63 in /plugins/extract/detect/mtcnn.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 24 in /plugins/extract/detect/cv2_dnn.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 52 in /plugins/extract/recognition/vgg_face2_keras.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Attribute Defined Outside Init

Classes

Check failure on line 665 in /tools/manual/detected_faces.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Protected Access

Classes

Check failure on line 755 in /tools/manual/detected_faces.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Protected Access

Classes

Check failure on line 776 in /tools/manual/detected_faces.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Protected Access

Classes

Check failure on line 200 in /tools/mask/mask.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Protected Access

Classes

Check failure on line 265 in /plugins/train/trainer/_base.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Protected Access

Classes

Check failure on line 203 in /plugins/extract/align/_base.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Protected Access

Classes

Check warning on line 27 in /tools.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Used Before Assignment

Variables

Check warning on line 737 in /tools/alignments/jobs.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Used Before Assignment

Variables

Check warning on line 118 in /setup.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Superfluous Parens

Format

Check warning on line 44 in /lib/keypress.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Superfluous Parens

Format

Check warning on line 68 in /lib/sysinfo.py

See this annotation in the file changed.

@cyclopt-source-code-analyzer cyclopt-source-code-analyzer / Analysis Results

Superfluous Parens

Format