Tools

Stop AI From Leaking API Keys, Card Numbers and Client Files

Free Claude Code plugin that stops API keys, card numbers, IBANs, ID numbers and client lists leaving in an AI message, and gives each kind of data a route.
View on GitHubgithub.com/vadimchernets/gatecall
A doorway labelled message to AI with a guard. A card number, IBAN or key is turned back with a one-line reason; a client folder goes to the model on this computer; a project folder goes to the company's own account.
Swipe to see the whole diagram, or tap to open it

Most people use AI with a simple hope: that nothing they paste in will ever matter. Then a card number slips into a message, an API key (the secret password a program uses to reach a paid service) ends up in a command, or a whole spreadsheet of client addresses goes into a chat so that it can be "tidied up". Companies know this. Some ban AI altogether, which costs them the benefit. Others write a policy that nobody reads at the moment of pasting. Gatecall is a free, open-source plugin for Claude Code, Anthropic's AI assistant that works with the files on your computer. It puts the company's rule exactly where the mistake happens, and it gives people a way forward instead of only a "no".

Why you would want it

Claude Code can read files, run commands and call web tools on your computer. People who use it keep asking how to keep secrets out of a session, and a GitHub issue on the Claude Code repository describes secrets showing up even though the project's instructions told the assistant not to touch them. A written instruction is a request; a check that runs before the step is a lock. The best-known case outside coding is Samsung in 2023, where engineers pasted source code and a meeting transcript into a chatbot. Nobody meant harm. They were just working fast.

What it gives you

A concrete example

An accountant at a small firm asks Claude to "check this list of clients and chase the late ones", and pastes a table with names, e-mail addresses and IBANs. With Gatecall installed the message does not go out. She sees one plain line: the text holds IBANs and a list of addresses. She then takes the route Gatecall points to: the clients folder is marked red, so a model on her own computer reads it, or she makes a cleaned copy in which the IBANs and addresses are masked. The work still gets done, and the bank details stay in the building.

How to start

You need Claude Code and Python 3.8 or newer. No account and no payment are needed; Gatecall itself sends nothing and buys nothing. In Claude Code, type:

/plugin marketplace add https://raw.githubusercontent.com/vadimchernets/poly-a1-plugins/main/.claude-plugin/marketplace.json
/plugin install gatecall@poly-a1

Then say "set up the data rules for our company". The assistant asks which folders are red and which are yellow, which country you are in, whether any countries or vendors are off limits, and how long to keep the journal. It writes a company-ai-policy.json file and the matching permission block for Claude Code.

Gatecall works with the other company plugins: Firmcall installs the same policy file on every laptop, Routecall opens the local-model window that may read red folders, and Billcall reads the same policy to count what AI costs. All of them are in the Poly A1 plugins catalogue.

The code, tests and full list of settings are at https://github.com/vadimchernets/gatecall, under the Apache-2.0 licence.

View gatecall on GitHub

Vadym Chernets also builds Poly A1, an app in which AIs from different companies check each other's work.

All tools · All papers and notes