Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Cybersecurity Code Assistant

This project is an intelligent chatbot interface that accepts code snippets and GitHub links as input. It utilizes Gemini's Large Language Model (LLM) to detect Common Weakness Enumeration (CWE) vulnerabilities within the code and provides corresponding fixes.

Features

  • Code Input: Accepts code snippets in multiple programming languages.
  • GitHub Link Input: Can analyze code directly from a provided GitHub repository link.
  • CWE Vulnerability Detection: Identifies potential security weaknesses based on the CWE framework.
  • Automated Fix Suggestions: Suggests fixes for the detected vulnerabilities using Gemini's LLM.
  • Multi-language Support: Supports multiple programming languages for vulnerability analysis.

Technologies Used (Dependencies)

Frontend:

  • HTML, CSS, JavaScript: For building a clean and responsive user interface, allowing users to interact with the chatbot easily.
  • React.js: For creating a dynamic and interactive UI, handling real-time user input, and providing smooth communication with the backend.

Backend:

  • Node.js: For handling server-side operations, managing requests, and processing code snippets or GitHub links submitted by users.
  • Express.js (for Node.js): For creating APIs that handle the communication between the frontend and the LLM or GitHub repository analysis features.

AI/LLM Integration:

  • Gemini API: To perform vulnerability detection in code, provide explanations, and suggest fixes.

Code Analysis and Security Tools:

  • GitHub API: For integrating the chatbot with GitHub repositories, allowing automated scanning and analysis of entire codebases.

Screenshots

WhatsApp Image 2024-10-20 at 11 38 07_8809933d

Demo Video

React.App.-.Google.Chrome.2024-10-22.00-37-59.mp4

Flowchart

PHOTO-2024-10-20-11-16-44

Future Enchancement

Further we can fine-tune the model or use RAG to increase the accuracy of the model.

Deployment

You can access the live version of the project at the following link: https://cyber-hunters-tf-24-uzrw.vercel.app/

Hackathon Achievement

Placement: 2nd Place in TRANSFINITTE '24 Hackathon

Overview: This project was developed as part of the TRANSFINITTE '24 Hackathon, where we competed against talented developers and innovated solutions to CyWreck-Problem Statement pg(21)

Team

Name Github Profile
Siddhey Patil @S1DDHEY
Shivam Gupta @sir-shivam
Vinay Aher @VinayAher
Tejas Salunkhe @tejassalunkhe2806
Shivansh @shivansh482

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages