salah9003/Automated-Vulnerability-Scanning-with-Agentic-AI ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python app that automatically runs a vulnerability scan on a Linux machine using multiple AI agents working together. I want to give it a target IP address and a short description of what kind of scan I want, then have the agents figure out the strategy, generate and run the needed commands, handle errors, and keep going until they’ve gathered useful results.
It should save all command outputs and agent interactions into a Logs folder, and create a markdown findings report at the end. If a command needs interactive input or won’t work well in this kind of automated flow, handle that gracefully and move on. Use an OpenAI API key for the agent reasoning, and make it easy to change the model if needed.
Please keep it straightforward to run from a main script, and make the output useful for someone doing a security check on their own system or lab environment. If you need current docs or tool behavior, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit