Bait instructions for AI agents
The "Internal engineering portal with MCP server" decoy carries two texts written for AI agents, on by default. A person has no reason to follow them, and they ask for nothing harmful:
- An AGENTS.md file, the instructions file AI coding agents read, at the portal root, in the repository and listed in
llms.txt. It asks agents to register their session before using any credential, stating which agent and model they are and the task they were given. - A note next to the leaked API key, in the commit and in the configuration file, asking AI assistants to verify the key at an address of the portal and to state their model.
An agent that obeys either text raises the event "AI agent followed a bait instruction" with High severity and its IP. Whatever it said about itself (agent, model, task) is stored in full in the event. If it obeys without saying anything about itself, it is recorded as a suspected AI agent. To turn both texts off, set "Bait instructions for AI agents" to Off.