A multimodal breach analysis platform that combines data processing, Groq AI analysis, and visualization to help identify and analyze breached credentials.
-
Data Processing
- Parse large breach data files (7K-25M lines)
- Enrich data with domain, IP, and security information
- Identify login forms, CAPTCHAs, and MFA requirements
- Tag URLs based on security features and status
-
AI-Powered Analysis
- Groq AI integration (llama 3.3)
- Pattern recognition in passwords
- Risk scoring (0.0-1.0)
- Security insights generation
-
Search & Analytics
- Find accounts by domain/IP
- Filter by application type (WordPress, Citrix, etc.)
- Search by port or URL path
- Exclude non-routable IP ranges
- Tag-based filtering
-
Real-time Updates
- WebSocket connections for live data
- Background processing for large datasets
- Instant notification of high-risk findings
-
Backend
- FastAPI for REST and WebSocket endpoints
- SQLAlchemy with MySQL for data storage
- Async processing for scalability
- Groq AI for analysis
-
Frontend
- React with modern UI components
- Nivo/D3.js for data visualization
- Real-time updates via WebSocket
- Responsive dashboard design
-
Clone the Repository
git clone https://github.com/yourusername/securevision.git cd securevision
-
Install Dependencies
# Backend pip install -r requirements.txt # Frontend cd frontend/secure-vision npm install
-
Environment Setup Create a
.env
file in the root directory:MYSQL_HOST=localhost MYSQL_USER=root MYSQL_PASSWORD=your_password MYSQL_DB=securevision MYSQL_URL=mysql+pymysql://root:your_password@localhost/securevision GROQ_API_KEY=your_groq_api_key SHODAN_API_KEY=your_shodan_api_key APP_ENV=development DEBUG=true HOST=0.0.0.0 PORT=8000
-
Initialize Database
python scripts/init_db.py
-
Start the Services
# Backend uvicorn app.main:app --reload # Frontend cd frontend/secure-vision npm run dev
securevision/
βββ app/
β βββ __init__.py
β βββ main.py
β βββ models/
β β βββ __init__.py
β β βββ database.py
β βββ api/
β β βββ __init__.py
β β βββ v1/
β β βββ __init__.py
β β βββ search.py
β βββ services/
β βββ __init__.py
β βββ data_enrichment.py
βββ frontend/
β βββ secure-vision/
β βββ src/
β β βββ components/
β β βββ pages/
β βββ package.json
βββ tests/
β βββ conftest.py
β βββ test_data_ingestion.py
βββ scripts/
β βββ init_db.py
βββ requirements.txt
βββ README.md
GET /api/v1/search
- Search breach data with filtersGET /api/v1/stats
- Get breach statisticsGET /api/v1/domains/{domain}
- Get domain-specific dataWS /api/v1/ws
- WebSocket for real-time updates
-
Running Tests
pytest tests/ -v
-
Code Style
# Install development dependencies pip install black isort flake8 # Format code black . isort . flake8
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.