Skip to content

TheCosmicWizard/SecureCode-Guardian---EH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ SecureCode Guardian

🚀 DevSecOps Local Project Security Scanner

SecureCode Guardian is a full-stack security analysis platform that helps developers detect vulnerabilities in their code before deployment.

🔥 Features

  • 🔍 Secret Detection (API keys, tokens, passwords)
  • 🛠 Pattern Detection (SQL injection, debug mode)
  • 📦 Dependency Vulnerability Analysis
  • 📊 Risk Scoring System
  • 📄 PDF Security Reports
  • 📁 Project Version Tracking
  • 📈 Dashboard Analytics

🏗️ Architecture

Frontend → Flask API → Scanner Engine → Risk Engine → SQLite → Dashboard

⚙️ Tech Stack

  • Frontend: HTML, Tailwind CSS, JavaScript
  • Backend: Python (Flask)
  • Database: SQLite
  • Charts: Chart.js

📁 Project Structure

securecode_guardian/
├── backend/
│   ├── app.py
│   ├── routes/
│   ├── services/
│   └── utils/
├── frontend/
│   ├── static/
│   └── templates/
├── scanner/
│   ├── file_scanner.py
│   ├── secret_detector.py
│   ├── pattern_detector.py
│   └── dependency_checker.py
├── database/
├── uploads/
└── reports/

🚀 Quick Start

1. Install Dependencies

pip install -r requirements.txt

2. Verify Installation

python verify_install.py

3. Start Application

python run.py

4. Access Dashboard

Open your browser and navigate to: http://localhost:5000

📋 Requirements

  • Python 3.8+
  • 8GB RAM (recommended)
  • Multi-core CPU (for optimal performance)

🔧 Development

Run Tests

# Run all tests
python -m pytest tests/

# Run specific test
python tests/test_scanner.py

Project Structure

See PROJECT_STRUCTURE.md for detailed architecture documentation.

📊 Key Modules

  • File Scanner - Traverse directories and analyze files
  • Secret Detector - Find API keys, tokens, passwords
  • Pattern Detector - Detect SQL injection, debug mode
  • Dependency Checker - Analyze vulnerable dependencies
  • Risk Engine - Calculate security scores

📈 Future Scope

  • CI/CD integration
  • GitHub scanning
  • AI-based vulnerability detection
  • Cloud deployment

🎯 Use Case

  • Developers
  • Students
  • DevOps engineers
  • Security learners

🏆 Motto

Secure your code before deployment.

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors