Security context

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

gotify/server
master @ 14bfc25
14
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
auth/authentication.go: most-fixed (5 issues). Treat as high-risk during review.
11 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: Multiple historical fixes show that client authentication and token-based authorization were repeatedly missing elevation checks or mixing token types, leading to privilege escalation.
Auth Bypass: User creation endpoint lacked proper authorization, allowing unauthorized creation of users or admins.
Weak Authentication: Token generation was both too short and used a non-cryptographic PRNG, making tokens guessable.