Shield Agents - VS Code Extension
Real-time security scanning powered by Shield Agents AI. Detects vulnerabilities, secrets, and compliance issues as you code.
Features
- Scan on Save: Automatically scans files when you save them
- Workspace Scan: Scan your entire project with a single command
- Inline Diagnostics: Security findings appear directly in the editor
- Severity Highlighting: Critical, High, Medium, Low color-coded indicators
- Quick Fix Suggestions: Remediation advice for each finding
Requirements
- Python 3.8+ with
shield-agentspackage installed - VS Code 1.75+
Installation
Install the Shield Agents Python package:
pip install shield-agentsInstall this extension in VS Code
Configuration
| Setting | Default | Description |
|---|---|---|
shieldAgents.scanOnSave |
true |
Automatically scan files on save |
shieldAgents.provider |
mock |
LLM provider (mock, openai, anthropic, ollama) |
shieldAgents.apiKey |
"" |
API key for the LLM provider |
shieldAgents.enableSAST |
true |
Enable SAST scanning |
shieldAgents.enableSecrets |
true |
Enable secrets detection |
shieldAgents.minSeverity |
LOW |
Minimum severity to display |
Commands
Shield Agents: Scan Current File- Scan the active fileShield Agents: Scan Workspace- Scan the entire workspaceShield Agents: Show Last Report- Display the last scan reportShield Agents: Clear Cache- Clear the scan cache