Highlights
Broken Authentication: 1 prior fix. Scrutinize any change in this area.
ReportEngine/agent.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.
Broken Authentication: Insecure authentication mechanics were vulnerable to credential cracking and session hijacking. Mitigations required moving to Argon2 hashing, enforcing session-context checks (IP/User-Agent), and introducing rate limits and CSRF protections.
Cryptographic Issues: Weak or predictable Flask secret keys and insecure session cookie attributes threatened user sessions. Resolving this required cryptographically secure key generation and configuring strict secure cookie flags.
Information Disclosure: Persistent task states in the ReportEngine threatened multi-tenant boundary isolation, allowing data leakage between consecutive tasks. The fix enforced explicit state reset inside file-loading processes.