Repository navigation
docs(security): records for the 1.3.0 advisories and #875, PR route for advisory fixes - #884
Merged
Merged
Conversation
… route for advisory fixes Add public review records for GHSA-29wx-2wvw-8962, GHSA-gj9m-wwqx-m37j and GHSA-2jch-pr4c-gf9m, published 2026-11-25, and for #875 (guards run before the data check). security.md and the Events design doc now say that reloading a module that applies @event(...) to a function it imports raises the stacked @event error. docs/codebase.md "Releasing advisory fixes" describes landing the fix chain through a public pull request merged with a merge commit (1.3.0, #881) as the preferred route, next to the fast-forward push used for 0.7.0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
(Opus 5.5)
Follow-ups for citry 1.3.0, after its three security advisories were published on 2026-11-25. This pull request changes only docs.
Review records
Four new records in
docs/security/reviews/, written from the template:2026-11-25-pypy-deep-data-ghsa-29wx.md, for GHSA-29wx-2wvw-89622026-11-25-async-guards-ghsa-gj9m.md, for GHSA-gj9m-wwqx-m37j2026-11-25-guards-run-together-ghsa-2jch.md, for GHSA-2jch-pr4c-gf9m2026-11-25-guards-before-data-check-875.md, for fix(events): run guards before checking a call's data #875 (guards run before the data check)Each record says what was checked and fixed, the affected and fixed versions, and links to its advisory and to #881. None of them says how to exploit anything.
Docs
Most of the notes that were held back until the advisories went public were already in place after Security fixes for citry 1.3.0 #881.
security.md,docs/design/events.mdand the@eventdocstring already cover the plain-defrule for guards,_contextand_csrf, the stacked-@eventrefusal, and theJsonValuedepth on PyPy.One note was still missing.
docs_site/content/security.md("Authorize every event") anddocs/design/events.mdnow say thatimportlib.reload()or Jupyter's%autoreloadraisesValueErrorwhen the reloaded module applies@event(...)to a function it imports. This was checked againstcitry==1.3.0from PyPI.docs/codebase.md, "Releasing advisory fixes", now describes two routes:mainmoves."How changes reach
main" and the security-fix paragraph in "Breaking changes" are updated to match.Mechanism 7
These reviews found no new place where a value reaches the browser:
CLAUDE.mdis unchanged.Checks
scripts/validate.py: passed.python -m docs_site build-check --strictdid not run locally, because the shared venv's compiledcitry_coreis out of date. The docs check in CI covers it.Versioning
This pull request changes only docs, docs pages and design docs. It touches nothing the 1.x promise covers and needs no changelog entry.
🤖 Generated with Claude Code