{"id":51111361,"url":"https://github.com/solomonneas/hotwash","last_synced_at":"2026-06-24T18:00:51.711Z","repository":{"id":363857756,"uuid":"1247799345","full_name":"solomonneas/hotwash","owner":"solomonneas","description":"SOC playbook parser with mermaid diagram generation","archived":false,"fork":false,"pushed_at":"2026-06-10T16:13:20.000Z","size":1242,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-10T18:07:57.059Z","etag":null,"topics":["automation","blue-team","cybersecurity","incident-response","playbooks","security-operations","soar"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solomonneas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"docs/ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":"solomonneas","ko_fi":"solomonneas","buy_me_a_coffee":"solomonneas"}},"created_at":"2026-05-23T19:50:34.000Z","updated_at":"2026-06-10T16:15:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/solomonneas/hotwash","commit_stats":null,"previous_names":["solomonneas/hotwash"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/solomonneas/hotwash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonneas%2Fhotwash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonneas%2Fhotwash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonneas%2Fhotwash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonneas%2Fhotwash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solomonneas","download_url":"https://codeload.github.com/solomonneas/hotwash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solomonneas%2Fhotwash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34743465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","blue-team","cybersecurity","incident-response","playbooks","security-operations","soar"],"created_at":"2026-06-24T18:00:50.800Z","updated_at":"2026-06-24T18:00:51.704Z","avatar_url":"https://github.com/solomonneas.png","language":"TypeScript","funding_links":["https://github.com/sponsors/solomonneas","https://ko-fi.com/solomonneas","https://buymeacoffee.com/solomonneas"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/hotwash-banner.jpg\" alt=\"Hotwash banner\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e⚒️ Hotwash\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eIR runbook builder with visual flowcharts, SOAR execution, and AI playbook generation.\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/React-18.2-61DAFB?style=for-the-badge\u0026logo=react\u0026logoColor=0f172a\" alt=\"React 18.2\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/TypeScript-5.3-3178C6?style=for-the-badge\u0026logo=typescript\u0026logoColor=white\" alt=\"TypeScript 5.3\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-3.9%2B-3776AB?style=for-the-badge\u0026logo=python\u0026logoColor=white\" alt=\"Python 3.9+\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/FastAPI-0.136-009688?style=for-the-badge\u0026logo=fastapi\u0026logoColor=white\" alt=\"FastAPI 0.136\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Tailwind_CSS-3.4-06B6D4?style=for-the-badge\u0026logo=tailwindcss\u0026logoColor=white\" alt=\"Tailwind CSS 3.4\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/MCP-server-7c3aed?style=for-the-badge\" alt=\"MCP server\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Wazuh-ingest-2563eb?style=for-the-badge\" alt=\"Wazuh ingest\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-green?style=for-the-badge\" alt=\"MIT license\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://solomonneas.dev/projects/playbook-forge\"\u003e\u003cimg src=\"https://img.shields.io/badge/Portfolio-solomonneas.dev-22c55e?style=for-the-badge\" alt=\"Portfolio\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nHotwash transforms incident response playbooks from Markdown and Mermaid syntax into interactive flowchart visualizations with a full execution engine. SOC teams can build, execute, and track playbook runs step-by-step. AI generation creates playbooks from natural language prompts. SOAR integrations connect to real response platforms.\n\n---\n\n## Features\n\n- **Markdown to Flowchart** - Parse structured Markdown playbooks into node-edge graphs\n- **Mermaid Syntax** - Native support for Mermaid flowchart syntax\n- **Interactive Canvas** - Drag, pan, zoom with React Flow\n- **Custom Node Types** - Phase, Step, Decision, Execute, Merge with 5 variant styles\n- **Playbook Library** - Browse, categorize, and filter by type (Vulnerability, Incident Response, Threat Hunting)\n- **Execution Engine** - Run playbooks step-by-step with live status tracking, timestamps, and execution history\n- **AI Playbook Generation** - Generate complete playbooks from natural language incident descriptions\n- **SOAR Integration** - Built-in action library with connections to real response platforms\n- **MCP Integration** - Model Context Protocol hooks for AI-assisted execution\n- **MiniMap \u0026 Controls** - Bird's-eye view and viewport navigation\n- **Client-Side Parsing** - Zero-latency Markdown rendering in browser\n- **5 Visual Themes** - SOC, Analyst, Terminal, Command, Cyber variants\n- **Guided Tour** - Interactive walkthrough for first-time users\n- **Offline-First** - No backend required for visualization\n\n---\n\n## Quick Start\n\n```bash\n# Clone and install\ngit clone https://github.com/solomonneas/hotwash.git\ncd hotwash\n\n# Frontend\ncd web \u0026\u0026 npm install \u0026\u0026 npm run dev\n\n# Backend (optional, from the repo root)\npython3 -m venv .venv \u0026\u0026 .venv/bin/pip install -r requirements.txt\n.venv/bin/uvicorn api.main:app --port 8000\n```\n\nFrontend: **http://localhost:5177**\nBackend: **http://localhost:8000** (optional)\n\n---\n\n## Tech Stack\n\n| Layer | Technology | Purpose |\n|-------|-----------|---------|\n| **Frontend** | React 18.2 | Interactive dashboards |\n| **Language** | TypeScript 5.3 | Type safety |\n| **Styling** | Tailwind CSS 3.4 | Utility-first CSS |\n| **Canvas** | React Flow Renderer 10.3 | Node-edge graph visualization |\n| **State** | Zustand | Global state management |\n| **Bundler** | Vite 5 | Dev server and build |\n| **Backend** (Optional) | FastAPI 0.136 | Playbook storage, execution engine, integrations |\n| **Parser** | Custom Markdown Parser | Inline playbook parsing |\n\n---\n\n## Playbook Syntax\n\n### Markdown Format\n\n```markdown\n# Incident Response: Ransomware Attack\n\n## Phase: Detection\n- Step: Identify affected systems\n  - Check EDR alerts\n  - Correlate with SIEM events\n  - Document initial indicators\n\n## Phase: Analysis\n- Decision: Is it a critical system?\n  - YES -\u003e Execute: Isolate from network\n  - NO -\u003e Execute: Begin forensic collection\n\n## Phase: Containment\n- Step: Isolate affected hosts\n  - Segment network access\n  - Disable user accounts\n  - Preserve evidence\n\n## Phase: Eradication\n- Step: Remove malware\n  - Scan with multiple AV engines\n  - Remove registry keys\n  - Patch vulnerabilities\n\n## Phase: Recovery\n- Step: Restore systems\n  - Restore from clean backups\n  - Apply security patches\n  - Re-enable user access\n```\n\n### Mermaid Format\n\n```mermaid\nflowchart TD\n    A[Detection] --\u003e B{Critical System?}\n    B --\u003e|Yes| C[Isolate Network]\n    B --\u003e|No| D[Preserve Evidence]\n    C --\u003e E[Begin Analysis]\n    D --\u003e E\n    E --\u003e F[Eradicate Threat]\n    F --\u003e G[Recover Systems]\n```\n\n---\n\n## Node Types\n\n| Type | Purpose | Example |\n|------|---------|---------|\n| **Phase** | Major incident response phase | Detection, Analysis, Containment |\n| **Step** | Procedural action | Execute EDR scan, Document findings |\n| **Decision** | Conditional branch (Yes/No) | Is it critical? Is malware present? |\n| **Execute** | SOAR action or tool integration | Isolate host, Disable account, Block IP |\n| **Merge** | Convergence point | Rejoining analysis paths |\n\n---\n\n## 5 Variants\n\n| Variant | Theme | Use Case |\n|---------|-------|----------|\n| **SOC** | Dark slate, red accents | Security operations center |\n| **Analyst** | Clean white, blue | Professional analysis |\n| **Terminal** | Black, matrix green | Technical incident response |\n| **Command** | OD green, amber | Military-style operations |\n| **Cyber** | Neon cyan/magenta | Cyberpunk aesthetic |\n\nAll variants use the same parsing engine and React Flow canvas. Switch themes instantly.\n\n---\n\n## Project Structure\n\n```text\nhotwash/\n├── web/                      # React 18 + TypeScript + Vite frontend\n│   ├── src/\n│   │   ├── components/       # FlowCanvas (React Flow), panels, viewers\n│   │   ├── pages/            # Editor, Library, Executions, Suggestions, ...\n│   │   ├── parsers/          # Client-side Markdown/Mermaid parsing\n│   │   ├── api/              # Backend API client\n│   │   ├── hooks/            # useExecutionSocket and friends\n│   │   └── variants/         # Theme layouts\n│   ├── package.json\n│   └── vite.config.ts\n├── api/                      # FastAPI backend (optional)\n│   ├── main.py               # Entry point\n│   ├── routers/              # playbooks, executions, export, ingest, integrations, parse\n│   ├── services/             # Execution engine, ingest matching, tags\n│   ├── parsers/              # Markdown + Mermaid parsers\n│   ├── integrations/         # SOAR integration clients (TheHive)\n│   └── tests/                # pytest suite\n├── mcp/                      # hotwash-mcp npm package (MCP server, Node \u003e= 20)\n│   ├── src/index.ts          # Entry point\n│   └── src/tools/            # playbooks, runs, suggestions, artifacts tools\n├── docs/                     # ARCHITECTURE, CONFIGURATION, THEHIVE-INTEGRATION, WAZUH-INGEST\n└── requirements.txt\n```\n\n---\n\n## SOAR Actions\n\nBuilt-in action library for common SOAR platforms:\n\n**Incident Response Actions:**\n- `isolate_host` - Remove host from network\n- `disable_account` - Disable user account\n- `block_ioc` - Block IP/domain/hash\n- `snapshot_vm` - Create VM snapshot\n- `quarantine_email` - Isolate email message\n\n**Reconnaissance:**\n- `whois_lookup` - IP/domain registration info\n- `virustotal_check` - File hash reputation\n- `shodan_search` - Internet scan results\n\nAll actions are templates that teams can customize.\n\n---\n\n## Wazuh integration\n\nHotwash accepts Wazuh alerts via `POST /api/ingest/wazuh` (HMAC-authenticated)\nand matches them against a mapping table that can `auto`-start a run, queue a\nhuman-review suggestion, or log only. Mappings are managed via\n`/api/ingest/mappings` CRUD. See [docs/WAZUH-INGEST.md](docs/WAZUH-INGEST.md)\nfor the integration script template, HMAC scheme, and cooldown semantics.\n\n---\n\n## Roadmap\n\nShipped: the `hotwash-mcp` Model Context Protocol server (on npm) that lets AI agents drive playbook runs, and the Wazuh alert ingestion path with HMAC auth, mapping rules, and a human-review suggestion queue. Next up: richer execution reporting, more SOAR targets beyond TheHive, and deeper suggestion-queue workflows.\n\nSee [docs/ROADMAP.md](docs/ROADMAP.md) for the full plan.\n\n---\n\n## License\n\nMIT - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolomonneas%2Fhotwash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolomonneas%2Fhotwash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolomonneas%2Fhotwash/lists"}