seraphimdeck/daraku ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Go tool called daraku that audits Active Directory and AD CS in a safe, read only way.
I want it to connect to a domain or DC, check for common security risks like the usual AD CS misconfigurations and roastable account settings, then show the results in the terminal and also let me save them as Markdown and JSON. It should feel fast, simple to run, and work as a single binary on Linux and Windows.
Please make it include a basic console mode too, so if I just run it without much input it can guide me through a scan. Keep it strictly passive, no changes to AD objects, no certificate requests, and make sure it avoids unsafe targets by checking local or private IP boundaries and using a very limited TTL before connecting.
If you need to, look up current docs online for any AD CS detection details, but keep the app clean and easy to use.
Are you gonna build this?
make sure you review the code using coderabbit