Repository navigation
Fix image vulnerabilities and add Gitleaks for v1.0.1 - #27
Merged
Merged
Conversation
Upgrade Pillow to 13.0.0 for all 41 reported dependency alerts. Bound GIF and static image inputs before decoding, cover malformed extension and merge-history bypasses, and add Gitleaks checks for local use and CI. Preserve pet packages and v2 contracts, document validation, and prepare the v1.0.1 maintenance release notes.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Remediate the 41 reported Pillow Dependabot alerts, bound image processing in all maintenance-tool consumers, and add local/CI secret scanning. Prepare the v1.0.1 release notes, including previously merged changes since v1.0.0.
Reason
Pillow 12.3.0 falls inside every reported affected range; 13.0.0 is the first patched version for all 41 alerts. Preview consumers decoded frames before enforcing their limits. The shared image boundary now checks GIF structure, frame counts and rectangles before decoder allocation, checks static image format and geometry, and bounds header resize dimensions.
Files affected
requirements-dev.txt; shared image helper and three image consumers.Runtime impact
Development and CI tooling only. Pet artwork, metadata, hashes, catalogue membership, installed-pet behavior, installer links and v2 contracts are unchanged by this patch. The exact Áureo maintainer exception remains enforced.
UI impact
No website or preview bytes change. Public documentation describes the new tooling and release scope.
Migration impact
Developers reinstall
requirements-dev.txtin Python 3.12+ and install Gitleaks 8.30.1. Existing pets need no reinstallation. Catalogue and sprite versions remain 2.Validation performed
pip checkpassed.Local runtime validation used Python 3.14.5. PR CI runs the catalogue/image checks on Python 3.12 and installs a checksum-verified Gitleaks binary. Remote checks remain pending at PR creation. The historical V1 header CLI still deliberately rejects an eight-pet composition; its compatible seven-pet function pipeline passed.
Rollback safety
No package migration or artwork rewrite. Prefer a forward fix if a tooling regression appears; reverting the Pillow pin would restore the reported vulnerable dependency. Publish v1.0.1 only after checks and merge, then verify Dependabot alert closure on main.
Change type: documentation and validation/tooling only. Pet package and artwork-rights checklists are not applicable.