Dev Secure is an AI-powered tool that detects vulnerabilities in code and rates them as high, low, or average. Leveraging the Ollama Mistral model running locally, it provides a chat-like interface for analyzing code security issues in real-time.
- Real-time vulnerability analysis: Users can input code and receive instant feedback on its security.
- AI-powered vulnerability detection: The chatbot leverages the Ollama Mistral LLM for detecting and assessing code vulnerabilities.
- Conversational AI: Engage in natural, interactive conversations about code security.
- Responsive and clean UI: The user interface adapts to various screen sizes, providing a visually appealing and intuitive experience.
- Authentication: Users can sign up and log in via Firebase for personalized sessions.
- Firebase integration: Firebase handles secure user authentication and real-time data management.
Dev Secure is built using the following technologies:
- React.js: A JavaScript library for building user interfaces.
- CSS Modules: Locally scoped CSS for styling React components.
- Ollama Mistral LLM: A locally running language model that detects code vulnerabilities.
- Node.js: JavaScript runtime environment for server-side operations.
- Flask: A web application framework for Python, managing API routes and requests.
- React Router: For handling routing within the React application.
- Axios: A promise-based HTTP client for making API requests from the frontend.
- Firebase: For authentication, hosting, and real-time data storage.
- dotenv: For loading environment variables from a
.envfile. - CORS: To handle cross-origin requests in web browsers.
- Nodemon: Automatically restarts the server when code changes.
Before getting started, ensure you have the following prerequisites installed:
- Node.js: Download and install Node.js from the official website.
- Firebase account: Create a Firebase account and set up a new project.
- Ollama Mistral LLM: Ensure the model is running locally for real-time analysis.
To run Dev Secure locally, follow these steps:
- Clone the repository
- Navigate to the project directory
- Install the dependencies
- Start the frontend server
cd frontend npm start - Start the backend server:
cd backend
npm start


