Get your first security scan running in under 5 minutes. No configuration required - just install, authenticate, and scan.
Before you begin, make sure you have:
- VS Code 1.80.0 or higher
- Internet connection (selected files are uploaded to Kai's cloud for analysis)
- Git repository with at least one commit (Kai uses the commit hash for scan identification)
- Open VS Code
- Go to the Extensions view (
Ctrl+Shift+XorCmd+Shift+X) - Search for "Kai Agent" by Dria
- Click Install
Alternatively, install directly from the VS Code Marketplace.
- Open a folder containing code you want to scan
- Make sure it's a git repository with at least one commit
- Look for the Kai icon in the Activity Bar (left sidebar)
- Click the Kai icon in the Activity Bar
- In the Kai panel, click Sign In
- Your browser will open to GitHub OAuth
- Authorize Kai to access your GitHub account
- Return to VS Code - you should now see your account information
- In the Files to Review panel, browse your project files
- Check the boxes next to files you want to include in the scan
- Focus on your main application code - Kai automatically excludes:
- Configuration files (
.env,.gitignore) - Node modules and dependencies
- Binary files and assets
- Configuration files (
When you're ready to scan, you'll choose from three scan modes:
- Baseline ⚡ - Quick scan with basic analysis (~2 hours)
- Enhanced 🎯 - Balanced scan with comprehensive analysis (~4 hours, recommended)
- Full 🔍 - Deep scan with maximum thoroughness (~8 hours)
- With files selected, click the Scan button
- Choose your scan mode (Enhanced recommended)
- Kai will bundle your files and start the analysis in the cloud
- You'll see progress updates in the Executions panel
What happens next:
- Files are securely uploaded to Kai's cloud runtime
- AI agents begin analyzing your code in parallel
- You can close VS Code - the scan continues in the cloud
- You'll get progress updates as vulnerabilities are found and verified
Once the scan completes (you'll see a notification), you can review findings:
- Go to the Scan Results view in the Kai panel
- Browse vulnerabilities organized by severity (Critical, High, Medium, Low)
- Click on any finding to see:
- Detailed explanation of the vulnerability
- Working exploit code that proves it's real
- Suggested fix with code changes
- Impact assessment and severity reasoning
Kai includes a Kanban-style workflow for tracking fixes:
- Awaiting Verification: Potential issues being analyzed
- Awaiting Approval: Confirmed vulnerabilities ready for review
- To Be Fixed: Approved issues ready for remediation
- Fixed: Resolved vulnerabilities
- Won't Do: Issues you've decided to skip
Drag and drop findings between columns to track your progress.
- Add your OpenRouter API key (Coming Soon): Reduce costs by using your own LLM credits
- Set default scan mode: (Coming Soon) Choose your preferred default in Kai Settings
- Explore the web dashboard: View team analytics and collaborate on findings
- Understanding Scan Results - Deep dive into vulnerability reports
- Managing Vulnerabilities - Master the Kanban workflow
- Scan Mode Comparison - Choose the right analysis depth
- Check the FAQ for common questions and solutions
- Review Security & Privacy for data handling details
- Contact support through the web dashboard if you're stuck
Timeline: Enhanced scans typically complete in 2-4 hours, depending on code complexity.
Results: Most projects have 3-15 verified vulnerabilities. Don't worry if this seems high - many are minor issues with clear fixes.
Learning: Each finding includes educational content explaining why it's a problem and how to fix it.
False Positives: Extremely rare. If Kai reports a vulnerability, it comes with working exploit code proving it's real.
Ready to secure your code? Install the extension and run your first scan today!