Fluid Attacks has a powerful extension for the Visual Studio Code (VScode) editor. With this extension, you can see reported vulnerabilities in the platform by pointing you to the specific file and line of code where the vulnerability was reported and redirect you to criteria documentation. Also, in this plugin, you can see how to fix reported vulnerabilities in your code, getting customized fixes or solutions for these with the two features of our plugin that work with GPT-4 called Custom fix and Autofix.
Remember that depending on the files you have as analysis input, these are the ones that will reflect this information.
After downloading the extension, you must configure the connectivity between the editor and the platform. This can be done in two ways.
A box will appear at the top. Enter your token and press Enter to add it, or press Escape to cancel.
Remember that you will be prompted to refresh for the changes to be applied. Click on Reload button.
After refreshing the changes, you'll have the configuration ready.
Now the second way to add the token is by exporting the variable. You go to the terminal and create the following variable:
export FLUID_API_TOKEN= “your token”
After that, you added the token and established the connection.