Guard

AIVory VS Code Extension

The AIVory extension brings real-time compliance and security scanning directly into Visual Studio Code. Scan your code as you write it, with inline warnings for compliance violations.

  • Real-time scanning validates code against 18+ compliance standards as you type
  • Inline warnings display violations directly in your editor with fix suggestions
  • Zero configuration required - works out of the box with sensible defaults
  • AI code detection identifies and validates AI-generated code segments

Download from VS Code Marketplace


Key Features

Real-Time Scanning
Continuous compliance validation as you write code - no manual triggers needed
Inline Warnings
See compliance violations directly in your code editor with suggested fixes
AI Code Detection
Identifies and validates AI-generated code segments automatically
Multi-Language Support
Works with Java, Python, JavaScript, TypeScript, Go, PHP, C#, and more
Note The extension works out of the box with sensible defaults. No configuration required to start scanning your code.

Getting Started

Quick Setup

  1. Install extension from VS Code Marketplace
  2. Configure your API token in Settings
  3. Start coding with real-time compliance protection
Note You can get your API token from the AIVory Dashboard after signing up for a free account.

Compliance Standards

The extension scans against 18+ compliance standards to keep your code secure and compliant.

OWASP Top 10
Security vulnerabilities and common attack vectors
GDPR
Privacy and data protection requirements
HIPAA
Healthcare information security standards
PCI-DSS
Payment card industry security standards
SOC 2
Service organization controls
ISO 27001
Information security management
View All Supported Standards

Additional compliance standards include:

  • NIST - National Institute of Standards and Technology
  • CIS Controls - Center for Internet Security
  • CCPA - California Consumer Privacy Act
  • NIS2 - Network and Information Security Directive
  • DORA - Digital Operational Resilience Act
  • EU AI Act - European Union AI regulations
  • And more…

Configuration

Configure the extension in VS Code Settings:

  1. Open Settings (Ctrl+, or Cmd+,)
  2. Search for “AIVory”
  3. Configure your preferences
Configuration Options
Setting Description
API Token Your AIVory authentication token (required)
Compliance Standards Select which standards to check against
Scan Sensitivity Adjust violation severity thresholds
Auto-scan Enable/disable automatic scanning on save
Note Use keyboard shortcut Ctrl+Shift+A (or Cmd+Shift+A on Mac) to manually trigger a scan at any time.

AI Assistant Integration

Note For best results with AI coding assistants like GitHub Copilot, configure workspace settings to automatically scan AI-generated code. This ensures all code - whether written by you or generated by AI - meets your compliance requirements.
Configuring AI Code Detection

To enable AI-generated code detection:

  1. Open VS Code Settings
  2. Search for “AIVory AI Detection”
  3. Enable “Scan AI-Generated Code”
  4. Optionally configure detection sensitivity

The extension will automatically identify code patterns typical of AI assistants and flag them for review.


Troubleshooting

Common Issues

Extension not activating?

  • Ensure you have a valid API token configured
  • Check the Output panel (View > Output > AIVory) for error messages
  • Restart VS Code after installation

Scans running slowly?

  • Large files may take longer to process
  • Consider excluding generated files from scanning
  • Check your network connection to AIVory servers

Missing violations?

  • Verify the correct compliance standards are enabled
  • Check scan sensitivity settings
  • Ensure the file type is supported
Getting Support

If you need additional help:


Next Steps


Not sure which platform? View all installation options