Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Shield AI Security ScannerNew to Visual Studio Code? Get it now.
Shield AI Security Scanner

Shield AI Security Scanner

Finsavvy Technologies

| (0) | Free
AI-powered security vulnerability scanner for your code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Shield AI Security Scanner

Visual Studio Marketplace Version Visual Studio Marketplace Downloads Visual Studio Marketplace Rating License: MIT

🛡️ AI-powered security vulnerability scanner for your code - Keep your codebase secure with real-time threat detection and intelligent analysis.

✨ Features

🔍 Real-time Vulnerability Scanning

  • On-save scanning: Automatically scan files when you save them
  • Manual scanning: Scan current file or entire workspace on demand
  • Smart filtering: Focus on specific severity levels (Critical, High, Medium, Low)
  • Pattern exclusion: Skip unnecessary files and folders (node_modules, dist, etc.)

🎯 Multi-language Support

  • JavaScript & TypeScript
  • Python
  • Java
  • PHP
  • Ruby
  • Go
  • C#
  • C/C++

🚀 Advanced Detection

  • Hardcoded secrets (API keys, passwords, tokens)
  • SQL injection vulnerabilities
  • Cross-site scripting (XSS) patterns
  • Insecure dependencies
  • Authentication and authorization flaws
  • Data exposure issues
  • Cryptographic weaknesses

💻 Seamless IDE Integration

  • In-editor highlighting: Visual indicators for vulnerable code
  • Diagnostics panel: Full integration with VS Code's Problems panel
  • Dedicated sidebar: Organized vulnerability tree view
  • Status bar indicator: Quick access to scan results
  • Quick actions: Mark issues as fixed or ignored

🔧 Customizable Configuration

  • API integration: Connect to your Shield AI server
  • Severity filtering: Focus on what matters most
  • File exclusion patterns: Customize what gets scanned
  • Auto-scan toggle: Choose manual or automatic scanning

🚀 Installation

From VS Code Marketplace (Recommended)

  1. Open Extensions in VS Code (Ctrl+Shift+X or Cmd+Shift+X)
  2. Search for "Shield AI Security Scanner"
  3. Click Install

From VSIX File

  1. Download the latest .vsix file from Releases
  2. Open VS Code command palette (Ctrl+Shift+P or Cmd+Shift+P)
  3. Run "Extensions: Install from VSIX..."
  4. Select the downloaded file

📋 Requirements

  • VS Code 1.85+
  • Shield AI Server (local or cloud instance) for API access

⚙️ Configuration

Server Connection

{
  "shield-ai.api.url": "http://localhost:3000",  // Your Shield AI server
  "shield-ai.api.key": "your-api-key"           // Optional API key
}

Scanning Behavior

{
  "shield-ai.autoScan": true,                                        // Scan on save
  "shield-ai.severityFilter": ["critical", "high", "medium", "low"], // Severity levels
  "shield-ai.excludePatterns": [                                     // Files to ignore
    "**/node_modules/**",
    "**/dist/**",
    "**/build/**",
    "**/*.min.js"
  ]
}

🎯 Usage

Quick Start

  1. Install the extension from the marketplace
  2. Configure your Shield AI server URL in settings
  3. Open a file or workspace
  4. Scan manually or wait for automatic scanning

Manual Scanning

  • Scan Current File:

    • Command Palette: Shield AI: Scan Current File
    • Command Palette: shield-ai.scanCurrentFile
    • Right-click in editor → "Scan Current File"
  • Scan Workspace:

    • Command Palette: Shield AI: Scan Workspace
    • Command Palette: shield-ai.scanWorkspace
    • Click refresh icon in sidebar

Viewing Results

  • In-Editor: Red underlines for critical issues, yellow for warnings
  • Problems Panel: Comprehensive list with descriptions and fixes
  • Sidebar: Organized by severity, file, and vulnerability type
  • Status Bar: Shows scan status and issue count

Managing Issues

  • Mark as Fixed: Click checkmark in sidebar or Problems panel
  • Ignore Issue: Click dismiss icon to hide false positives
  • Open Dashboard: View detailed analysis in web interface

🔌 Commands

Command Shortcut Description
Shield AI: Scan Current File - Scan the currently active file
Shield AI: Scan Workspace - Scan entire workspace (up to 100 files)
Shield AI: Open Dashboard - Open Shield AI web dashboard
Shield AI: Configure Settings - Open extension settings

📊 Vulnerability Types

🔴 Critical

  • Exposed API keys and credentials
  • Remote code execution vulnerabilities
  • SQL injection in database queries
  • Hard-coded passwords in source code

🟠 High

  • Cross-site scripting (XSS) vectors
  • Insecure deserialization
  • Weak cryptographic implementations
  • Authentication bypass vulnerabilities

🟡 Medium

  • Information disclosure
  • Missing security headers
  • Insecure direct object references
  • Dependency vulnerabilities

🔵 Low

  • Development/TODO comments with sensitive info
  • Potentially insecure functions
  • Best practice violations

🛠️ Development

Building from Source

# Clone the repository
git clone https://github.com/shield-ai/vscode-extension.git
cd vscode-extension

# Install dependencies
npm install

# Compile TypeScript
npm run compile

# Run in development
npm run watch

Testing

# Run linting
npm run lint

# Run tests
npm test

# Package extension
npm run vscode:prepublish

🐛 Troubleshooting

Common Issues

"Cannot connect to Shield AI server"

  • Check that your Shield AI server is running
  • Verify the API URL in settings matches your server
  • Ensure no firewall is blocking the connection

"Invalid API key"

  • Verify your API key is correct
  • Check if the key has sufficient permissions
  • Ensure the key hasn't expired

"No supported files found"

  • Ensure you have source code files in supported languages
  • Check your exclude patterns aren't too broad
  • Verify files aren't in ignored directories

"Rate limit exceeded"

  • Wait a few minutes before scanning again
  • Consider upgrading your Shield AI plan
  • Reduce workspace scan frequency

Debug Mode

Enable debug logging in VS Code:

  1. Open Developer: Toggle Developer Tools (Help → Toggle Developer Tools)
  2. Check the Console tab for detailed error messages
  3. Look for logs prefixed with [Shield AI]

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Workflow

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 Changelog

See CHANGELOG.md for a list of changes and version history.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🆘 Support

  • Issues: GitHub Issues
  • Documentation: Shield AI Docs
  • Community: Discord Server
  • Email: support@shield-ai.dev

🔗 Related Projects

  • Shield AI Web Dashboard
  • Shield AI CLI
  • Shield AI API

🌟 Star History

Star History Chart


Made with ❤️ by the Shield AI Team

Keep your code secure, one scan at a time.

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