Skip to content

docs(security): records for the 1.3.0 advisories and #875, PR route for advisory fixes - #884

Merged
JuroOravec merged 2 commits into
mainfrom
docs/post-release-1-3-0
Nov 25, 2026
Merged

JuroOravec merged 2 commits into
mainfrom
docs/post-release-1-3-0

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

(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:

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.md and the @event docstring already cover the plain-def rule for guards, _context and _csrf, the stacked-@event refusal, and the JsonValue depth on PyPy.

  • One note was still missing. docs_site/content/security.md ("Authorize every event") and docs/design/events.md now say that importlib.reload() or Jupyter's %autoreload raises ValueError when the reloaded module applies @event(...) to a function it imports. This was checked against citry==1.3.0 from PyPI.

  • docs/codebase.md, "Releasing advisory fixes", now describes two routes:

    • The preferred route: push the fix chain to a public branch and merge its pull request with a merge commit, as 1.3.0 did with Security fixes for citry 1.3.0 #881. It needs no ruleset change, and CI runs before main moves.
    • The fast-forward push used for 0.7.0.

    "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:

  • The guard fixes are server-side authorization. The only thing that reaches the page is the error body, which "Responses Citry serves" already covers.
  • The PyPy fix protects the server process.

CLAUDE.md is unchanged.

Checks

  • scripts/validate.py: passed.
  • python -m docs_site build-check --strict did not run locally, because the shared venv's compiled citry_core is out of date. The docs check in CI covers it.
  • A docs cold read and a separate review for exploit detail and copied private material were both done. Their findings are folded in.

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

JuroOravec and others added 2 commits November 25, 2026 04:52
… 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]>
@JuroOravec
JuroOravec merged commit 38e8741 into main Nov 25, 2026
20 checks passed
@JuroOravec
JuroOravec deleted the docs/post-release-1-3-0 branch November 25, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant