Security context

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

moorcheh-ai/memanto
main @ d922b7a
9
Fixes
0
CVEs
HIGH
Peak severity
71.4%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
memanto/app/routes/sessions.py: most-fixed (4 issues). Treat as high-risk during review.
5 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.

Auth Bypass: The application has historically suffered multiple authorization bypasses in session management, ranging from weak API key validation to missing agent-ownership checks and validation failures during session duration adjustments.
Auth Bypass: A shared singleton tool instance allowed multi-tenant namespace isolation bypasses, requiring migration to per-session dynamically generated tools bound to specific agent IDs.
Information Disclosure: Plaintext API keys were exposed in an unauthenticated UI configuration route, presenting a risk of immediate credential theft.