davidljohnson/flowviz
davidljohnson/flowviz has 254 GitHub stars and 51 forks. GitHot measured +1 stars in 24 hours and +2 in 7 days. Last checked 2026-11-25 05:22 UTC. Last push 2026-09-01.
What you can do
- Multi-provider AI support (Anthropic Claude, OpenAI GPT, Ollama)
- Real-time streaming visualization as content is analyzed
- MITRE ATT&CK technique mapping
- Export to PNG, STIX 2.1, Attack Flow Builder (.afb), or JSON
Measured star growth
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
AI-powered cybersecurity attack flow visualization tool using MITRE ATT&CK
SecurityREADME.md
OriginalFlowViz - Attack Flow Visualizer
Open-source tool that analyzes cybersecurity articles and generates interactive attack flow visualizations using MITRE ATT&CK.

Features
- Multi-provider AI support (Anthropic Claude, OpenAI GPT, Ollama)
- Real-time streaming visualization as content is analyzed
- MITRE ATT&CK technique mapping
- Export to PNG, STIX 2.1, Attack Flow Builder (.afb), or JSON
- Save and load previous analyses
Quick Start
Prerequisites: Node.js 18+
Clone and install:
git clone https://github.com/davidljohnson/flowviz.git cd flowviz npm installConfigure provider:
cp .env.example .envEdit
.envand add at least one:ANTHROPIC_API_KEY- Get from console.anthropic.comOPENAI_API_KEY- Get from platform.openai.comOLLAMA_BASE_URL+OLLAMA_TEXT_MODEL- For local models (no API key needed)- Or multiple to enable switching between providers
Start:
npm run dev:fullOpens at http://localhost:5173
Usage
- Paste a cybersecurity article URL or text
- Click "Analyze Article"
- Watch the attack flow build in real-time
- Click nodes for details
- Export or save your analysis
Configuration
See .env.example for all options. Key settings:
# Required (choose one or multiple)
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
OLLAMA_BASE_URL=
OLLAMA_TEXT_MODEL=
# Optional
ANTHROPIC_MODEL=claude-sonnet-5
OPENAI_MODEL=gpt-4o
PORT=3001
Where Your Analyses Live
Saved flows are kept in your browser's localStorage, so they stay on the machine that made them and no account is involved. Export them as FlowViz JSON to move one somewhere else, or to keep a copy outside the browser.
If you are serving the frontend and the backend from different origins, point the app at the backend:
VITE_API_BASE_URL=https://api.your-domain.com
Ollama Configuration
- Download Ollama from ollama.com/download
- Pull a model:
ollama pull mistral:7b(or any model you prefer) - Add to
.env:OLLAMA_BASE_URL=http://127.0.0.1:11434 OLLAMA_TEXT_MODEL=mistral:7b
Available models are detected automatically from your local Ollama instance. The Ollama provider currently supports text analysis only (vision analysis is skipped).
For best results with a high-end GPU (e.g. NVIDIA RTX 5090), try huggingface.co/TeichAI/Qwen3-14B-Claude-Sonnet-4.5-Reasoning-Distill-GGUF:latest — a 14B parameter model that produces more detailed attack flows. Smaller models like mistral:7b work well for shorter articles.
Troubleshooting
API key not working:
- Verify key in
.envfile - Restart server:
npm run dev:full - Check account has credits
CORS errors:
- Ensure backend is running (
npm run server) - Check requests use
/apiproxy
Development
npm run dev # Frontend only
npm run server # Backend only
npm run dev:full # Both (recommended)
npm run build # Production build
Architecture
- Frontend: React 18 + TypeScript + Material-UI + React Flow
- Backend: Express proxy with rate limiting and SSRF protection
- AI: Anthropic Claude / OpenAI GPT / Ollama via server-side API calls
License
MIT License - see LICENSE file for details
Attribution
FlowViz maps techniques onto MITRE ATT&CK, and ships a technique/tactic index
built from MITRE's published STIX data (npm run attack:update regenerates it
from a pinned ATT&CK release).
© The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.
ATT&CK® is a registered trademark of The MITRE Corporation. FlowViz is not affiliated with or endorsed by MITRE. See the ATT&CK Terms of Use.
Explore related projects
Loading…