Security context

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

SasanLabs/VulnerableApp
master @ ae0cf28
11
Fixes
0
CVEs
CRITICAL
Peak severity
40.0%
Coverage
Highlights
Open Redirect: 2 prior fixes. Scrutinize any change in this area.
BlindSQLInjectionVulnerability.java: most-fixed (1 issue). Treat as high-risk during review.
8 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.

JWT Algorithm Confusion: Critical flaw where HMAC algorithm could be used with a public key verifier, allowing token forgery. The fix adds a check to skip HMAC, but sibling JWT validation paths may not enforce this.
Auth Bypass: Unsigned Base64 tokens allowed forgery and unauthorized access. Fix switched to signed JWT with HMAC-SHA256 and expiration; other token-generation paths may still use weak signing.
SQL Injection: Multiple SQL injection variants were fixed with parameterized queries and input validation, but other query-construction paths (e.g., error-based) may still concatenate input.