# ViberChecekr

- **Event:** [Gemini Vibe Code Hackathon – SF](https://cerebralvalley.ai/e/vibe-code-gemini-sf)
- **When:** Sat, Nov 8 at 9:00 AM – 10:00 PM (PST)
- **Where:** 365 Toni Stone Xing, San Francisco, CA
- **Team:** [Sriram Madduri](https://cerebralvalley.ai/u/srirammadduri)
- **GitHub:** https://github.com/smadduri9/ai-security-scanner
- **Demo video:** https://youtu.be/LgrMz6RR7eg
- **Gallery:** https://cerebralvalley.ai/e/vibe-code-gemini-sf/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/vibe-code-gemini-sf/hackathon/gallery/36

This project is an AI-powered security scanner for GitHub repositories that uses Google's Gemini 2.5 Pro API and a three-agent architecture.

A user submits a GitHub URL via a Flask interface. The system clones the repo and compiles its source code into a single payload.

Agent 1 (VulnerabilityScanner): Analyzes the payload using Gemini to detect four vulnerability types (hardcoded credentials, SQL injection, XSS, missing authentication), returning structured JSON findings.

Agent 2 (CodePatcher): If vulnerabilities are found, this agent receives the findings and the full codebase to generate minimal, secure code fixes that address the root cause.

Agent 3 (CodeValidator): Validates the proposed fixes in an evolutionary loop (up to 3 iterations). Validation is two-stage: Stage 1 checks syntax with parsers, and Stage 2 uses Gemini to confirm the fix works and doesn't introduce regressions, providing a final quality analysis.

---

Markdown version of https://cerebralvalley.ai/e/vibe-code-gemini-sf/hackathon/gallery/36. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
