Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

jupyter/nbformat
main @ 4346f97
8
Fixes
0
CVEs
HIGH
Peak severity
80.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
IPython/nbformat/sign.py: most-fixed (3 issues). Treat as high-risk during review.
5 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Signature Bypass: Storing signatures tied to file paths allowed attackers to bypass trust by moving or renaming notebooks; moved to sqlite to decouple from paths.
Authentication Bypass: Signature verification used the stored hash scheme instead of the configured one, letting a notebook author choose a weak scheme to bypass trust.
Auth Bypass: Validator cache key omitted the relax_add_props flag, causing a relaxed validator to be reused for strict validation and letting invalid notebooks pass.