Skip to content
InfoResearchPreprintLLM-specific

GenWebSec: Adaptive Web Application Firewall Hardening with Co-Evolving LLM Attack and Defense Agents

Published
Record updated
View JSON

Summary

GenWebSec pairs LLM attack and defense agents in a closed loop that hardens ModSecurity WAF with OWASP Core Rule Set 4.29.0 against SQL injection and XSS. Attack agents bypassed CRS on 78.0-99.6% of application-valid payloads across six custom targets. Grouped rule synthesis converged to a median of one rule per run and blocked 2,420 of 2,421 in-loop bypasses, with mean added false positives at or below 0.28%.

Mitigation

Grouped rule synthesis under coverage-checked admission and strict benign false-positive bounds, applied iteratively as an adaptive WAF hardening loop.