Security context

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

dicklesworthstone/mcp_agent_mail
main @ 35e774f
71
Fixes
0
CVEs
HIGH
Peak severity
47.2%
Coverage
Highlights
Auth Bypass: 25 prior fixes. Scrutinize any change in this area.
src/mcp_agent_mail/app.py: most-fixed (19 issues). Treat as high-risk during review.
29 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: Attackers could bypass contact policies and message access boundaries. Multiple flaws in send_message, message delivery, and session validation allowed spoofed senders, unauthorized cross-project visibility, and auto-accepted handshakes without proper authentication.
Path Traversal: Insufficient validation of file-reservation names, image uploads, and backup manifests permitted arbitrary directory traversal outside the designated storage root.
Auth Bypass: JWT authentication could be bypassed via JWKS key sets lacking a 'kid' header (causing the system to accept the first available key blindly) and through reverse proxies where localhost status could be spoofed.