boas04/web-security-gateway ? reverse-engineered prompt
Reverse engineered prompt
Build me a local web security gateway lab that sits in front of a private web app and protects it with a WAF, request rate limits, and basic anomaly review.
I want one app for the gateway and one admin dashboard, both running only on localhost. The gateway should inspect traffic before it reaches the protected app, block suspicious requests, slow or block repeat abuse, and keep health checks plus security events. The dashboard should show traffic stats, blocked requests, rule IDs, latency, incident history, and simple notifications in Indonesian. It should also let an admin export event data as CSV or JSON and review ML flagged anomalies without letting those results override WAF blocks.
Please make it easy to run locally with clear setup steps, sensible defaults, and a clean demo experience using fictional data only. If anything needs current docs or setup details, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit