gitsafehub
github.com/shijianjian/dia ↗

shijianjian/dia

scanned 2026-08-10 · git 17e1cf1
2 of 6 checks flagged a security issue
🔴 Needs attention
Only 4 of 6 checks finished — treat this as provisional. Re-check ↻

Informational scan, not a security audit. How this is computed.

Leaked secretsVulnerable dependencies29Known OSS vulnerabilities83Risky code patternsMalicious dependenciesProject health

Security checks

Leaked secrets — Gitleaks none found ✓

API keys, passwords or tokens committed into the repo.

Nothing found by this check. ✓

via Gitleaks v8.21.2 · MIT

Vulnerable dependencies — Trivy 29 found · 3 serious

Packages you depend on that have known security holes (CVEs).

  • Serious CVE-2023-50447 pillow: Arbitrary Code Execution via the environment parameter
    requirements.txt
    A package you depend on has a known security hole (CVE-2023-50447). Fix: Update that package to its patched version.
  • Serious CVE-2022-45907 In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line c ...
    requirements.txt
    A package you depend on has a known security hole (CVE-2022-45907). Fix: Update that package to its patched version.
  • Serious CVE-2025-32434 PyTorch is a Python package that provides tensor computation with stro ...
    requirements.txt
    A package you depend on has a known security hole (CVE-2025-32434). Fix: Update that package to its patched version.
  • Worth fixing CVE-2023-44271 python-pillow: uncontrolled resource consumption when textlength in an ImageDraw instance operates on a long text argument
    requirements.txt
    A package you depend on has a known security hole (CVE-2023-44271). Fix: Update that package to its patched version.
  • Worth fixing CVE-2023-4863 libwebp: Heap buffer overflow in WebP Codec
    requirements.txt
    A package you depend on has a known security hole (CVE-2023-4863). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-28219 python-pillow: buffer overflow in _imagingcms.c
    requirements.txt
    A package you depend on has a known security hole (CVE-2024-28219). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-54058 Pillow: Pillow: Memory disclosure or denial of service via crafted McIdas AREA image
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-54058). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-54059 python-pillow: Pillow: Denial of Service via crafted PCF font data
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-54059). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-54060 python-pillow: Pillow: Denial of Service via excessive memory allocation when processing font files
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-54060). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-55379 python-pillow: Pillow: Denial of Service via crafted BDF font file
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-55379). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-55380 python-pillow: Pillow: Denial of Service via crafted GD 2.x image file
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-55380). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-59197 Pillow: Pillow: Native heap out-of-bounds write
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-59197). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-59199 Pillow: Pillow: Denial of Service via out-of-bounds write in image processing
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-59199). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-59200 Pillow: Pillow: Denial of service via crafted PDF stream
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-59200). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-59204 Pillow: Pillow: Denial of Service via crafted JPEG2000 image
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-59204). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-59205 Pillow: Pillow: Controlled native heap corruption in ImageCms.ImageCmsTransform.apply API
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-59205). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-42308 Pillow: python: Pillow: Denial of Service via integer overflow in font processing
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-42308). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-42310 Pillow: Pillow: Denial of Service via malicious PDF processing
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-42310). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-55798 python-pillow: Pillow: Arbitrary command injection via shell metacharacters in file paths
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-55798). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-59198 Pillow: Pillow: Information disclosure via TGA RLE encoder out-of-bounds read
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-59198). Fix: Update that package to its patched version.
  • Worth fixing GHSA-qr4w-53vh-m672 opencv-python bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863
    requirements.txt
    A package you depend on has a known security hole (GHSA-qr4w-53vh-m672). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-5206 scikit-learn: Possible sensitive data leak
    requirements.txt
    A package you depend on has a known security hole (CVE-2024-5206). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-31580 PyTorch before v2.2.0 was discovered to contain a heap buffer overflow ...
    requirements.txt
    A package you depend on has a known security hole (CVE-2024-31580). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-31583 Pytorch before version v2.2.0 was discovered to contain a use-after-fr ...
    requirements.txt
    A package you depend on has a known security hole (CVE-2024-31583). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-2999 A vulnerability was found in PyTorch 2.6.0. It has been rated as criti ...
    requirements.txt
    A package you depend on has a known security hole (CVE-2025-2999). Fix: Update that package to its patched version.
… 4 more not shown

via Trivy v0.70.0 · Apache-2.0

Known OSS vulnerabilities — OSV-Scanner 83 found · 5 serious

Your dependencies cross-checked against the OSV vulnerability database.

  • Serious PYSEC-2026-457 Arbitrary Code Execution in Pillow
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2023-50447). Fix: Update that package to its patched version.
  • Serious PYSEC-2022-43015 In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2022-45907). Fix: Update that package to its patched version.
  • Serious PYSEC-2024-259 In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. NOTE: this is disputed by multiple parties because this is intended behavior in PyTorch distributed computing.
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2024-48063). Fix: Update that package to its patched version.
  • Serious PYSEC-2025-41 PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command E
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2025-32434). Fix: Update that package to its patched version.
  • Serious PYSEC-2026-457 Arbitrary Code Execution in Pillow
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2023-50447). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2023-227 An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2023-44271). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-165 Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-42308). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-1793 Pillow buffer overflow vulnerability
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2024-28219). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-1794 libwebp: OOB write in BuildHuffmanTable
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2023-4863). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-2253 Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-54059). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-2254 Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image._dec
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-54060). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-2255 Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() wit
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-55379). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-2256 Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompress
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-55380). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-2257 Pillow is a Python imaging library. Prior to 12.3.0, WindowsViewer.get_command() constructed a cmd.exe shell command by directly embedding a file path into an f-string without escaping and passed the
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-55798). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-2874 Pillow has a PDF Parsing Trailer Infinite Loop (DoS)
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-42310). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-3451 Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in I
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-59199). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-3453 Pillow is a Python imaging library. Prior to 12.3.0, Pillow's ImageCms.ImageCmsTransform.apply(im, imOut) API can trigger controlled native heap corruption when the caller supplies an output image who
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-59205). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-3454 Pillow is a Python imaging library. Prior to 12.3.0, Pillow's public rank-filter API can trigger a native heap out-of-bounds write when given a very large odd filter size because ImageFilter.RankFilte
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-59197). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-3493 Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-54058). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-3494 Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-59198). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-3495 Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-59200). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2026-3496 Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2026-59204). Fix: Update that package to its patched version.
  • Worth fixing GHSA-qr4w-53vh-m672 opencv-python bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole. Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2024-110 A sensitive data leakage vulnerability was identified in scikit-learn's TfidfVectorizer, specifically in versions up to and including 1.4.1.post1, which was fixed in version 1.5.0. The vulnerability a
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2024-5206). Fix: Update that package to its patched version.
  • Worth fixing PYSEC-2024-251 Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
    /workdirs/scan-d8fb209f-87c3-493f-84e4-ca37a8fb6855/requirements.txt
    A package you depend on has a known security hole (CVE-2024-31583). Fix: Update that package to its patched version.
… 58 more not shown

via OSV-Scanner v1.9.2 · Apache-2.0

Risky code patterns — Semgrep none found ✓

Code that can be exploited: injection, hardcoded credentials and similar.

Nothing found by this check. ✓

via Semgrep v1.147.0 · LGPL-2.1

Malicious dependencies — Guarddog timed out

Packages that look intentionally malicious: typosquats, sneaky install scripts.

This check didn’t finish — that’s not the same as “clean.” Try Check again above.

via Guarddog v2.10.0 · Apache-2.0

error: pypi:timeout

Project health

A signal about how the project is maintained — not a vulnerability in your code. It doesn’t affect the verdict above.

Project health — OpenSSF Scorecard didn’t run

Maintenance & supply-chain hygiene. A signal about the project, not a vulnerability in your code.

This check didn’t finish — that’s not the same as “clean.” Try Check again above.

via OpenSSF Scorecard · Apache-2.0

About these results. Six open-source checks ran in parallel; every finding is tagged with the tool that produced it. The verdict follows a published rule. False positives and false negatives are normal — a clean scan does not mean the code is secure, and a red verdict does not mean the project is compromised.