Repository navigation
chore: release 0.20.0 - #198
Merged
Merged
Conversation
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.
Release 0.20.0: the
keyword_nameadvisory condition and the key taint behind it (#193, #196), so a curated entry point can say the attacker must choose a keyword name of the call, as Django's ORM takes column aliases and lookups;Arguments.keyword_unpackedand the folding of a**literal with constant keys into the keywords, which changes the cache format.Advisories
keyword_name: met when the attacker's input is passed as the keys of a**mapping, pending when the mapping's keys are not established, contradicted by a call writing every keyword name (ruled_outnames them).Analysis
dict(...), a comprehension and a subscript assignment;{**d}copies it.Plugins
Arguments.keyword_unpacked; a**literal with constant keys that nothing else uses is recorded as its keywords. The cache format becomes 12.Changes
CHANGELOG.md:Unreleasedbecomes0.20.0 (2026-09-30).pyproject.toml,src/coretrace_python/__init__.py: 0.20.0, checked equal.docs/usage.md: the three version examples.tests/test_release.py:0.19.0becomes0.20.0on line 33 only, as authorized once feat: taint the keys of a **mapping as the keyword names of the call #196 was merged.Verification
tests/test_release.py,tests/test_docs.pyandtests/test_packaging.py: 11 passed, 2 skipped in 0.97s. Full suite under Python 3.12, regression corpus excluded: 1581 passed, 2 skipped, 19 deselected in 143.48s (0:02:23).ruff checkpasses. The regression corpus ran green onmainat d3d5f7e, the code this release ships.