What problem does it solve? Web applications that rely on cookie-based sessions can be exploited through Cross-Site Request Forgery when state-changing endpoints lack token protection. Manually auditing every form, controller, and security config across mixed Spring Boot and legacy JSP codebases is slow and error-prone. ## Core Features & Use Cases - Automatic stack detection: Distinguishes spring-modern (Spring Boot + SPA) from jsp-legacy (JSP/Servlet + WAR) projects, even when mixed in one repository, and applies the matching Semgrep rules. - Hybrid scanning with AI verification: Runs scripts/scan_csrf.py (Semgrep with grep fallback) to gather candidates, then verifies each finding in context—distinguishing real vulnerabilities from intentional exceptions like stateless JWT APIs. - Standardized 4-element reports: Every confirmed finding documents what is vulnerable, why, how it is exploited (with PoC), and how to fix it, ordered by severity. - Use Case: Before releasing a Spring Boot member-management service, run the scan to confirm whether csrf().disable() in SecurityConfig exposes cookie-session endpoints, and receive a fix using CookieCsrfTokenRepository. ## Quick Start Ask the AI to check the project at a given source path for CSRF vulnerabilities, for example by requesting a CSRF audit of your Spring Boot or JSP application directory.