fix(deps): require secure Pillow release - #5
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1f3876e0ac
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -1,2 +1,2 @@ | |||
| Pillow>=10.0 | |||
| Pillow>=12.2.0 | |||
There was a problem hiding this comment.
Enforce the Pillow floor in the installer path
For the production path recommended by the README (bash install.sh), this new requirement is never applied: install.sh only accepts any interpreter where import PIL succeeds (lines 140 and 165) and then writes that interpreter into the LaunchAgent. Users who already have Pillow 10.x/11.x and rerun the installer will still be accepted and continue processing wallpapers with the vulnerable Pillow version, so this dependency floor only protects environments that manually run pip install -r requirements.txt.
Useful? React with 👍 / 👎.
|
Landed as Validation completed before merge:
GitHub proof:
Public Model Identifier Gate: PASS. The exact diff, tests, CI logs, PR body, proof comment, and tracked artifacts contained no blocking identifiers or unknown generated artifacts. |
Summary
Why
The old lower bound allowed installations to retain Pillow releases affected by current image-processing advisories. Pillow 12.2.0 is the lowest release that clears the full current advisory set reviewed for this dependency:
Pillow 12.2.0 supports Python 3.10 and newer. WalBridge already requires Python 3.11 or newer, so this does not raise the project's Python requirement.
Validation
requirements.txt;pip checkpassed.launchctlcalls were neutralized to avoid changing the live user session.Risk
Low. The change only rejects older Pillow versions. Fresh installs already resolve a newer compatible release.