Security context

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

qlustered/deepdiff
master @ c59636c
2
Fixes
1
CVEs
CRITICAL
Peak severity
0.0%
Coverage
Highlights
Prototype Pollution: 1 prior fix. Scrutinize any change in this area.
deepdiff/delta.py: 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.

Remote Code Execution: The traversal of Python dunder attributes inside Delta objects could allow attackers to access restricted object constructors or methods, leading directly to arbitrary code execution.
Prototype Pollution: Attackers can bypass path validations (like check_elem) to inject malicious dunder-attribute paths, risking class/prototype pollution and state compromise.
Denial of Service: Unbounded constructor arguments in _RestrictedUnpickler permit memory exhaustion attacks when loading crafted pickle payloads, crashing the application.