Security context

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

mozilla-services/merino-py
main @ c2a0617
3
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Data Integrity: 1 prior fix. Scrutinize any change in this area.
apps/fleece/merino_fleece/pii/detector.py: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

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

Data Integrity: Unauthorized deletion of records in Kinto during CSV uploads directly corrupts stored data; the fix added an allow_delete flag, indicating destructive operations were not properly gated by default.
Denial of Service: SpaCy's memory growth from arbitrary search terms could exhaust memory, causing service unavailability; the fix introduced a memory zone and periodic reload, suggesting unbounded resource consumption on user-controlled input.
Information Disclosure: Sentry events captured query parameters, potentially leaking user search terms to third-party monitoring; the before_send filter strips sensitive data, indicating a lack of default data minimization.