Security context

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

techarohq/anubis
main @ d19b86c
18
Fixes
3
CVEs
CRITICAL
Peak severity
38.9%
Coverage
Highlights
Auth Bypass: 7 prior fixes. Scrutinize any change in this area.
lib/anubis.go: most-fixed (5 issues). Treat as high-risk during review.
9 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 application failed to enforce proof-of-work difficulty checks by reading from a zeroed configuration structure instead of active rule settings, resulting in an immediate bypass of challenge gates. Developers must ensure dynamic configuration values are correctly bound during validation.
Auth Bypass: Failure to normalize IPv4-mapped IPv6 addresses (e.g., converting them to standard IPv4) allowed clients to bypass RemoteAddrChecker IP policy controls and ACLs. IP comparisons must consistently unmap addresses before validation.
Open Redirect: Improper validation of relative and domainless redirect URLs in url.Parse allowed attackers to construct arbitrary open redirect targets. Redirect paths must undergo strict relative-hostless URI validation.