Skip to content

Repository files navigation

πŸ›‘οΈ sentinelOps

Comprehensive security automation platform with vulnerability scanning, phishing detection, and subdomain discovery

License: MIT Built with React Powered by FastAPI Live Demo

πŸ“‹ Overview

sentinelOps is a comprehensive security automation platform providing multiple scanning and analysis tools. The platform combines a modern React frontend with a robust FastAPI backend to deliver vulnerability scanning, phishing detection, subdomain discovery, and security fix generation.

The architecture leverages machine learning models trained on security features and integrates with industry-standard security tools like pip-audit, npm audit, and osv-scanner to provide multi-language vulnerability detection across 15+ programming languages.

The platform features async/await architecture for concurrent processing, Google Gemini AI integration for intelligent fix generation, and production-ready deployments on Netlify (frontend) and Render (backend).

✨ Key Features

πŸ” Multi-language Vulnerability Scanner

  • CVE detection across 15+ programming languages (Python, Node.js, Go, Java, Rust, Ruby, PHP, and more)
  • AI-powered security fix generation using Google Gemini
  • Detailed vulnerability reports with confidence scoring

🚨 ML-powered Phishing URL Detector

  • Random Forest model trained on 30+ security features
  • 95%+ accuracy in phishing detection
  • Real-time URL analysis with confidence scoring

🌐 Subdomain Finder

  • Certificate Transparency integration
  • SecurityTrails API integration
  • Comprehensive subdomain discovery

πŸ“Š Real-time Security Analysis

  • Concurrent processing with async/await architecture
  • Confidence scoring for all detections
  • Detailed vulnerability assessments

πŸ“„ PDF Report Generation

  • Professional scan result reports
  • Vulnerability assessment documentation
  • Export-ready format

πŸ“Έ Screenshots

Main Dashboard

sentinelOps - Main Dashboard

Vulnerability Scanner

sentinelOps - Vulnerability Scanner

Phishing Detection

sentinelOps - Phishing Detection


πŸš€ Quick Start

Prerequisites

  • Node.js 18.0 or higher
  • Python 3.9 or higher
  • npm or bun package manager

Frontend Setup

  1. Clone the repository

    git clone https://github.com/yourusername/sentinelOps.git
    cd sentinelOps
  2. Install dependencies

    npm install
    # or
    bun install
  3. Start development server

    npm run dev
    # or
    bun dev
  4. Build for production

    npm run build

Backend Setup

Refer to the backend repository for FastAPI setup instructions.

πŸ› οΈ Tech Stack

Frontend

  • React - UI framework
  • TypeScript - Type safety
  • Vite - Build tool
  • Tailwind CSS - Styling
  • Framer Motion - Animations
  • Shadcn/ui - Component library

Backend

  • FastAPI - Python web framework
  • Python - Backend language
  • Scikit-learn - Machine learning models
  • PostgreSQL - Database
  • Google Gemini - AI fix generation

Tools & Services

  • pip-audit - Python vulnerability scanning
  • npm audit - Node.js vulnerability scanning
  • osv-scanner - Multi-language vulnerability detection
  • Certificate Transparency - Subdomain discovery
  • SecurityTrails - Security intelligence

🎯 How It Works

Vulnerability Scanning Process

  1. User submits repository URL or code
  2. Tool detection based on manifest files (requirements.txt, package.json, etc.)
  3. Appropriate security tools execute concurrently
  4. ML model processes and ranks vulnerabilities
  5. Google Gemini generates intelligent security fixes
  6. Results compiled into comprehensive report

Phishing Detection Process

  1. User submits URL for analysis
  2. 30+ security features extracted from URL
  3. Random Forest classifier predicts phishing probability
  4. Confidence score and detailed analysis provided
  5. Real-time results with explanations

Subdomain Discovery

  1. Certificate Transparency logs queried
  2. SecurityTrails API integration for additional intelligence
  3. Results aggregated and deduplicated
  4. Comprehensive subdomain report generated

πŸ“Š Performance & Impact

  • 50+ users actively scanning repositories for security vulnerabilities
  • 95%+ accuracy in phishing URL detection
  • Support for 15+ programming languages
  • 1000+ CVEs covered
  • 50% faster vulnerability detection with async processing
  • Integrated with Google Gemini AI for intelligent security fix generation

πŸ—οΈ Architecture Highlights

Frontend Architecture

  • Component-based React architecture
  • TypeScript for type safety
  • Responsive design with Tailwind CSS
  • Smooth animations with Framer Motion
  • Modular UI components from Shadcn

Backend Architecture

  • Async/await with FastAPI for concurrent processing
  • Machine learning models for phishing detection
  • Integration with multiple security scanning tools
  • Intelligent error handling and timeouts
  • Production-ready with proper logging

Data Flow

  1. Frontend collects user input
  2. Sends request to FastAPI backend
  3. Backend detects tools and runs concurrent scans
  4. ML models process results
  5. AI generates intelligent fixes
  6. Results returned to frontend
  7. PDF report generation and export

πŸŽ“ Technical Challenges & Solutions

Challenge: Integrating Multiple Security Tools

Solution: Implemented tool detection based on manifest files (requirements.txt, package.json, etc.)

Challenge: Processing Large Repositories Efficiently

Solution: Used async/await architecture with aiohttp for concurrent processing and intelligent caching

Challenge: Building Accurate Phishing Models

Solution: Trained Random Forest Classifier with 30+ engineered security features achieving 95%+ accuracy

Challenge: Maintaining API Response Consistency

Solution: Built async backend with proper error handling and request timeouts

Challenge: Model Persistence & Deployment

Solution: Deployed trained models using joblib with version control for reproducibility

πŸ” Security Considerations

  • All external API calls validated and sanitized
  • Models deployed securely with version control
  • Regular vulnerability assessments
  • Production deployments with environment variable protection
  • HTTPS enforced for all communications

πŸš€ Deployment

Frontend

  • Hosting: Vercel
  • Auto-deployment: On push to main branch
  • Performance: Optimized builds with Vite

Backend

  • Hosting: Render
  • Runtime: Python environment with dependencies
  • Database: PostgreSQL managed instance

πŸ“ Project Structure

sentinelOps/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/        # React components
β”‚   β”œβ”€β”€ pages/            # Page components
β”‚   β”œβ”€β”€ hooks/            # Custom React hooks
β”‚   β”œβ”€β”€ lib/              # Utility functions
β”‚   β”œβ”€β”€ api/              # API route handlers
β”‚   └── assets/           # Static assets
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ images/           # Screenshots and images
β”‚   β”œβ”€β”€ icons/            # Icon assets
β”‚   └── robots.txt
β”œβ”€β”€ vite.config.ts        # Vite configuration
β”œβ”€β”€ tsconfig.json         # TypeScript configuration
β”œβ”€β”€ tailwind.config.ts    # Tailwind CSS configuration
└── package.json          # Project dependencies

🀝 Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

About

sentinelOps is a comprehensive cybersecurity platform providing multiple security scanning and analysis tools. The platform combines a modern React frontend with a robust FastAPI backend to deliver vulnerability scanning, phishing detection, subdomain discovery, and AI-powered security fix generation.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages