Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ requires-python = ">=3.11,<3.14"
dependencies = [
"httpx>=0.28,<1",
"numpy>=1.26,<3",
"pillow>=11,<13",
"pillow>=13,<14",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modal images still install vulnerable Pillow

The two Modal image definitions in modal_app.py (lines 19 and 33) still install pillow>=11,<13 independently of this project dependency, so those deployed images can continue resolving a vulnerable Pillow 12.x instead of receiving this security update. Please raise both Modal constraints as well.

Prompt To Fix With AI
This is a comment left during a code review.
Path: pyproject.toml
Line: 16

Comment:
**Modal images still install vulnerable Pillow**

The two Modal image definitions in `modal_app.py` (lines 19 and 33) still install `pillow>=11,<13` independently of this project dependency, so those deployed images can continue resolving a vulnerable Pillow 12.x instead of receiving this security update. Please raise both Modal constraints as well.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

🟠 Major · security · Reply if this doesn't apply.

"onnxruntime>=1.23.2,<2",
]

Expand Down
Loading
Loading