Security context

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

dioxuslabs/dioxus
main @ b00ff75
12
Fixes
1
CVEs
HIGH
Peak severity
20.0%
Coverage
Highlights
Denial of Service: 7 prior fixes. Scrutinize any change in this area.
packages/generational-box: most-fixed (2 issues). Treat as high-risk during review.
8 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 custom protocol handler failed to properly restrict asset paths to the designated root directory, creating a directory traversal vector that could allow arbitrary file reads from the local system. Developers must enforce strict canonicalization and prefix checks.
Auth Bypass: The internal WebSocket connection linking the webview shell and the native desktop runtime originally operated without any validation, allowing potential host-level actors or unauthorized scripts to bypass isolation. This was addressed by introducing a shared runtime authentication key.
Memory Safety: Improperly bounded reactive lifetimes in generational storage signals allowed Use-After-Free (UAF) scenarios. Developers must strictly enforce lifetime bounds and variance on references retrieved from signals.