Security context

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

chatboxai/chatbox
main @ 8639c94
2
Fixes
2
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
src/main/session-attachment-rag/ipc-handlers.ts: most-fixed (1 issue). 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: Model tools executing RAG tasks could read parent session attachments across different sessions due to a lack of owner-scoped query filtering in the database layer, leading to cross-session document leakage.
Information Disclosure: AWS Bedrock API credentials and other cloud provider secrets were historically exported in plaintext configurations, risking exposure when users shared or backed up their settings profiles.
Stored Cross-Site Scripting (XSS): Historical vulnerability CVE-2020-35852 allowed attackers to execute malicious scripts in the user's browser context by uploading SVG or XML files containing active payloads.