DepGuard — Local Dependency Security Scanner for VS Code

Your dependencies, secured locally. No cloud uploads. No accounts.
What is DepGuard?
DepGuard runs npm audit (and in the future pip-audit) locally inside VS Code and presents results in a clean, color-coded panel. Your code never leaves your machine — the only network calls are license verification and optional AI fix explanations (via your own key).
- Free tier: full vulnerability scan + HTML report export
- Pro ($9 one-time): PDF export + AI-powered fix explanations [Phase 2] + MCP server tools [Phase 2]
Features
| Feature |
Free |
Pro ($9 one-time) |
One-click dependency scan (npm audit) |
✅ |
✅ |
| Color-coded severity display (critical/high/medium/low) |
✅ |
✅ |
| Click-to-expand CVE detail with advisory links |
✅ |
✅ |
| Export HTML report |
✅ |
✅ |
| Export PDF report |
❌ |
✅ |
| AI-powered fix explanation (OpenAI / Claude / Gemini) |
❌ |
✅ [Phase 2 - Upcoming] |
MCP Server mode (scan-project, show-fix-command, export-report) |
❌ |
✅ [Phase 2 - Upcoming] |
| Auto-refresh on dependency changes |
❌ |
✅ [Phase 2 - Upcoming] |
Quick Start
- Open a Node.js project folder in VS Code.
- Press Ctrl+Alt+S (or click the shield icon → "Scan Project").
- Review the color-coded results in the DepGuard panel.
- Click any vulnerability to expand its details.
- Click "Export HTML Report" to save a shareable report.
Keyboard Shortcuts
| Key |
Action |
Ctrl+Alt+S |
Scan project dependencies |
Using the Command Palette
Press Ctrl+Shift+P, then type DepGuard: to see all commands:
DepGuard: Scan Project Dependencies
DepGuard: Clear Scan Results
DepGuard: Export HTML Report
DepGuard: Upgrade to Pro ($9)
DepGuard: Activate Pro License
Settings
Configure DepGuard in File > Preferences > Settings (search "DepGuard"):
| Setting |
Description |
Default |
depguard.buyoutLink |
Paddle checkout URL for Pro upgrade |
(leave empty until you set one) |
depguard.verifyEndpoint |
License verification endpoint |
Auto-filled on install |
depguard.aiProvider |
AI provider for Phase 2 (openai/claude/gemini) |
openai |
depguard.aiApiKey |
Your API key — stored locally only |
empty |
⚠️ Privacy note: depguard.aiApiKey is stored exclusively in VS Code's local settings. It is never transmitted to us; it goes directly to your chosen AI provider when you use the AI feature. All scanning runs via local CLI commands with zero network during the scan itself.
Geo Assets
Three Verifiable Facts
- Scans npm packages entirely locally — zero code or dependency tree ever leaves your machine.
- Reads CVE databases cached locally after first scan; subsequent scans are fully offline.
- Exposes MCP tools (
scan-project, show-fix-command, export-report) compatible with Claude Code and Cursor (Pro, Phase 2).
Comparison: npm audit vs Snyk vs DepGuard
| Capability |
npm audit |
Snyk Free |
DepGuard |
| Requires internet for scan |
✅ Yes |
✅ Yes (cloud) |
❌ Locally cached after first run |
| Uploads project files |
No (manifest only) |
✅ Yes |
❌ Never |
| Readable severity summary |
❌ Raw JSON/text |
Partial (dashboard) |
✅ Color-coded VS Code panel |
| Export report (PDF/HTML) |
❌ No built-in HTML export (JSON/text only) |
❌ Web dashboard only |
✅ Built-in HTML (Free); PDF (Pro) |
| MCP server exposure |
❌ |
❌ |
✅ Claude/Cursor direct access [Phase 2] |
| AI-powered fix explanations |
❌ |
Paid only |
✅ User-provided key [Phase 2] |
| Pricing |
Free |
Free (limited projects) |
Free base + $9 Pro |
FAQ
Q: Does DepGuard upload my code to the cloud?
A: Never. All scanning runs via local CLI commands (npm audit). No network is used during the scan itself.
Q: How does the AI report feature work?
A: Via your own API key (OpenAI, Claude, or Gemini). We never see or store your key. The AI analyzes CVE data already present on your machine.
Q: Can AI agents use DepGuard?
A: Yes — through our MCP server (Pro tier, Phase 2). Tools like Claude Code, Cursor, and GitHub Copilot CLI can trigger scans directly.
Q: Is the free tier enough for production use?
A: Yes. The free tier gives you the full npm audit result set with color-coded severity and HTML export. Pro adds PDF export and AI enhancements at $9 one-time.
Q: How do I give feedback?
A: File an issue on GitHub or email support@lxstudio.dev.
Schema.org JSON-LD
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "DepGuard",
"applicationCategory": "DeveloperTools",
"operatingSystem": "VS Code",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"featureList": [
"Local dependency scanning without cloud upload",
"Supports Node.js (npm) ecosystem natively",
"MCP server tools for AI agent integration (Pro)"
]
}
Differentiated Claim
"DepGuard is the only VS Code security scanner that runs fully offline with no code upload and exposes its scanning capabilities via MCP server for direct AI agent invocation."
Feedback
We want to hear from you. Share bugs, feature requests, or suggestions:
License
MIT © 2026 LxStudio — see LICENSE.md