Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>CodeGuardNew to Visual Studio Code? Get it now.
CodeGuard

CodeGuard

Skytells

|
623 installs
| (0) | Free
| Sponsor
Real-time AI-Powered Security Analysis for Developers
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodeGuard 🔒

License VSCode Version

Real-Time AI-Powered Code Security Analysis for VS Code CodeGuard is a powerful VS Code extension that provides real-time security analysis of your code using advanced AI models. It helps developers identify potential security vulnerabilities, including SQL injection, XSS, and RCE threats, as they write code - making security an integral part of the development workflow.

CodeGuard Banner

Features ✨

  • 🚨 Real-time security threat detection (SQLi, XSS, RCE, etc.)
  • 🧠 GPT-4 powered vulnerability analysis
  • 🔄 Configurable debounce time (500-5000ms)
  • 📊 Multi-threat probability modeling
  • 🌐 Multi-language support (PHP, JS, Python, Java, etc.)

Installation 📦

Prerequisites

  • Node.js ≥18.x
  • VS Code ≥1.96.0
  • OpenAI API key

Getting an OpenAI API Key

  1. Visit OpenAI's platform
  2. Create or log into your account
  3. Go to API Keys section
  4. Click "Create new secret key"
  5. Copy your API key (store it safely - you won't be able to see it again!)

Steps

  1. Install from VS Marketplace

    code --install-extension skytells.codeguard
    
  2. Set API key:

    Ctrl+Shift+P → "CodeGuard: Set OpenAI API Key"
    
  3. Configure in .vscode/settings.json:

    {
      "codeguard.model": "gpt-4",
      "codeguard.debounceTime": 1500,
      "codeguard.realTimeAnalysis": true
    }
    

Usage 🛠️

Commands

Command Description Shortcut
CodeGuard: Set API Key Configure OpenAI credentials Ctrl+Alt+K
CodeGuard: Toggle Real-Time Enable/disable live analysis Ctrl+Alt+R
CodeGuard: Analyze File Full document security audit Ctrl+Alt+S

Technical Overview 🔬

Supported Languages

Language Analysis Depth Example Checks
PHP Full AST SQLi, XSS, File Inclusion
Python Semantic RCE, Insecure Deserialization
JavaScript Type-aware Prototype Pollution, XSS

Configuration ⚙️

Parameter Type Default Description
codeguard.apiKey string - OpenAI API credentials
codeguard.model enum gpt-3.5-turbo AI model version
codeguard.debounceTime int [500-5000] 1000 Analysis delay (ms)

License 📜

MIT License - See LICENSE

Research Team: Skytells AI Research

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft