Skip to content
VS Code

Honeytokens as Code for VS Code

io.github.dradradre/honeytokens-as-code

Your coding agent plants honeytokens: real powerless AWS keys and webhook traps, with alerts.

client:VS Code transport:stdio runtime:npm

Install Honeytokens as Code in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "honeytoken-base-url",
      "description": "HONEYTOKEN_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "honeytoken-home",
      "description": "HONEYTOKEN_HOME",
      "password": true
    }
  ],
  "servers": {
    "honeytokens-as-code": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "honeytokens-as-code"
      ],
      "env": {
        "HONEYTOKEN_BASE_URL": "${input:honeytoken-base-url}",
        "HONEYTOKEN_HOME": "${input:honeytoken-home}"
      }
    }
  }
}

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

Honeytokens as Code in other clients