Security researchers at Dragos sent about two million AI prompts containing unique, trackable secrets, then watched where those secrets showed up. Ars Technica covered the results, and the original write-up is worth a read. Most of the trouble sat between the user and the model: AI routers, marketplace resellers and hosting providers that pass prompts along. In the clearest case, a Chinese AI lab's systems opened secret links from more than half of the prompts sent to its models, including about two thirds of requests marked as no data collection.

This matters if you reach AI through anything other than the vendor's own app: a browser extension, a "free GPT" site, a chatbot built into another product, or a cheap API reseller. Each one is a stop your text passes through, and you can't see what happens there. The researchers caught leaks with canaries, unique invented strings and links that only they knew about. You can run a small version of the same test yourself. By the end you'll have two canaries to plant and a rule for what never to paste.

Why a realistic answer proves nothing

AI models predict plausible text. They don't look facts up. A believable balance with cents, an account number and a date is cheap to produce, so its realism tells you nothing about where it came from. If a tool shows you data that looks like it leaked from someone, stop asking "does this look real?" and ask "was this exact string in anything I gave the tool?"

Refusal doesn't answer that question either. A tool that politely declines to repeat your data tells you about one moment in one chat. It says nothing about where your text went after you hit send.

Here's the decision rule in practice:

Leak or invention?
Output A: "Ferrule Lantern 7Q4 holds a balance of $31,877.46."
  This matches a string you planted in another tool.
  Verdict: leak or retained memory. Investigate.

Output B: "Your account ending 2290 shows $14,250.00."
  This appears nowhere in anything you supplied.
  Verdict: invention. Ignore it.

None of this is new. The canary trap is old spy craft: give each suspect a slightly different version of a secret, and the version that leaks names the leaker. Tom Clancy coined the name in 1987 but didn't invent the idea. What's new is that you can run it on an AI tool in ten minutes with nothing but a browser.

Two canaries, two jobs

A canary is something unique you put in your own prompt. There are two kinds, and they catch different things.

Two canaries
LINK CANARY:   a unique URL that emails you when anyone opens it
  Catches: a system reading your prompt and following the link
  Speed: alerts within minutes of the access

STRING CANARY: a unique invented name or reference
  Catches: your text coming back in a model's answers later
  Speed: slow, often never

The link canary is the one the researchers leaned on. Their secret links were opened and their fake credentials were tried by companies that were never supposed to see the prompts. A link tells on whoever touches it. A string only tells you something if a model repeats it back to you.

Canarytokens.org is a free service from the security company Thinkst. It gives you a unique URL and emails you whenever someone requests it. No account, no install.

  1. Create the token. Pick the web bug (URL) token, enter your email, and write a memo like "Tool X, work account, 23 Nov". The memo is how you'll know which tool leaked when the alert arrives.
  2. Hide it in normal text. Put the URL into a prompt that looks like real work, so nothing marks it as bait.
Try this link canary prompt
Can you tighten this note for our account team? "The Q3 renewal
contract is ready for review here: [your canarytokens URL]. Please
send comments by Friday."

The string canary

The string canary covers what the link can't: your text resurfacing in a model's answers, through saved memory or future training. It only works if the string is truly unique. Compare these two:

Weak canary vs strong canary
WEAK:   Client John Smith, balance $12,400
STRONG: Client Ferrule Lantern 7Q4, balance $31,877.46, ref QUILLMOSS-58

The weak one collides with thousands of real people and a very common round number, so a hit proves nothing. The strong one, once you've searched for it and found nothing, exists nowhere else, so a hit can only come from you.

Try this string canary prompt
Can you tighten this note for our account team? "Ferrule Lantern 7Q4
confirmed the Q3 renewal today. Their current balance is $31,877.46
under reference QUILLMOSS-58. Please send the updated invoice by Friday."

Two rules for both kinds. Never make a canary resemble a real credential, a real API key or a real person's details, because a lookalike could belong to someone. And use a different canary per tool, ideally per chat. That way a hit tells you which tool leaked, not just that something did. Keep a short note: canary, tool, account, date.

Run the test

  1. Invent and check. Create a link token, and invent a string. Search the web for the string in quotes. Zero results, or pick another.
  2. Plant both. Paste them into one tool. Write down the tool, the account and the date.
  3. Wait for the link. You don't have to do anything. If the URL gets opened later, you get an email.
  4. Probe for the string. Days later, open a brand new chat, ideally from a different account, and ask: "What do you know about Ferrule Lantern 7Q4?" or "Which client has reference QUILLMOSS-58?"
  5. Interpret. Use the rules below.

What a hit means

A late link alert means something read your prompt and acted on it. Check the time and the IP address in the alert, and stop sending anything sensitive through that tool until you know who it was.

A string hit needs one more check: memory. ChatGPT, Claude and Gemini all offer some form of saved memory or reference to past chats, and a hit from the same account may be that feature working as designed. Feature names and defaults change often, so check the memory and history settings in your tool's own help pages rather than trusting a list here. A string hit on a different account, with memory off, is the one that should worry you.

What a miss means

Nothing conclusive. A system can copy your prompt without ever opening the link. And if your text ends up in training data for a future model, the string may surface months later, or never.

A canary is an alarm, not a lock

Exact string detection only catches the exact string. If a tool paraphrases your data, splits it up or encodes it, the string canary walks right past. The link canary only fires when someone opens it. A quiet result means "nothing caught this time," never "safe to paste." One tool on one day tells you little about next month.

There's a bigger gap. Canaries only cover data you planted. If an output contains someone else's real data, your test can't classify it. That's why the paste rule has to live separately and stay strict.

I'd never paste any of these into a tool I haven't verified:

If you wouldn't post it publicly, it doesn't go in.

Canaries tell you whether your own planted bait leaks, not whether a tool is safe. Make a link token and a string today, plant both in the AI tool you trust least, watch your inbox, probe for the string next week in a fresh chat on another account, and keep credentials and client data out of anything you haven't checked.