A recent paper from Stanford University, by Neil Perry et al., found that AI-assisted coding is causing a dramatic increase in the quantity and severity of security risks in code. Many of these software engineers who "vibecode" don't fully understand the possible security implications of their code, and those who do are often unable to accurately and efficiently evaluate the vulnerabilities in their code. Existing tools, such as GitGuardian and CodeRabbit, are not adapting their analysis techniques to the rapidly changing landscape of AI-generated code, which exposes a higher number of vulnerabilities to users and malicious hackers. Our solution addresses this problem by using a structured evaluation method on dozens of common vulnerabilities to offer engineers specific recommendations.
- 🔍 Evaluates the likelihood that each file in a GitHub repository could contain a vulnerability.
- Isolates these files to limit the GPT context, allowing for targeted analysis with lower costs and lag time.
- 🤖 Secure AI-powered analysis using GPT-5 Reasoning.
- 🎯 Identifies common vulnerabilities (SQL injection, XSS, hardcoded secrets, etc.)
- 💻 Modern React frontend with FastAPI backend.
- 🚀 Targeted recommendations, code snippets, explanations, and the cybersecurity standards the code is violating.
- Frontend: React + Vite + CSS (runs on port 5173)
- Backend: FastAPI + Python (runs on port 8000)
- APIs: GitHub API, OpenAI API
Get started with TuringVault in 3 simple steps.
- Python 3.8+
- Node.js 18+
- GitHub Personal Access Token
- OpenAI API Key
- Visit GitHub Settings → Tokens
- Click "Generate new token (classic)"
- Name:
Security Analyzer - Scope: Select
public_repo(orrepofor private repos) - Click "Generate token" and copy the token
- Visit OpenAI API Keys
- Create and copy a new API key
Terminal 1:
./start-backend.shTerminal 2:
./start-frontend.sh- Open
http://localhost:5173in your browser - Enter a GitHub repository URL (e.g.,
https://github.com/hudsonmp/turingvault) - Click "Analyze Repository"
- Click "Analyze Files with GPT-5" for AI-powered security insights
| Issue | Solution |
|---|---|
| Failed to analyze repository | Verify GitHub token in backend/.env |
| Error analyzing files | Check OpenAI API key and account credits |
| Port already in use | Stop other processes on ports 8000 or 5173 |
For detailed documentation, see QUICKSTART.md
- Frontend sends repository URL to FastAPI backend
- Backend calls GitHub API to fetch the entire git tree
- Filtering happens server-side based on security keywords (auth, api, db, etc.)
- Backend fetches content of filtered files from GitHub
- GPT-5 Analysis each file is sent to OpenAI for security vulnerability detection
- Results are returned to the frontend and displayed in a user-friendly format
The analyzer looks for files containing these keywords:
- Authentication:
auth,login,password,token,jwt - API:
api,route,endpoint - Database:
query,database,db,sql - Configuration:
.env,secret,config - User Input:
upload,file,input,validation
- Integration with OpenAI's Agentic SDK (Swarm)
- Multi-agent analysis (different agents for different vulnerability types)
- Export reports as PDF
- Batch analysis of multiple repositories
- GitHub webhooks for automated scanning
- Integration with CI/CD pipelines
- Backend: FastAPI, httpx, python-dotenv, OpenAI SDK
- Frontend: React, Vite
- APIs: GitHub REST API v3, OpenAI Chat Completions API
MIT