Cybersecurity AI Assistant
WormGPT is a cybersecurity-focused AI assistant that uses OpenRouter and Hugging Face APIs. It helps with penetration testing, security analysis, vulnerability assessment, and ethical hacking.
| Feature | Description |
|---|---|
| 🤖 AI Providers | OpenRouter (recommended) and Hugging Face support |
| 📝 7 Prompt Templates | Default, Pentester, SOC Analyst, Malware Analyst, Network Security, Web App Security, Custom |
| ⚡ Quick Tools | SQLi, XSS, Port Scan, OWASP, Hardening, Wireshark |
| 💬 Chat History | Auto-save and resume support |
| 📤 Export | TXT and JSON format chat export |
| ⌨️ Short Commands | !h, !c, !e, !s, !t, !x |
| 🔒 API Key Management | Secure storage and masking |
| 🌍 Web UI | Full-featured HTML/CSS/JS web version |
| 🖥️ TUI | Python terminal version (Windows CMD compatible) |
wormgpt/
├── index.html # Web UI (HTML)
├── style.css # Web UI styles
├── app.js # Web UI JavaScript
├── server.js # Node.js backend (API proxy)
├── package.json # Node.js project config
│
├── wormgpt_tui.py # Python TUI application
├── wormgpt_config.json # Prompt templates (dual language EN/TR)
├── setup.py # Setup script
├── wormgpt_data.json # Auto-generated (user data)
│
└── README.md # This file
# Requirements: Node.js >= 18
node server.js
# → http://localhost:3000# 1. Setup (first time)
python setup.py
# 2. Run
python wormgpt_tui.pyLanguage selection is prompted on first run (English / Turkish).
╭─────────────────────────────────╮
│ WormGPT v2.0 │
├─────────────────────────────────┤
│ API Key: SET │
│ Provider: OpenRouter │
│ Model: gemini-2.0-flash │
│ Prompt: Default │
│ Msgs: 0 msgs │
├─────────────────────────────────┤
│ 1. Start Chat │
│ 2. Quick Tools │
│ 3. Settings │
│ 4. Export Chat │
│ 5. Clear Chat │
│ 0. Exit │
╰─────────────────────────────────╯
| Command | Short | Description |
|---|---|---|
!help |
!h |
Show help menu |
!clear |
!c |
Clear chat history |
!export |
!e |
Export chat as TXT/JSON |
!settings |
!s |
Open settings menu |
!tools |
!t |
Open quick tools |
!exit |
!x |
Return to main menu |
| # | Setting | Description |
|---|---|---|
| 1 | API Provider | OpenRouter or Hugging Face |
| 2 | API Key | Enter your API key |
| 3 | Model | Select AI model |
| 4 | Custom Model | Optional manual model ID |
| 5 | System Prompt | Custom prompt (overrides template) |
| 6 | Prompt Template | Choose from predefined templates |
| 7 | Language | English / Türkçe |
| Model | ID |
|---|---|
| Gemini 2.0 Flash | google/gemini-2.0-flash-001 |
| Llama 3.3 70B | meta-llama/llama-3.3-70b-instruct |
| Mistral 7B | mistralai/mistral-7b-instruct |
| Phi-3 Mini | microsoft/phi-3-mini-128k-instruct |
| Model | ID |
|---|---|
| Mistral 7B v0.3 | mistralai/Mistral-7B-Instruct-v0.3 |
| Zephyr 7B | HuggingFaceH4/zephyr-7b-beta |
| Gemma 2 2B | google/gemma-2-2b-it |
| Tool | Description |
|---|---|
| 🗄️ SQL Injection | SQL injection testing methodology |
| 💻 XSS | Cross-Site Scripting prevention |
| 🌐 Port Scan | Network port scanning and analysis |
| 📋 OWASP Top 10 | OWASP security vulnerabilities |
| 🔒 Hardening | Linux server security hardening |
| 📡 Wireshark | Network traffic analysis |
- Go to openrouter.ai/keys
- Create an account or sign in
- Click "Create Key" to get a key in
sk-or-v1-...format
- Go to huggingface.co/settings/tokens
- Create an account or sign in
- Click "New token" to get a token in
hf_...format
Chat history can be exported in two formats:
- TXT — Plain text, human-readable format
- JSON — Structured data, machine-readable format
Files are saved as wormgpt-chat-{timestamp}.txt/json.
- Node.js >= 18.0.0
- A web browser (Chrome, Firefox, Edge, etc.)
- Python >= 3.8
- pip (for requests, rich libraries)
MIT — This project is for educational and ethical hacking purposes. Designed for legal use only.
EFE — Working on cybersecurity and artificial intelligence.
Warning: This tool is for educational and ethical hacking purposes only. Accessing systems without permission is illegal. The user is responsible for all usage."# wormgt" "# wormgpt"