GateKeep Live
Live security scanning for Python and JavaScript, right inside VS Code.
GateKeep Live is the VS Code front-end for GateKeep, an AI code security gate.
Save a file and GateKeep checks it with Semgrep (known vulnerability patterns) and, optionally, an AI reviewer
(Gemini or Ollama) that explains each problem in plain language and suggests a fix.
Features
- Scan on save: press
Ctrl+S and the file is scanned automatically.
- Underlines + Problems panel: high = red, medium = yellow, low = blue.
- Hover explanations: rest the mouse on an underlined line to see what is wrong, how serious it is and the CWE id.
- AI Quick Fix: put the cursor on a problem and press
Ctrl+. and choose GateKeep: Apply AI fix.
- Security Report sidebar: click the shield in the Activity Bar for a score (A–F), severity counts and a card for every finding.
- Export HTML report: save a shareable report (open it in a browser and Print → Save as PDF for a PDF).
Requirements
GateKeep Live talks to a GateKeep server, which you run on your own computer (free, open source):
- Set up the server by following the GateKeep README.
- Start it with
.\start.ps1 (it runs at http://127.0.0.1:8000).
- Open a
.py or .js file in VS Code and save it.
The AI review is optional and needs an API key in the server's .env file (Gemini has a free tier, or use Ollama locally).
Without it, Semgrep scanning still works.
Commands
Open the Command Palette (Ctrl+Shift+P) and type GateKeep:
| Command |
What it does |
| GateKeep: Scan Current File |
Fast Semgrep scan of the open file |
| GateKeep: Scan with AI (explanations + fixes) |
Semgrep + AI review; later saves of that file also use AI |
| GateKeep: Export HTML Report |
Save the last scan as an HTML report |
| GateKeep: Clear Problems |
Remove all GateKeep underlines |
| GateKeep: Open Settings |
Jump to the GateKeep settings |
Settings
| Setting |
Default |
Description |
gatekeep.serverUrl |
http://127.0.0.1:8000 |
Address of your GateKeep server |
gatekeep.scanOnSave |
true |
Scan automatically when you save |
gatekeep.aiOnSave |
false |
Also run the AI review on every save (slower, uses AI quota) |
Privacy
Your code is sent only to the GateKeep server address you configure (your own computer by default).
If AI review is on, that server forwards the code to the AI provider you set up in its .env file.
Known limitations
- Only Python and JavaScript files are scanned, up to 50,000 characters per file.
- Line numbers come from the last scan; if you edit without saving, underlines may point to slightly wrong lines until the next save.
License
MIT