VS Code Extension
ABS Kernel — IDE governance for Cursor, Copilot, Windsurf, and VS Code
VS Code / Cursor Extension
The ABS Kernel Extension (oconnector.abs-vscode) brings AI governance directly into your editor. It operates in two modes — fully offline via local WASM, or connected to the ABS Cloud API for enterprise policy enforcement.
Install: Search ABS Kernel in the VS Code Marketplace, or:
code --install-extension oconnector.abs-vscodeWhat It Does
Smart Target Detection
The extension automatically identifies high-value files that warrant closer scrutiny:
- IDE config (
.vscode/,.cursorrules,.windsurfrules) - AI/LLM rules (
prompts/,instructions/,copilot*) - Infrastructure (
Dockerfile,wrangler.toml,.github/) - Secrets (
.env*,.npmrc,package.json,requirements.txt)
Dependency Scanner
Scans package.json and requirements.txt for known vulnerable packages with pinned versions, reporting severity (LOW / MEDIUM / HIGH / CRITICAL) and minimum safe version.
Workspace Scan (ABS: Scan Workspace)
Recursively walks your project, flags smart targets, runs dependency analysis, and reports all findings in a dedicated Output Channel — entirely offline, no network required.
File Scan (ABS: Scan Current File)
Instant governance scan of the active editor file against local WASM policies.
Governance Sidebar
Click the Shield icon in the Activity Bar to open the ABS panel:
- Configure your API URL and PAT token
- Test connectivity to your ABS Cloud instance
- Toggle Enterprise Mode for MCP + cloud policy enforcement
- Trigger quick workspace scans from the sidebar
Modes
| Mode | Requires | What runs |
|---|---|---|
| Offline / Local | Nothing | WASM kernel, local policies only |
| Enterprise | API Key + Cloud | Remote policy evaluation via POST /v1/authorize, full audit trail |
Enterprise Mode activates when abs.enterpriseMode: true is set and a valid API key is configured. If Enterprise Mode is enabled but no key is present, the extension falls back to local mode with a warning.
Configuration
In .vscode/settings.json:
{
"abs.apiUrl": "https://api.abscore.app",
"abs.apiKey": "abs_pat_...",
"abs.scanOnSave": false,
"abs.enterpriseMode": false
}| Setting | Default | Description |
|---|---|---|
abs.apiUrl | https://api.abscore.app | ABS Cloud API endpoint |
abs.apiKey | "" | PAT token — generate at abscore.app/dashboard → Config → Tokens |
abs.scanOnSave | false | Auto-scan every file on save |
abs.enterpriseMode | false | Enable MCP + remote policy enforcement |
Usage
| Action | How |
|---|---|
| Scan current file | Command Palette → ABS: Scan Current File |
| Scan entire workspace | Command Palette → ABS: Scan Workspace |
| Open governance panel | Click the Shield icon in the Activity Bar |
| Test cloud connection | Sidebar → "Test Connection" button |
Compatibility
Works with VS Code, Cursor, Windsurf, and GitHub Copilot environments. The WASM kernel runs natively in the extension host process — no Docker, no daemon, no network required for local mode.