Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
articles: most-fixed (1 issue). Treat as high-risk during review.
3 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: Authorization checks failed because they compared unpopulated relational foreign keys, allowing unauthorized users to modify or delete resources. Future updates must ensure relational models are fully preloaded before performing identity checks.
Auth Bypass: Lack of explicit authorship verification allowed arbitrary users to delete comments and articles. Routes that modify resources must explicitly guard downstream models using strict authorship checks.
Auth Bypass: A lack of validation constraints during binding allowed malformed registration inputs to bypass auth logic. Strict struct-tag binding rules must be applied to user credential payloads.