Skip to content
VS Code

LeakRank Guard for VS Code

io.github.prototeemo/leakrank-guard

Scans code changes for leaked secrets and insecure config, with actionable fixes for AI agents.

client:VS Code transport:stdio runtime:npm

Install LeakRank Guard in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "leakrank-api-key",
      "description": "LEAKRANK_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "leakrank-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "leakrank-guard"
      ],
      "env": {
        "LEAKRANK_API_KEY": "${input:leakrank-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

LeakRank Guard in other clients