Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
python/mirage/server/paths.py: most-fixed (2 issues). Treat as high-risk during review.
7 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: Session and workspace capability states have repeatedly leaked or failed to propagate correctly during session forks, background job spawning, and cache redirects, allowing unauthorized file system or command execution operations. All sub-loaders and executor redirection paths must explicitly carry and validate session limits.
Path Traversal: Filesystem path traversal vulnerabilities have occurred across both Python and TypeScript server routers due to relying on shallow checks rather than inline path confinement validation immediately prior to reading, writing, or copying directories.
ReDoS: The application relied extensively on complex regular expressions for string manipulation, path cleaning, and token parsing, leading to multiple denial of service vectors. String utility helpers should be strictly preferred over regular expressions.