How suhaskoparde/ai-fuzzer works
AI-Fuzzer combines a React security-assessment dashboard with a FastAPI backend for target registration, connectivity checks, fuzz-case generation, and execution. The visible frontend is a demo: its pages use an in-memory mock service, and the supplied evidence does not show it calling the backend. The backend’s execution path can send generated prompts to configured AI endpoints. Reports, findings, scan history, and settings are represented in the frontend, but their real backend implementation is not shown.
Main entry points: App.tsx Web application · mockApi.ts Mock application service · main.py FastAPI application · DashboardPage.tsx Dashboard
Components 21
Assessment interface
- Web application
AI-Fuzzer/frontend/src/App.tsx - Dashboard
AI-Fuzzer/frontend/src/pages/DashboardPage.tsx - Target management
AI-Fuzzer/frontend/src/pages/TargetsPage.tsx - Scan setup
AI-Fuzzer/frontend/src/pages/NewScanPage.tsx - Scan history and details
AI-Fuzzer/frontend/src/pages/ScanHistoryPage.tsx - Finding review
AI-Fuzzer/frontend/src/pages/FindingsPage.tsx - Report review
AI-Fuzzer/frontend/src/pages/ReportsPage.tsx - Settings
AI-Fuzzer/frontend/src/pages/SettingsPage.tsx
Demo data service
- Mock application service
AI-Fuzzer/frontend/src/services/mockApi.ts - Demo assessment data
AI-Fuzzer/frontend/src/data/mockData.ts
Backend API
- FastAPI application
backend/app/main.py - Target API
backend/app/api/targets.py - Connectivity API
backend/app/api/connectivity.py - Fuzzing API
backend/app/api/fuzzing.py - Execution API
backend/app/api/execution.py
Fuzzing runtime
- Target manager
backend/app/adapters/manager.py - Connectivity tester
backend/app/connectivity/tester.py - Fuzz-case generator
backend/app/fuzzing/generator.py - Fuzz executor
backend/app/execution/executor.py
Other components
- Security operator
- AI endpoint
Connections 25
- Security operator → Web application: uses
AI-Fuzzer/frontend/src/App.tsx - Web application → Dashboard: routes to
AI-Fuzzer/frontend/src/App.tsx - Web application → Target management: routes to
AI-Fuzzer/frontend/src/App.tsx - Web application → Scan setup: routes to
AI-Fuzzer/frontend/src/App.tsx - Web application → Scan history and details: routes to
AI-Fuzzer/frontend/src/App.tsx - Web application → Finding review: routes to
AI-Fuzzer/frontend/src/App.tsx - Web application → Report review: routes to
AI-Fuzzer/frontend/src/App.tsx - Web application → Settings: routes to
AI-Fuzzer/frontend/src/App.tsx - Dashboard → Mock application service: requests metrics
AI-Fuzzer/frontend/src/pages/DashboardPage.tsx - Target management → Mock application service: manages targets
AI-Fuzzer/frontend/src/pages/TargetsPage.tsx - Scan setup → Mock application service: starts scans
AI-Fuzzer/frontend/src/pages/NewScanPage.tsx - Scan history and details → Mock application service: loads scans
- Finding review → Mock application service: loads findings
- Report review → Mock application service: loads reports
- Mock application service → Demo assessment data: initializes from
AI-Fuzzer/frontend/src/services/mockApi.ts - FastAPI application → Target API: registers router
backend/app/main.py - FastAPI application → Connectivity API: registers router
backend/app/main.py - FastAPI application → Fuzzing API: registers router
backend/app/main.py - FastAPI application → Execution API: registers router
backend/app/main.py - Target API → Target manager: manages targets
backend/app/api/targets.py - Connectivity API → Connectivity tester: tests endpoint
backend/app/api/connectivity.py - Fuzzing API → Fuzz-case generator: generates cases
backend/app/api/fuzzing.py - Execution API → Fuzz executor: executes cases
backend/app/api/execution.py - Connectivity tester → AI endpoint: checks reachability
backend/app/connectivity/tester.py - Fuzz executor → AI endpoint: sends prompts
backend/app/execution/executor.py