Security context

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

slotopol/server
main @ 93bd616
2
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
spi/auth.go: most-fixed (1 issue). Treat as high-risk during review.
2 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: The JWT authorizator failed to check whether a user was banned (GAL&ALban flags), allowing banned users to continue authenticated access. This is a core gate for all downstream authorization decisions.
Auth Bypass: Game state and bet operations (SpiGameState, SpiGameBetGet, SpiGameBetSet) lacked access-rights checks comparing admin identity and ALgame flag, letting unauthorized users read or modify games they do not own.