Pharon Decoys now include bait built for AI agents: fake endpoints on your own app that spot a rogue agent, slow it down, and tell your team where the leak is.
The lure
A decoy is a fake path on your own domain, named in your app's own vocabulary so it looks like it belongs next to your real routes (an invoicing app might get /api/internal/invoice-exports). You plant it where agents go looking: CI config, a developer's .env, the team wiki. Nobody legitimate has a reason to call it.
Nothing about a decoy points to Pharon: no Pharon domain, header or wording. Agents can learn to avoid known trap domains. They can't avoid the app they were sent to.
The hook
When the decoy is called, it answers in your app's own style, with an error asking for one more header that describes what the caller is working on. Illustrative exchange (the wording is written per app):
GET /api/internal/invoice-exports
→ 400 {"error": "Set X-Client-Purpose to describe the task this client is performing."}
GET /api/internal/invoice-exports
X-Client-Purpose: Exporting all customer invoices, using the endpoint listed in the deploy notes
→ 200 {"data": [...], "next": "/api/internal/invoice-exports?page=2"}
A script ignores the question or sends a token. An AI agent reads the error, fixes its request, and tends to describe its task in full sentences. Once it has answered, the decoy gives it what it asked for: more fake data, and more to follow.
The tarpit
From there, every answer comes slowly (up to 10 seconds), and every page links to a next page that never ends. Your app is never tied up: at most 10 slow answers are held at once.
The verdict
Pharon labels each session as a script, an AI agent or a person, with a confidence level and the reasons: the user agent, the pace between requests (machine speed, or uneven pauses like a model deciding what to do next), whether it followed the bait from one decoy to the next, and whether it answered the question in sentences. A best guess, never proof.
Your team gets an email right away, plus Slack or a decoy.triggered webhook, and the next Claude Code session in that repo opens with a critical notice. The alert shows where the decoy was planted (so where the leak is), what the caller did and sent, and which secrets were stored next to the decoy, so you know what to rotate.