The MN Analise extension for Visual Studio Code allows the analysis of selected code snippets for vulnerabilities using the OpenAI GPT-3.5-turbo model. The extension offers a simple and fast way to detect potential security issues in your code and receive explanations for any vulnerabilities identified.
Features
Vulnerability Detection: Analyze selected code snippets for potential vulnerabilities.
Explanation: Receive detailed explanations for the detected vulnerabilities, if any.
Webview Panel: View the results of the vulnerability analysis in a dedicated webview panel within Visual Studio Code.
Prerequisites
Before using the extension, ensure you have the following:
Visual Studio Code installed
An OpenAI API key, with sufficient credit to make requests
Installation
Install the extension from the Visual Studio Code marketplace.
Usage
Define your OpenAI API Key in the Extension Settings.
Open a code file in Visual Studio Code.
Select the snippet of code you wish to analyze.
Run the "Search for vulnerabilities" command from the command palette.
The extension will send the selected code to OpenAI for analysis.
A webview panel will be opened displaying the results of the analysis, including any vulnerabilities detected and explanations.
Video Tutorial
Click Here to Dive Into Our Step-by-Step Video Guide.