@@ -175,6 +175,8 @@ def install_grype() -> str:
175175 'CVE-2017-1000376' , # false match in the database
176176 # espeak
177177 'CVE-2023-4990' , # false match because we currently build with a specific commit pending release of espeak 1.53
178+ # Qt
179+ 'CVE-2025-5683' , # we dont use the ICNS image format
178180 # ffmpeg cannot be updated till Qt starts using FFMPEG 8 and these CVEs are
179181 # anyway for file types we dont use or support
180182 'CVE-2025-59733' , 'CVE-2025-59731' , 'CVE-2025-59732' , # OpenEXR image files, not supported by calibre
@@ -211,9 +213,13 @@ def check_dependencies() -> None:
211213 for x in IGNORED_DEPENDENCY_CVES :
212214 print (' - vulnerability:' , x , file = f )
213215 cmdline = [grype , '--by-cve' , '--config' , gc , '--fail-on' , 'medium' , '--only-fixed' , '--add-cpes-if-none' ]
214- if (cp := subprocess .run (cmdline + ['dir:' + SW ])).returncode != 0 :
215- raise SystemExit (cp .returncode )
216- # Now test against the SBOM
216+ # disable testing against dir as it raises false positives on sqlite
217+ # embedded in dependencies we dont use at runtime
218+ # print('Testing against the bundle directories', flush=True)
219+ # if (cp := subprocess.run(cmdline + ['dir:' + SW])).returncode != 0:
220+ # raise SystemExit(cp.returncode)
221+ # Test against the SBOM
222+ print ('Testing against the SBOM' , flush = True )
217223 import runpy
218224 orig = sys .argv , sys .stdout
219225 sys .argv = ['bypy' , 'sbom' , 'myproject' , '1.0.0' ]
0 commit comments