Highlights
Auth Bypass: 7 prior fixes. Scrutinize any change in this area.
backend/internal/auth/apikey/client.go: most-fixed (1 issue). Treat as high-risk during review.
6 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: Job creation operations allowed tenants to access connections without verifying they owned the source/destination connection resources, bypassing logical isolation boundaries. Ensure all bulk and single connection retrieval endpoints validate resource ownership.
Auth Bypass: Lack of explicit RBAC checks when fetching connection details allowed unauthorized users to retrieve sensitive credentials. All credential-bearing endpoints must explicitly enforce permission checks.
Denial of Service: Uncaught panics within worker synchronizer goroutines could crash the entire long-running synchronization service. Background tasks must universally implement safe defer-recover blocks.