When Nmap met ChatGPT: AI-generated vulnerability reports
A Python CLI that feeds your network scans to GPT-3.5, Bard, or Llama2 and asks them nicely to explain what's broken.

What it does GPT_Vuln-analyzer is a Python proof-of-concept that runs Nmap scans, DNS recon, subdomain enumeration, JWT analysis, and PCAP parsing—then ships the raw output to an LLM (OpenAI, Bard/PaLM, or a self-hosted Llama2 via RunPod) and requests structured vulnerability feedback in return. It wraps the whole thing in both a CLI and a CustomTkinter GUI.
The interesting bit The project treats the LLM as a report formatter, not a scanner. It uses regex to strip Nmap’s XML noise down to essentials, then prompts the model for JSON-formatted analysis with specific constraints. The author notes Bard returns answers “2 times the speed” of GPT-3.5 with comparable output—an empirical observation, not a benchmark.
Key highlights
- 13 predefined Nmap profiles, from “Fast Scan for Common Ports” (
-Pn -F) to aggressive script-heavy runs (--script=vuln) - Supports four AI backends: OpenAI, Bard (MakerSuite/PaLM), local Llama2, and RunPod serverless Llama2
- Additional modules: DNS recon, subdomain enumeration, JWT token analysis, PCAP analysis with tshark, geo-IP lookup, and a password hash cracker
- Packaged as importable Python modules (
GVA.scanner,GVA.dns_recon, etc.) or standalone CLI - CLI includes an interactive cow-themed menu (yes, really) alongside standard argparse
Caveats
- Requires multiple API keys and external tools (Wireshark/tshark, Docker) just to get started
- Llama2 support on Linux is listed as “❌ [did not test]"—only Windows is confirmed working
- GUI and package versions have features “still in progress” per the README
- The
.envfile approach means keys sit in plaintext; the interactive CLI menu asks for them at runtime instead
Verdict Worth a look if you want to experiment with LLM-augmented security workflows without building the plumbing yourself. Skip it if you need production-grade scanning or are allergic to managing API keys for half a dozen services.