AI-powered security & compliance scanner using GitHub Copilot SDK intelligence.
- Real-time scanning: Analyzes code on every save and open.
- Auto Service Startup: Requires zero manual installation. Installs Node dependencies and starts the backend service intelligently behind the scene.
- Robust Backend: Contains a self-healing process loop ensuring continuous protection.
- Multi-Model Support: Use
gpt-4,gpt-4o, orgpt-3.5-turbostraight from settings.
If you are running into "ENOENT" or "file not found" errors, follow these exact steps.
C:\Windows\System32.
Open a standard terminal (PowerShell or Command Prompt) and move to your Desktop:
cd ~/DesktopCopy and paste these commands one by one to download the code and build the installation file:
git clone https://github.com/AkashAi7/Guardrail.git
cd Guardrail/extension
npm install
npm run package(When it finishes, it will generate a file named code-guardrail-0.8.0.vsix inside your extension folder.)
Installing through the terminal can cause pathing errors. Use the VS Code interface instead:
- Open Visual Studio Code.
- Press
Ctrl+Shift+X(orCmd+Shift+Xon Mac) to open your Extensions sidebar. - At the top right of the Extensions sidebar, click the
...(Views and More Actions) menu icon. - Click "Install from VSIX..." in the dropdown.
- A file explorer window will open. Navigate to your Desktop ->
Guardrail->extensionfolder. - Select the
code-guardrail-0.8.0.vsixfile and click Install.
- Once installed, the extension will activate in the background.
- Open the command palette (
Ctrl+Shift+PorCmd+Shift+P) and type Code Guardrail: Show Menu. - Select your preferred guardrail AI model (
gpt-4,gpt-4o,gpt-3.5-turbo).
codeGuardrail.scanMode: Choose betweenrealtime,manual, orscheduled.codeGuardrail.model: Select betweengpt-4,gpt-4o, andgpt-3.5-turbo.