Inspiration
Manual security audits are slow, and security reports are often too technical for developers to act on quickly. I wanted to build Sentinel Guard AI—a tool that doesn't just find bugs but acts as an autonomous security engineer that explains and automatically fixes vulnerabilities in real-time.
What it does
Sentinel Guard AI is an autonomous security remediation platform. It securely connects to GitHub via the Auth0 Token Vault to scan repositories. Using the Bandit engine, it detects vulnerabilities and then leverages OpenAI GPT-4o to provide:
AI-Powered Auto-Fix: Automatically generates secure code patches to replace vulnerable code.
Intelligent Insights: Clear, conversational explanations of security risks.
Professional Audit Reports: Instant PDF generation containing the full security posture and remediation steps.
How we built it
Backend: Powered by Flask with a multi-threaded architecture for high-performance scanning.
Identity & Security: Integrated Auth0 Management API and Token Vault to securely handle GitHub personal access tokens without exposing them in the code.
AI Engine: Implemented OpenAI's GPT-4o for high-fidelity code analysis and patch generation.
Security Scanning: Core static analysis is handled by the Bandit security engine.
Challenges we ran into
The biggest hurdle was implementing the Auth0 Token Vault flow. Fetching tokens securely from the Management API while maintaining a seamless user experience required deep integration with Auth0's backend. We also overcame syntax parsing errors in the Bandit engine by optimizing how multi-file repository data is fed into the scanner.
Accomplishments that we're proud of
We successfully built a working pipeline where a user can login via Auth0, connect their GitHub, and get an Auto-Fixed version of their code in seconds. Achieving a "Client Authorized" status for our M2M application was a significant technical milestone.
What we learned
Building this taught us the importance of Secret Management. Using Auth0's Token Vault showed us how to build production-grade applications that don't rely on hardcoded environment variables for user-specific integrations.
What's next for Sentinel Guard AI
We plan to add Direct Pull Request (PR) Integration, where the AI can automatically open a PR on GitHub with the suggested security fixes, making the remediation process 100% autonomous.
Log in or sign up for Devpost to join the conversation.