Skip to content
VS Code

GEO Shield for VS Code

io.github.krishnagauss/geo-shield

Detects hidden AI prompt injection, AI recommendation poisoning, sneaky redirects and hidden spam.

client:VS Code transport:stdio runtime:npm

Install GEO Shield in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "geo-shield-db-path",
      "description": "GEO_SHIELD_DB_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "geo-shield-retention-days",
      "description": "GEO_SHIELD_RETENTION_DAYS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "geo-shield-allowed-ports",
      "description": "GEO_SHIELD_ALLOWED_PORTS",
      "password": true
    }
  ],
  "servers": {
    "geo-shield": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "geo-shield-mcp"
      ],
      "env": {
        "GEO_SHIELD_DB_PATH": "${input:geo-shield-db-path}",
        "GEO_SHIELD_RETENTION_DAYS": "${input:geo-shield-retention-days}",
        "GEO_SHIELD_ALLOWED_PORTS": "${input:geo-shield-allowed-ports}"
      }
    }
  }
}

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

GEO Shield in other clients