Sentrik — VS Code Extension
Governance runtime for AI-generated code — scans on save, inline findings, zero config.
Features
- Zero config — auto-detects your project, creates
.sentrik/ on first open, scans immediately
- Scan on save — automatically runs
sentrik scan when any file is saved
- Findings sidebar — tree view of all findings grouped by severity, click to navigate
- Inline diagnostics — findings appear in the editor with severity-appropriate colors
- Quick fixes — suppress findings, view docs, or see fix suggestions from the lightbulb menu
- Quality score — compliance score (0-100) shown in the status bar after each scan
- All languages — works with Python, JavaScript, TypeScript, Go, PHP, Kotlin, C/C++, and more
- Status bar — shows scan state and finding count inline
Install Sentrik CLI
The extension requires the Sentrik CLI:
npm install -g sentrik
Settings
| Setting |
Default |
Description |
sentrik.autoInit |
true |
Auto-initialize .sentrik/ config on project open |
sentrik.autoScan |
true |
Auto-scan on file save |
sentrik.binaryPath |
"" |
Path to sentrik CLI (auto-detected if empty) |
sentrik.severityFilter |
["critical", "high", "medium"] |
Severities shown as diagnostics |
Commands
| Command |
Description |
SENTRIK: Run Scan |
Run a full scan and display findings |
SENTRIK: Run Gate |
Run gate check with pass/fail notification |
SENTRIK: Open Dashboard |
Launch the full compliance dashboard in a standalone window |
SENTRIK: Quality Score |
View detailed quality score breakdown |
SENTRIK: Clear Diagnostics |
Remove all diagnostics |
Quick Fixes
Hover over a finding and click the lightbulb (or press Ctrl+.) to see:
- Suppress — adds a
sentrik-ignore comment above the line
- View docs — opens the rule documentation on docs.sentrik.dev
- How to fix — shows the remediation guidance in a detail panel
Free Tier
The extension works with Sentrik's free tier — 5 standards packs with 158 rules, no license key required:
- OWASP Top 10
- SOC 2
- Python Security
- Go Security
- Supply Chain Security
Upgrade to Team ($29/mo) or Organization ($99/mo) for 22 packs and 526 rules. Visit sentrik.dev/pricing.
Links
| |