Skip to content
Gemini CLI

Honeytokens as Code for Gemini CLI

io.github.dradradre/honeytokens-as-code

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

client:Gemini CLI transport:stdio runtime:npm

Install Honeytokens as Code in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "honeytokens-as-code": {
      "command": "npx",
      "args": [
        "-y",
        "honeytokens-as-code"
      ],
      "env": {
        "HONEYTOKEN_BASE_URL": "<HONEYTOKEN_BASE_URL>",
        "HONEYTOKEN_HOME": "<HONEYTOKEN_HOME>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Honeytokens as Code in other clients