Highlights
Path Traversal: 7 prior fixes. Scrutinize any change in this area.
src/basic_memory/schemas/base.py: most-fixed (2 issues). Treat as high-risk during review.
10 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: Trailing dot/space manipulation on Windows filesystems allowed attackers to bypass standard path verification checks and read or write files outside project boundaries.
Path Traversal: User-supplied fields, such as folder names and note titles, lacked strict input sanitization, directly translating into directory traversal opportunities when joined or resolved.
SQL Injection: Dynamically built query conditions for metadata filters, search items, and note types permitted SQL injection in both PostgreSQL and SQLite search layers.