Security context

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

ibax-io/go-ibax
main @ 66f1358
15
Fixes
0
CVEs
CRITICAL
Peak severity
20.0%
Coverage
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
packages/api/login.go: most-fixed (4 issues). Treat as high-risk during review.
12 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: Historically, weak public key parsing, lack of authorized role checks, and the allowance of arbitrary KeyID inputs bypassed signature-based authentication. Developers must enforce cryptographic address derivation and validate all requested roles.
Auth Bypass: Flaws in token validation pipelines, including unverified signature parsing during JWT claims decoding and insecure token refresh paths, allowed complete session hijacking and authentication bypass.
SQL Injection: Unvalidated sorting parameters passed directly to the query builder led to SQL injection. All dynamic ORDER BY clauses and where conditions must be translated through schema-safe mappings.