Skip to content

boshyxd/SecureVision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

93 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SecureVision - Breach Data Analysis Platform

A multimodal breach analysis platform that combines data processing, Groq AI analysis, and visualization to help identify and analyze breached credentials.

Features

  • 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

Tech Stack

  • 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

Setup

  1. Clone the Repository

    git clone https://github.com/yourusername/securevision.git
    cd securevision
  2. Install Dependencies

    # Backend
    pip install -r requirements.txt
    
    # Frontend
    cd frontend/secure-vision
    npm install
  3. 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
  4. Initialize Database

    python scripts/init_db.py
  5. Start the Services

    # Backend
    uvicorn app.main:app --reload
    
    # Frontend
    cd frontend/secure-vision
    npm run dev

Project Structure

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

API Endpoints

  • GET /api/v1/search - Search breach data with filters
  • GET /api/v1/stats - Get breach statistics
  • GET /api/v1/domains/{domain} - Get domain-specific data
  • WS /api/v1/ws - WebSocket for real-time updates

Development

  1. Running Tests

    pytest tests/ -v
  2. Code Style

    # Install development dependencies
    pip install black isort flake8
    
    # Format code
    black .
    isort .
    flake8

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Multimodal Breach Analysis Platform - ๐Ÿฅ‡ uOttahack7 Winning Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

โšก