Highlights
Denial of Service: 1 prior fix. Scrutinize any change in this area.
src/tradememory/models.py: most-fixed (1 issue). 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.
Path Traversal: The application serves static single-page application (SPA) files directly from the server. Without canonicalization and prefix verification of the resolved target paths, an attacker can traverse out of the intended static distribution directory and read arbitrary files on the host system via FileResponse.
Denial of Service: Unbounded API limit parameters inside request payloads allowed consumers to request arbitrarily large datasets. This leads to excessive memory allocation and database resource exhaustion during memory recall and history querying operations.