Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Code Shield GPT4: aiattack An AI-Enhanced IDE Plugin for Secure DevelopmentNew to Visual Studio Code? Get it now.
Code Shield GPT4: aiattack An AI-Enhanced IDE Plugin for Secure Development

Code Shield GPT4: aiattack An AI-Enhanced IDE Plugin for Secure Development

Samraj D

|
5 installs
| (0) | Free
Code Shield GPT4: aiattack is a cutting-edge Visual Studio Code extension meticulously designed to bolster secure development practices. Leveraging the power of OpenAI's GPT-4, this AI-enhanced plugin
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Shield: An AI-Enhanced IDE Plugin for Secure Development

"This Visual Studio Code extension seamlessly integrates with the official Azure OpenAI Client Library, empowering developers to conduct advanced security scans and execute secure code refactoring with ease. By harnessing the capabilities of Azure and OpenAI, it provides an efficient and comprehensive solution to enhance code security, ensuring that your applications are not only functional but also robustly safeguarded against potential vulnerabilities." 🚀✨

Links:

  • Visual Studio Marketplace

Features

💡 Ask general questions or use code snippets from the editor to query ChatGPT via an input box in the sidebar. 💬 View chat history with requests and responses. Toggle the display of requests and responses between rendered Markdown and raw text. 📝 Insert code snippets from the AI's response into the active editor with corrected indentation. 📋 Copy code snippets to the clipboard. 📚 Multiple types of context available: ❌ No context. 📝 Selected text. 🖱️ Right-click on a code selection and run one of the context menu shortcuts for your code: 🤔 Performs security scan. ♻️ Suggests secure coding. 🐛 Find problems with the code. 💻 Complete the code according to the comments. 🚀 See the response as it is being generated in real time. 💬 Ask follow-up questions to the response and maintain conversation context.

Installation

To use this extension, install it from the VSCode marketplace.

  1. After the installation is complete, you will need to add your Azure OpenAI API key, endpoint and deployment name to the extension settings in VSCode. To do this, open the Settings panel by going to the File menu and selecting Preferences, then Settings.
  2. In the search bar, type Code Shield to filter the settings list.
  3. In the Code Shield section, enter your API key, endpoint and deployment name. You can find these in your Azure OpenAI account.

After completing these steps, the extension should be ready to use.

You can select some code in the editor, right click on it and choose one of the following shortcuts from the context menu:

Commands:

  • Ask Code Shield: will provide a prompt for you to enter any query
  • Code Shield: Securityscan selection: will securityscan what the selected code does
  • Code Shield: Securecode selection: will try to refactor the selected code
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft