keusuanl-sec/Advanced-Web-Application-Firewall — reverse-engineered prompt
Reverse engineered prompt
Build me a clean demo web app for an advanced web application firewall. I want it to monitor incoming HTTP requests and decide if they are safe or dangerous, especially for SQL injection, XSS, encoded attacks, and weird obfuscated payloads.
It should have a modern responsive dashboard where I can paste or send example requests, see whether they were allowed or blocked, and understand why. Use simple explanations like “SQL injection pattern found” or “anomalous encoded script detected”. Include real time style logs, request details, threat type, confidence or risk score, and some security summary cards or charts.
Please include both rule based detection for known attacks and a basic machine learning anomaly detection layer for unknown or encoded attacks. It should be fast to run locally with Python and Flask, with HTML, CSS, and JavaScript for the interface. Add sample safe requests and malicious test requests so I can quickly prove it works. Make setup simple with requirements and a single command to start the app.
Want more depth? Deep Reverse