Security context

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

soxoj/maigret
heads/main @ 9516d2b
2
Fixes
1
CVEs
MEDIUM
Peak severity
Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
maigret/web/app.py: most-fixed (2 issues). Treat as high-risk during review.
0 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.

Path Traversal: The application constructed report file paths using user-supplied usernames without sufficient sanitization, which could allow directory traversal via path separators and traversal sequences.
Path Traversal: The web routing mechanism exposed a custom report downloading interface that was vulnerable to directory traversal, requiring a migration to Flask's secure send_from_directory helper.