zoraizafridi/Network-Threat-Detection- ? reverse-engineered prompt
Reverse engineered prompt
Build me a network threat detection and cyber security monitoring app with a Java 17 backend and a React frontend.
I want a web app where I can sign in as admin, analyst, or viewer, then see the current security state, threat detections, risk level, and planning suggestions from the server. It should support starting the site with a web mode and a port setting, and if I do not pass a mode it can just show usage or a headless message.
Please include login protection, basic CSRF handling for changes, and simple rate limiting for repeated failed logins. The app should use a config file for the sample accounts, thresholds, and simulation settings, and it should be easy to swap in real passwords later. Make the client and server work together cleanly, with a polished monitoring style interface and sensible defaults so I can run it locally right away.
If you need to check current docs or best practices while building it, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit