Security context

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

for-get/jesse
master @ d06868f
2
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Schema Validation Bypass: 2 prior fixes. Scrutinize any change in this area.
src/jesse_validator_draft3.erl: most-fixed (2 issues). Treat as high-risk during review.
2 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.

Schema Validation Bypass: Processing attributes after a $ref allows attackers to inject constraints that are ignored, bypassing validation entirely. This was fixed by stopping attribute processing post-$ref, but any future code path that resumes such processing would reintroduce the flaw.
Schema Validation Bypass: Improper resolution of local and remote $refs (including id keyword handling) can cause the validator to validate against the wrong schema or skip validation, enabling bypass. The fix addressed this, but any new reference-resolution logic must be hardened.