Project Info

DevQ Studio

Devpost

๐Ÿš€

Inspiration

Code Sentinel Bot was born out of a pressing need: preventable security breaches caused by overlooked vulnerabilities in pull requests. Developers often lack the time or expertise for deep security reviews. With the rise of AI and increasingly complex cyber threats, we saw an opportunity to democratize security expertise by creating an intelligent assistant that embeds security into everyday development. Our goal is to shift security left โ€” enabling every developer to become a security-conscious developer. ๐Ÿง  What It Does Code Sentinel Bot is an AI-powered GitHub repository security analyzer that helps developers identify vulnerabilities before code is merged. ๐Ÿ” Core Features ๐Ÿ”— GitHub Integration: Analyzes public GitHub repositories and pull requests in real-time ๐Ÿค– AI-Powered Risk Assessment: Uses Claude AI to assign risk scores (0โ€“100%) per PR ๐Ÿ› ๏ธ Security Detection: Flags issues like SQL injection, insecure auth, and more ๐Ÿ’ฌ RAG Chatbot: A Retrieval-Augmented Generation assistant that answers repo-specific questions ๐Ÿ“Š Detailed Reports: Provides recommendations and technical analysis ๐Ÿ“ Analysis History: Saves analyzed repositories for continued monitoring ๐Ÿ“ˆ Modern UI: Responsive dashboard with live updates and intuitive design ๐Ÿ—๏ธ How We Built It ๐Ÿ–ฅ๏ธ Frontend React 18 + TypeScript โ€“ Modern, type-safe, and component-based Vite โ€“ For fast dev builds and optimized production shadcn/ui + Tailwind CSS โ€“ Beautiful and accessible UI React Query โ€“ API caching and efficient state management โš™๏ธ Backend & AI Integration Express.js Server โ€“ Backend proxy for AI and GitHub API Supabase Edge Functions โ€“ Serverless GitHub repo analysis Claude 3.5 Sonnet (Anthropic) โ€“ Natural language processing and code analysis Octokit GitHub API โ€“ Pull request and repo data fetching ๐Ÿงฌ AI & Security Pipeline ๐Ÿ” RAG System: Context-aware query responses ๐Ÿ“ Semantic Matching: Cosine similarity for code analysis ๐Ÿ›ก๏ธ Security Rule Engine: Detects common vulnerability patterns ๐Ÿ“‰ Risk Scoring: Multi-factor algorithm for threat estimation โ˜๏ธ Deployment Full-Stack Deployment: With secure environment management CORS + API Keys: Secure backend services WebSocket-like Updates: Live stream of analysis results ๐Ÿง—โ€โ™€๏ธ Challenges We Faced Technical GitHub API Rate Limits: Solved via caching and batching Claude Token Limits: Overcame with chunking strategy Balancing Speed vs Accuracy: Used prompt engineering + parallel processing Integration Cross-Browser Compatibility: Required extensive testing State Management: Complex UI and backend state syncing Robust Error Handling: Built for network failures, invalid repos, etc. Performance Bundle Optimization: Lazy loading and code splitting Memory Management: Efficient handling of large repos ๐Ÿ† Accomplishments โœ… Seamless integration of GitHub and AI platforms โšก Sub-30-second real-time security analysis ๐Ÿ” Smart risk scoring algorithm for PRs ๐Ÿ’ก RAG implementation for contextual developer Q&A ๐ŸŽจ Responsive, intuitive UI for all devices ๐ŸŒ Democratizing security for small teams and solo devs ๐Ÿ“š What We Learned ๐Ÿ“Š AI Prompt Engineering & Token Management ๐Ÿงฉ Advanced React patterns (hooks, context, performance) ๐Ÿ”’ Secure, scalable API design ๐Ÿ‘จโ€๐Ÿ’ป UI/UX matters: User testing and feedback made a huge impact ๐Ÿšฆ Trade-offs: Performance vs features ๐Ÿง  Building with security in mind from day one ๐Ÿค Cross-functional collaboration & Agile workflows ๐Ÿ”ฎ Whatโ€™s Next ๐Ÿ“Œ Immediate (0โ€“3 months) ๐Ÿ” Private & Enterprise GitHub support โš™๏ธ Advanced vulnerability detection ๐Ÿ‘ฅ Team features & account management ๐Ÿ“ฑ Mobile app for real-time monitoring ๐Ÿ—“๏ธ Medium Term (6โ€“12 months) ๐Ÿงช CI/CD integration (GitHub Actions, Jenkins, etc.) ๐Ÿงท Support for GitLab, Bitbucket, etc. ๐Ÿ“œ Customizable security policies ๐Ÿ“ˆ Predictive security trend analytics ๐ŸŒ Long-Term Vision (1โ€“2 years) ๐Ÿง  AI Security Advisor โ€“ proactive recommendations ๐ŸŒ Open Source Vulnerability DB ๐Ÿง‘โ€๐Ÿซ Integrated Security Education Platform ๐Ÿ”— Blockchain-based audit trails ๐Ÿงฌ ML pipelines for zero-day detection ๐Ÿ”ง Technical Enhancements (Ongoing) โšก Faster access with edge computing & caching ๐Ÿง  Multi-model AI integration for specialized tasks ๐Ÿ”— Blockchain compliance logging ๐Ÿ“Š Custom-trained ML models for security pattern recognition Code Sentinel Bot is our commitment to a future where security isn't an afterthought โ€” it's AI-assisted, real-time, and developer-first. Together, we can build a safer internet, one pull request at a time.

Analysis

Compare with all teams

View

Metric

Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.

Technology

Found in codeClaimed only
  • AnthropicIn code
  • CSSIn code
  • ExpressIn code
  • HTMLIn code
  • JavaScriptIn code
  • ReactIn code
  • SupabaseIn code
  • Tailwind CSSIn code
  • TypeScriptIn code
  • Node.jsClaimed

9 of 10 appear in the indexed code. 1 claimed on Devpost could not be matched to code, which may simply mean the tool leaves no trace in the repository.

AI coding agents

No AI coding agent signals were found in this repository.

Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.

Codebase size

Source size

356 KB

Source files

84

Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.

0 stars