Security context

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

papercups-io/papercups
master @ 6a6f5ad
9
Fixes
0
CVEs
HIGH
Peak severity
57.1%
Coverage
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
assets/src/components/conversations/ChatMessageBox.tsx: most-fixed (1 issue). 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: Missing tenant isolation checks allowed cross-tenant access to conversations, customers, and messages. Developers should ensure all query pathways filter strictly by the current user's authenticated account ID.
Auth Bypass: The Slack OAuth integration suffered from a hardcoded account ID during callback flows, which allowed incorrect session assignment and authorization bypass.
Auth Bypass: Lack of channel validation during Slack synchronization allowed potential cross-account channel hijacking, requiring unique validation constraints.