Security context

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

voltiusapp/voltius
main @ 8c96771
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src-tauri/src/vault_auth.rs: most-fixed (2 issues). 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.

Auth Bypass: Keychain read errors or malformed/corrupted roles JSON historically led to a fail-open authorization state, potentially granting unauthorized write access to team vaults. Developers must ensure all keychain and JSON deserialization operations fail closed explicitly.
Auth Bypass: Error handling during token expiration validation failed open when system time reporting was invalid (e.g., prior to the UNIX epoch). Clock or parsing errors must always mark a token as invalid/expired.