A comprehensive platform for automated security scanning of GitHub repositories to detect exposed secrets and sensitive information. This project extends the original git-alerts CLI tool with a web-based platform.
GitAlerts provides a complete solution for monitoring GitHub repositories for security vulnerabilities:
- Automated Scanning - Detect exposed secrets using TruffleHog
- Multiple Discovery Methods - Scan organization repos, user repos, and GitHub search results
- Smart Filtering - Reduce false positives with configurable ignore rules
- Web Interface - Manage scans and view results through a modern React UI
- API Access - RESTful API with interactive documentation
- AI Integration - MCP server for LLM/AI tool integration
📺 GitAlerts Platform Walkthrough
This project consists of three main components:
api/- Django REST API backend (API Documentation)ui/- React frontend application (UI Documentation)mcp-server/- MCP server for AI/LLM integration (MCP Server Documentation)
The fastest way to get GitAlerts running. Requires Docker and Docker Compose.
git clone https://github.com/YOUR_USERNAME/git-alerts-api.git
cd git-alerts-api
cp .env.example .env
docker compose upOnce everything is up:
- UI: http://localhost:5173
- API: http://localhost:8000
- API docs: http://localhost:8000/api/docs/
To create an admin user:
docker compose exec api python manage.py createsuperuserThe MCP server is not part of the compose stack since MCP clients typically launch it themselves. See mcp-server/README.md for setup.
If you prefer to run components natively, see each component's README:
- API Documentation - Backend API setup and usage
- UI Documentation - Frontend application setup
- MCP Server Documentation - AI/LLM integration setup
- Architecture Documentation - System architecture overview