biniamf/ai-reverse-engineering — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple web app for AI assisted reverse engineering with Ghidra. I want to upload a binary, have it sent to a local headless Ghidra service for analysis, then chat with an AI about what the program does instead of manually digging through everything.

The UI should let me enter my OpenAI compatible API base URL, API key, and model name, then start an analysis job, show the job status, and let me ask questions once it finishes. The assistant should be able to use the Ghidra REST endpoints to list functions, decompile a function, show imports, strings, cross references, and search artifacts when needed. Answers should be written clearly for a security researcher, with function names, addresses, and short explanations.

Please include the backend and web UI, plus setup instructions for running the Ghidra Docker service and starting the app locally at localhost:5000. Look up current docs online if you need to.

Want more depth? Deep Reverse