Skip to content
TEN Brief Ten verified stories a day 2026.11.23 KO

이 기사는 한국어로도 읽을 수 있습니다 →

Tech · 26 min read · Reference

What is a canary token — a fake key no one should touch

A canary token is a decoy carrying a unique identifier that no legitimate user has any reason to touch, so that the moment someone opens or uses it the owner gets an alert. The decoy can be a web address, a DNS name, a fake cloud key, a Word or PDF file, an email address or a QR code, and the alert carries the time plus, depending on the type, the source IP and user agent. The name comes from the canaries that reacted to toxic gas in coal mines before miners did. A token does not block an intrusion; it reports one that has already happened. False alarms are rare but real, because secret scanners and link-preview bots can touch a token on behalf of nobody in particular. In April 2025 Grafana Labs said an AWS-key canary token was what alerted it to a compromise of its GitHub workflows.

A brass key with a yellow ribbon on a sunlit oak desk beside a wooden rack of plain silver keys

The three lines

  • Definition — a canary token is a fake asset with a unique identifier that has no business use. Touching it is the alarm. It detects; it does not prevent
  • Mechanics — every token has its own address or key. Access reaches a monitoring server, which alerts the owner with the time and, by type, IP and user agent. AWS-key tokens can lag 2 to 30 minutes (Thinkst docs)
  • Limits — tools such as the GitHub secret scanner and TruffleHog trip tokens too. Research published in 2024 showed free-service AWS-key tokens can be recognised as fake without ever calling AWS

Key questions

canary token meaning
**A decoy with a unique identifier that no legitimate user should touch; when someone opens or uses it, the owner is alerted.** | Element | What it is | |---|---| | Decoy | A URL, DNS name, fake AWS key, Word or PDF file, email address, QR code and more | | Identifier | A value unique to each token, so the alert says which decoy was touched | | Alert | The monitoring server notifies the owner by email or webhook | | What it carries | Time, and by type the source IP, user agent and the memo written at creation | | Origin of the name | The coal-mine canary that reacted to toxic gas first |
canary token vs honeypot
**A honeypot is a whole fake system; a canary token is a single fake item placed inside a real one.** | Term | What it is | What it tells you | |---|---|---| | Honeypot | A fake server or service built to attract attackers | Who connects and what they do | | Honeytoken | Any fake data that is not a system (fake account, fake record) | Whether that data was read or used | | Canary token | A honeytoken that signals by itself when accessed | Who touched it, when and from where | | Canary trap | Giving each person a slightly different copy | Who leaked | | Watermark | An identifying mark in real material | Whose copy this is |
how to create a canary token
**The documentation for the free service canarytokens.org describes four steps: pick a type, give an email address, write a memo saying where it will go, and place the token.** | Step | What you do | Note from the docs | |---|---|---| | 1 | Choose a token type on the generate page | Each type has its own trigger | | 2 | Enter the email address to notify | Some types also mention a webhook | | 3 | Write the memo (Reminder) | Be specific about which token and where | | 4 | Place the generated URL, file or key | Keep both halves of an AWS key together |

A canary token is a decoy with a unique identifier that no legitimate user has any reason to touch, wired so that the owner is alerted the moment someone opens or uses it. The decoy might be a web address, a fake cloud credential, or a Word file called something like "salaries". What they share is that nobody needs them for work. So if one is used, whoever used it was not doing their job.

Most security tooling struggles to separate normal behaviour from abnormal behaviour. Out of tens of thousands of logins a day, it has to guess which one is the thief. A canary token turns the problem around. It creates a spot where there is no normal behaviour at all, and waits there. This explainer covers where the name comes from, the types and how they work, how tokens differ from honeypots, honeytokens and watermarks, where to plant them, where they go wrong, documented public cases, and how the idea has spread to AI prompts and training data. It is written from the defender's side.

1. Definition and origin — the canary went down first

The name comes from coal mining. According to the Wikipedia article on sentinel species, the British physiologist John Scott Haldane first proposed in 1895 taking a warm-blooded animal underground to detect carbon monoxide, and canaries were in use by 1896. A canary is small, breathes fast and has a high metabolism, so it reacted to toxic gas before the miners did. When the bird faltered, the people still had time to get out.

Security borrowed the structure. A "canary" is a value or device placed so that it reacts before the thing that matters is harmed. The canary value placed on the stack to detect memory corruption is an old example. A canary token applies the same thinking to files, credentials and network addresses.

Some vocabulary. The broad term is honeytoken. Wikipedia describes honeytokens as fictitious words or records planted in legitimate databases so that stolen data can be traced, and as honeypots that are not computer systems. The same article says the term was coined by the security researcher Augusto Paes de Barros on February 21, 2003, on a security mailing list.

Canary token has come to mean a honeytoken built to signal by itself when it is accessed. Canarytokens is the name of a free service run by the South African security company Thinkst, and the service became popular enough that the name is now used generically. The official Thinkst documentation compares the tokens to motion sensors for networks, computers and clouds. They can be placed in folders, on network devices and on phones, the documentation says, and they need no installed software and no background process.

The point bears repeating. A canary token does not block an intrusion. It reports one that is already under way. The canary in the mine did not remove the gas either.

2. How it works — unique identifier, callback, alert

Every canary token has three parts: a value unique to that token, a monitoring server that receives a signal when the value is used, and a channel that passes the signal to the owner.

StepWhat happensExample (web-address token)
1. CreateThe monitoring service generates a value that exists nowhere elseA URL containing a random string
2. PlaceThe owner puts it where an attacker would lookAn "admin page" link in an internal wiki
3. AccessSomeone opens or uses the valueAn intruder follows the link
4. CallbackThe access reaches the monitoring server, which recognises the token by its valueThe server logs a request to that URL
5. AlertThe owner is notifiedEmail or webhook

The unique value is what makes it work. The Thinkst documentation says a typical token is a unique URL or hostname, and that a request to any path under that URL activates it. Scatter a hundred tokens and you have a hundred different values, so an alert tells you immediately which one, and therefore which location, was touched. That is why the documentation insists on a specific memo when a token is created. With a vague memo, an alert that arrives months later cannot be traced to a place.

What the alert contains depends on the type.

In the alertWhat it tells youLimit
TimeWhen the intruder reached that spotAWS-key tokens can lag 2 to 30 minutes (Thinkst docs)
Source IPThe network location the request came fromMeans little behind a VPN or relay
User agentWhat kind of program sent the requestCan be forged
Token name and memoWhere the token was placedOnly as good as what the owner wrote
Extra dataA DNS token can carry a short payload encoded in the hostnameAbout 125 bytes (Thinkst docs)

Grafana Labs wrote on August 25, 2025 that the alerts it receives include timestamp, IP, hostname, token name, location and reminder text. A SANS Internet Storm Center diary dated March 10, 2024 shows what a real alert looks like. A fake AWS key planted in a website's source was used once, about three days later. The IP in the alert belonged to Proton VPN, and the user agent pointed to a Python script using the Boto3 library on Windows Subsystem for Linux. The address was hidden; the tooling was not.

The channel also determines how much detail survives. The Thinkst documentation notes that the PDF token relies on a DNS lookup and therefore lacks the granularity of some other types. You learn that the document was opened and roughly where. In exchange, the documentation says, DNS lookups tend to make it out of heavily filtered networks, so the signal is more likely to arrive.

3. Types — what sets off the alarm

As of November 22, 2026 the navigation of the official canarytokens.org documentation lists 32 token types. The table below covers the commonly used ones and those whose trigger was confirmed directly in the documentation.

TypeWhat the decoy looks likeWhat trips itBasis
Web address (HTTP)A unique URLSomeone browses to itThinkst docs
DNSA unique hostnameSomeone resolves the name; no connection neededThinkst docs
AWS API keyA key ID and secret key pairThe key is used against the AWS APIThinkst docs
MS Word documentA file with a tempting nameThe file is opened in Office on Windows or macOSThinkst docs
PDF documentA PDF fileA reasonably compliant reader opens it and looks up a unique address over DNSThinkst docs
MySQL dumpA SQL backup file with synthetic dataThe file is imported into, or run on, a MySQL serverThinkst docs
QR codeAn image encoding a URLThe code is scanned and the URL loadsThinkst docs
Email addressA unique address used nowhereMail arrives at itWikipedia mailing-list example; the Thinkst page did not load
Fake database record or accountA customer who does not exist, an account nobody usesThe record is queried or a login is attemptedWikipedia

Some of these deserve a sentence more.

Web and DNS tokens are the building blocks. The Thinkst documentation says web-based and DNS-based tokens can be used to construct many other tripwires. The PDF token is an example: there is a unique address inside the file, and when the reader looks it up, that lookup is the signal. It is a document on the outside and a DNS token on the inside.

The AWS-key token is the most widely used type, because a cloud key is the first thing an attacker looks for when going through a server or a repository. The documentation suggests planting the keys in private code repositories or on developer machines. Whoever finds them will probably believe they open your cloud infrastructure and will try them, and trying them is the alert. Both the key ID and the secret are needed to call the API, so the documentation says to keep them together. Alerts pass through Amazon's logging infrastructure and may arrive 2 to 30 minutes late.

For document tokens, the filename is half the trap. The documentation recommends placing the Word token somewhere it should not be accessed — a network share, a web server, an email attachment — and giving it an enticing name that suggests salary or password data. A decoy has to be worth opening.

The MySQL dump has a narrow trigger. A file that merely sits on disk does nothing. Someone has to take it and actually load it into a database. It is meant to be mixed in among real backups.

The email address is the oldest form. Wikipedia gives the example of seeding a mailing list with one fake address; mail arriving there means the list has left the building. Another example in the same article involves medical records: put different fake records in each of three storage locations, and whichever fake record shows up in a leak identifies the source.

4. Honeypot, honeytoken, canary token, canary trap, watermark

These terms overlap and are often confused. Sorting them by what they deceive and what they reveal makes the picture clearer.

TermWhat it isWho touches itWhat it revealsCost
HoneypotA fake server or service built to attract attackersExternal scanners, intrudersWhat the visitor doesA system to build and maintain
HoneytokenAny fake data that is not a systemWhoever reaches that dataWhether the data was read, used or leakedLow, though monitoring may have to be added
Canary tokenA honeytoken that signals by itself when accessedIntruders, insiders, automated toolsWhen, from where and with what it was touchedLow; nothing to install
Canary trapGiving each person a slightly different versionThe person who leaksWho leakedVersions to produce and track
WatermarkAn identifying mark embedded in real materialNobody; it sends no signalThe origin or owner of a copyEmbedded per item

Compared with a honeypot, the difference is size and location. A honeypot is a separate fake system. A canary token is a fake fragment inside a real one. A honeypot is for watching an attacker at length; a token is for getting one signal that says someone made it this far.

Compared with a canary trap, the difference is the question. According to Wikipedia, a canary trap gives each suspect a slightly different document and watches which version leaks. The term comes from the 1987 Tom Clancy novel Patriot Games, and British intelligence reportedly called the same technique the barium meal test. A canary trap asks who leaked; a canary token asks who got in. Because every token has a different value, the two can be combined. Give each supplier a document with its own token, and the token that fires narrows down the route of the leak.

Compared with a watermark, the difference is whether there is a signal. A watermark lets you confirm the origin of material after it has been found. It does not announce anything. A canary token announces at the moment of access.

D3FEND, the MITRE catalogue of defensive techniques, groups this family under Decoy Object (D3-DO), defined as an object created and deployed for the purposes of deceiving attackers, and also called a lure.

D3FEND sub-techniqueDefinitionCanary-token equivalent
Decoy File (D3-DF)A file created to deceive an adversaryWord and PDF tokens, fake SQL dumps
Decoy User Credential (D3-DUC)A credential created to deceive an adversaryFake AWS keys, fake logins
Decoy Session Token (D3-DST)An authentication token created to deceive an adversaryFake session or access tokens
Decoy Network Resource (D3-DNR)A network resource deployed to deceive an adversaryUnique URLs, unique DNS names
Decoy Persona (D3-DP)A fake online identityUnused accounts, invented staff
Decoy Public Release (D3-DPR)Publicly released material meant to deceiveDeliberately leaked bait

5. Where to plant them — where an attacker looks first

A token is worth what its location is worth. After getting in, an intruder goes looking for secrets in order to widen access. Tokens belong on that path.

LocationWhat goes thereWhat an alert meansCaution
Private source repositoriesA config file holding a fake AWS keyThe repository was read and the key was triedIn a public repository, automated scanners will flood you with alerts
CI variables and secret storesA fake key registered as a secretSecrets have left the build environmentSplitting organisation-level and repository-level tokens narrows the scope
Developer machinesA fake key where credential files liveThe machine was searchedTell the owner, so they do not use it by mistake
Cloud storage and backup foldersFake documents, fake SQL dumpsStorage was browsed and a file openedMust sit among real material
Network sharesA document with a tempting nameSomeone is moving around the internal networkRule out indexers and antivirus that open files
Internal wikis and document toolsA unique URL, fake access detailsThe wiki was readCheck whether a link-preview feature fetches the URL
Unused subdomainsA DNS tokenSomeone is enumerating internal namesA lookup alone says little about who
DatabasesFake customer records, fake email addressesThe list has left and is being usedChoose values ordinary queries will not hit
AI prompts and training dataA unique URL or stringA prompt was read by a third party, or data went into trainingCovered in section 9

The Grafana Labs post of August 25, 2025 gives a concrete deployment. The company relies mainly on AWS-key tokens and places them in GitHub Secrets at two levels. Organisation-level tokens fire if any repository is breached; repository-level tokens show which repository was accessed. It also uses document tokens in shared drive files, email tokens in dummy inboxes and DNS tokens on unused subdomains. It said it has deployed tens of thousands of tokens.

A caution from Wikipedia applies here. If a badly chosen honeytoken appears in legitimate traffic, legitimate traffic gets treated as an intrusion. A fake record has to be one that normal queries will not select, and a fake key has to live where no legitimate script will pick it up.

6. Limits and false alarms — whoever touched it is not always an intruder

The appeal of canary tokens is that false positives are rare. Rare is not never, because programs touch things on behalf of nobody in particular.

What trips the tokenWhyHow to tell
GitHub secret scanningFinds strings shaped like keys and tests whether they are activeThinkst annotates such alerts; they can be added to an ignore list
Secret scanners such as TruffleHogCall the API to check whether a found key is liveWhether a defender or an attacker ran it still has to be established
Crawlers harvesting public repositoriesScrape and test exposed keys automaticallyDo not put tokens in public repositories
Link previewsA chat app fetches a URL to build a previewCheck whether the URL was pasted into a conversation. Not confirmed in official Thinkst documentation
Backup, indexing and antivirus softwareOpens files to read themLook for regular timing
ColleaguesCuriosity or accidentAsk

The Thinkst help center acknowledges the problem. Some legitimate tools touch tokens in ways that resemble attacker behaviour, it says, and when GitHub secret scanning finds an AWS or Slack API key token in a repository it tests whether the key is active, which triggers an alert. According to the GitHub documentation, GitHub scans public repositories for secret formats registered by partners and reports matches to the partner. The SANS diary shows the effect. Fake keys posted to GitHub were tested within minutes, and alerts arrived in such volume that the author turned notifications off. Most of them came from a single company.

Grafana Labs reported the same experience. Before the formal rollout several teammates tripped tokens while exploring; the team asked why they had accessed the credentials, labelled the alerts benign and moved on. The same post warns against placing tokens in public repositories, because automated scanners cause alert fatigue.

Apart from false alarms there are three structural limits.

First, an attacker may recognise the token. In an article with a byline date of February 21, 2024, Dylan Ayrey of Truffle Security described how to identify canarytokens.org AWS keys without calling AWS. An AWS access key ID encodes the account number, and it can be decoded offline. Build a list of the account numbers the free service uses, and all that remains is to check whether the number decoded from a key is on the list. The capability was built into the open-source tool TruffleHog. The same article quotes Thinkst as saying that its self-hosted and paid alternatives are protected from the technique, and Truffle Security said it does not try to list account numbers tied to the paid offerings. Put plainly, a free token that everyone uses acquires a signature that everyone knows. A URL token that shows the service's domain has the same issue.

Second, there may be paths that leave no log. An AWS-key token detects use through the AWS audit log, CloudTrail. In a February 2022 post Thinkst discussed the problem that some API calls might not be logged there while still returning information about the calling key. An attacker using such a call could test a key and learn it is a decoy without raising an alert. Thinkst added a safety net that periodically compares the report of when each key was last used against the log. That report can be generated only once every four hours, so the alert may be up to four hours late, and it carries no client information such as an IP address.

Third, an alert means they are already inside. Grafana Labs lists this limit itself. A token is not prevention. Without a plan for what happens after the alert, you simply know.

This is also why a decoy key must never be a real key with real permissions. It is tempting to create a low-privilege key in a genuine account to make the bait more convincing. That turns the bait into a way in, and one mistaken permission change makes it a real incident. Thinkst says the keys in its tokens carry no permissions and cannot be used to do anything, are not tied to anything the defender owns, and sit on infrastructure hosted entirely by Thinkst. A decoy has to be useless to be a decoy. What happens when a real key is exposed is a different matter: AWS documentation says that when an IAM user's credentials are compromised or publicly exposed, AWS applies a quarantine policy (AWSCompromisedKeyQuarantineV3) that denies certain actions. Our October 18, 2026 explainer on API key theft covered how stolen keys for AI services are actually used. A canary token is its mirror image: the defender exploits the thief's habit of trying whatever key turns up.

7. Cases on the public record

CaseWhenWhat happenedWhat the token didSource
Grafana Labs GitHub workflow compromiseApril 26, 2025An unauthorised user reached some secrets through a vulnerable GitHub Actions workflowAn AWS-key token fired when the attacker validated the stolen keysGrafana Labs
SANS ISC leak experimentPublished March 10, 2024Fake AWS keys were deliberately exposed in website source and on GitHubThe website key was used after about three days, the GitHub keys within minutes. Every planted token was usedSANS Internet Storm Center
TruffleHog token-identification researchByline date February 21, 2024A method for spotting free-service AWS-key tokens without calling AWSA demonstration of the limits on the token sideTruffle Security

Grafana Labs. This is the best-documented case of a token working in a real incident. By the company's account, on Saturday April 26, 2025 an unauthorised user gained access to a limited number of tokens through a misconfigured GitHub Actions workflow. The attacker ran TruffleHog to check which stolen secrets were live. When TruffleHog sent AWS the call that asks who a key belongs to, a canary token sitting among the secrets fired. The company removed the workflow and rotated the exposed secrets. It said secrets in five public repositories were accessed, that there were no code modifications, no access to production and no exposure of customer data, and that the investigation concluded on May 12, 2025.

The limits from section 6 are visible in this incident. Grafana Labs wrote that free tokens are detected by TruffleHog without any call to AWS, and that the token which fired was from the paid cloud version. With a free token, the attacker's tool might have skipped the bait. The company's own assessment is that tokens turned hours of triage into minutes of containment. That assessment is the company's.

SANS ISC experiment. An experiment, not an incident, but it shows how fast attackers move. The author said the sample was too small to generalise. The conclusions are simple. Exposed keys are found and tested quickly. Deleting the code does not undo the exposure. If a key leaks, rotate it at once.

TruffleHog research. A reminder that when a defensive tool becomes well known, so does its signature. Read it alongside the "not in public repositories" row in section 5.

8. The experiment that prompted this piece — bait in about two million prompts

On November 19, 2026 the blog of the industrial security company Dragos published the results of an experiment under the name of HD Moore. It applied canary tokens to AI inference services at scale. What follows is what that post states; no independent verification was found.

ItemAs stated in the post
Period and scaleFive months, July to November 2026; about two million prompts
What was plantedIn each prompt, unique URLs, DNS names, AWS keys, and logins for SSH, web, git, databases and mail
ToolingThinkst Canarytokens at first, then a custom seeding service
Route tracingAbout 2,000 inference routes mapped using image URLs and deliberately malformed requests
Hosting-provider compromisesAt least three. The earliest dates to mid-July. None of the three knew until notified, the post says
What happened to the keysStolen AWS keys were tested within hours, then used to list storage and search secret stores
Privacy settingsOne Chinese AI lab fetched secret URLs from more than half the prompts it received from July to October, including about two thirds of requests marked no data collection or Zero Data Retention (ZDR)
ResellersIndividual sellers on an inference marketplace logged prompts and then tried to log in to the decoy systems

The reason this matters for a glossary entry is that the use of the token changed. Until now a canary token was something placed inside your own systems to wait for an intruder. In this experiment it rode along with data leaving your hands, as a way of inspecting someone else's systems. The sender of a prompt has no way to see how the recipient handles it. If a URL in the prompt is opened, or a key is used, there is evidence that the prompt was read by someone or something.

There are cautions too. The findings of compromise and of ignored settings are inferences drawn by the author from observed access. That a URL was opened is a fact; why it was opened is something a token cannot say. As section 6 showed, a token alone cannot easily distinguish an automated processing step that fetches a URL from a person who reads the prompt and follows the link. The post ends with a product pitch. The details of the experiment and the providers' responses are covered separately in the same edition, in our piece on the AI prompt leak experiment. How brokers resell access to many AI models through one gateway was the subject of our August 18, 2026 explainer on OpenRouter.

9. In the AI era — prompts, system instructions, training data

"Canary" is used in at least three distinct ways in AI. The principle is the same in each: plant a value that should never appear in normal operation, and see whether it appears.

UseWhat is plantedWhat its appearance meansBasis and limit
Inspecting inference routesA unique URL or fake key inside a promptThe prompt was read or stored by a third partyDragos post of November 19, 2026; single source
Detecting system-prompt leaksA unique word inside the instructionsThe model reproduced its instructions in a responseA 2025 arXiv evaluation reported that paraphrased or encoded leaks are missed
Preventing benchmark contaminationA unique string in evaluation filesThe model was trained on the testBIG-bench paper (2022)
Measuring memorisationRandom strings inserted into training dataThe model memorised training data verbatimCarlini et al., USENIX Security 2019

System-prompt leak detection. A unique word is placed in the system instructions of an AI service, and every response is checked for it. If the word shows up, the instructions are leaking wholesale. A 2025 evaluation paper on arXiv reported, however, that detection tools using this method sometimes failed to find the canary in leaked output, and that leaks transformed by encoding evaded output checks. It catches verbatim copies. The structure of attacks that extract or override instructions was covered in our September 28, 2026 explainer on prompt injection.

The benchmark canary string. If the questions used to test an AI model end up in its training data, the test means nothing. BIG-bench, an evaluation suite published in 2022, put a unique identifying string in each task file. The paper explains that the string is meant to help researchers filter BIG-bench data out of web-scraped training corpora. Those assembling a corpus drop any document containing the string, and later, checking whether a model can complete the string shows whether the filtering worked. A post on the Alignment Forum reported that the non-public base model GPT-4-base reproduced the string while the public chat model did not. That is the report of one post.

Measuring memorisation. The paper The Secret Sharer, presented by Nicholas Carlini and colleagues at USENIX Security in 2019, proposed inserting randomly generated canary sequences into training data a varying number of times and measuring how strongly the trained model remembers them. A value called exposure captures how much the canary stands out against other random sequences that were never inserted. The paper says the test was used to limit data exposure in Smart Compose, the Google sentence-completion feature.

One thing cuts across all four. A security canary token sends a signal at the moment of access. The benchmark and memorisation canaries send nothing; somebody goes and checks later. In the terms of section 4, those two are closer to watermarks than to canary tokens. Same name, different mechanism.

For reference, the canarytokens.org documentation lists a token type in the form of an MCP configuration file. The name indicates that the bait is a configuration file used by AI agents; how it works was not confirmed.

10. Making one — within what the documentation says

canarytokens.org is a free service run by Thinkst. Its documentation describes four steps, and only those are reproduced here.

StepWhat the documentation saysWorth adding
1On the generate page (canarytokens.org/generate), select the type of tokenThe web-address type is the simplest first try
2Supply an email address to be notified atThe MySQL dump page mentions email or a webhook
3Write the memo (Reminder): which token this is and where it is placedThe documentation stresses that an alert with a vague memo is hard to act on later
4Place the generated token somewhere usefulSee the table in section 5

The per-type pages add the following. For the web-address type, copy the generated URL and put it where you want it. For DNS, copy the generated hostname. For AWS keys, copy the displayed credentials into a file named credentials or keys, following AWS convention, or use the downloaded file, which is formatted like a genuine AWS credentials file. For QR, download the image and put it wherever you like.

Three things remain after creation.

Trip it yourself once. You need to know that the alert arrives and what it looks like. Grafana Labs likewise recommends triggering tokens in a safe environment and writing down the response.

Decide who does what when it fires. Alerts piling up in a personal inbox are of no use. Grafana Labs feeds alerts by webhook into its incident-response tooling and chat, with escalation to the on-call security staff. It also notes that unacknowledged alerts can group later triggers from different IPs, so that they are missed.

Replace a token that has fired. A token that has been touched is a value the attacker now knows. Grafana Labs recommends archiving the fired token for forensics and replacing it immediately.

Starting small is the safer course. Place a few in high-risk spots, confirm that the response process works when one fires, then expand.

11. Frequently asked questions

Does a canary token stop an intrusion? No. It only reports. A token that fires means someone has already reached that point. It does not replace a firewall or access control; it is the last line that tells you they failed.

How is it different from a honeypot? A honeypot is a separate fake system built to attract attackers. A canary token is a fake piece of data inside a real system. A honeypot takes effort to build and maintain; a token is one file or one string with nothing to install. A honeypot is for observing behaviour over time, a token for a single signal that someone got this far.

Is every alert an intrusion? No. Tools such as GitHub secret scanning and TruffleHog trip tokens when they test keys, and colleagues open things by mistake. Thinkst annotates alerts of that kind. Even so, the right order is to suspect an intrusion first and look for a benign cause second. In the Grafana Labs incident the thing that tripped the token was TruffleHog, and the party running it was the attacker.

Can an attacker tell it is fake? Sometimes. In 2024 Truffle Security published a way to identify free canarytokens.org AWS keys without calling AWS, and built it into TruffleHog. Both sides say the paid and self-hosted Thinkst products are not covered. A URL token that shows the service's domain is also conspicuous. For the places that matter most, that is a reason to consider a custom domain or self-hosting.

Would the fake key be more convincing with a little real permission? Do not do that. A key with permissions is a way in, not a decoy. The keys in Thinkst tokens have no permissions at all and are not connected to the defender's account. Plausibility comes from the filename and the location, not from privileges.

How many tokens, and where? There is no set number. Grafana Labs says it has deployed tens of thousands, but that is a large organisation. The guide is the attacker's path. Places where secrets collect come first: source repositories, CI secrets, developer machines, backup folders. Avoid public repositories.

What is the point of putting a token in a prompt sent to an AI service? It becomes a way to check from outside how the recipient handles the prompt. That is the method of the Dragos experiment. A URL being opened does not prove a person read the prompt, and a token cannot say why it was opened. Keeping sensitive material out of prompts comes first; a token is a check that comes after.

12. What remains and what is not confirmed

ItemConfirmedNot confirmed
Definition and originHoneytoken coined in 2003 (Wikipedia). Mine canaries proposed in 1895, in use by 1896 (Wikipedia)The year the practice ended in British mines
Types32 types in the Thinkst docs navigation (accessed November 22, 2026). Triggers for web, DNS, AWS key, Word, PDF, MySQL dump and QRThe email-address token page (did not load). The internals of the Word token
Alert contentsGrafana Labs: timestamp, IP, hostname, token name, location, memo. SANS: IP and user agentA field-by-field list in Thinkst documentation
DelayAWS-key tokens 2 to 30 minutes (Thinkst docs). Safety net up to 4 hours (Thinkst, 2022)Delays for other types
False alarmsGitHub secret scanning and TruffleHog trip tokens (Thinkst help center, SANS)Link-preview bots and email security gateways (not confirmed in official documentation)
DetectabilityFree AWS-key tokens can be identified without a call (Truffle Security, Grafana Labs)Whether paid or self-hosted tokens can be. A direct Thinkst statement
Grafana Labs caseAlert on April 26, 2025; secrets in five public repositories accessed; investigation closed May 12Number of tokens deployed (thousands or tens of thousands, by post). Date of first disclosure
Dragos experimentAs stated in the post: about two million prompts, at least three hosting providers, ZDR-marked requests also fetchedThird-party verification, provider confirmation, why URLs were opened
AI usesBIG-bench canary string (2022), The Secret Sharer (2019)How models available in 2026 handle the canary string. Measured effectiveness of system-prompt canaries
TaxonomyMITRE D3FEND Decoy Object and its six sub-techniquesDirect definitions in OWASP or MITRE Engage material

To sum up. A canary token is something deliberately made to have no use, placed to wait for the moment it is used. It is cheap, needs nothing installed, and does not blend with normal behaviour, so its alerts are high quality. In return it prevents nothing, it fires when automated tools touch it, and a widely known free token is one attackers recognise as well. The working order is this. Put it where an attacker looks first. Write a specific memo. Trip it once yourself. Decide who does what when it fires. Replace it after it fires.

An intruder who comes in through a flaw with no patch does not match any signature. A decoy that treats the act itself as the signal is one of the few devices that can still notice. Our August 10, 2026 explainer on zero-days covered why unpatched flaws are worth so much, the October 18, 2026 explainer on API key theft covered how stolen keys are used, and the September 28, 2026 explainer on prompt injection covered attacks that extract and steer an AI system's instructions. The full account of the experiment that sent bait inside prompts is in the same edition's piece on the AI prompt leak experiment.

Sources

  1. Thinkst Canarytokens docs — Introduction and Getting Started (official canarytokens.org guide, accessed 2026-11-22)
  2. Thinkst Canarytokens docs — AWS API Keys Canarytoken (accessed 2026-11-22)
  3. Thinkst Canarytokens docs — HTTP Canarytoken (accessed 2026-11-22)
  4. Thinkst Canarytokens docs — DNS Canarytoken (accessed 2026-11-22)
  5. Thinkst Canarytokens docs — Adobe PDF Canarytoken (accessed 2026-11-22)
  6. Thinkst Canarytokens docs — MS Word Canarytoken (last updated 2024-07-23)
  7. Thinkst Canarytokens docs — QR Code Canarytoken (accessed 2026-11-22)
  8. Thinkst Canarytokens docs — MySQL Dump Canarytoken (accessed 2026-11-22)
  9. Thinkst blog — A Safety Net for AWS Canarytokens (2022-02)
  10. Thinkst Canary help center — Alert Annotation: GitHub Secret Scanner (accessed 2026-11-22)
  11. Wikipedia — Honeytoken (accessed 2026-11-22)
  12. Wikipedia — Canary trap (accessed 2026-11-22)
  13. Wikipedia — Sentinel species (accessed 2026-11-22)
  14. MITRE D3FEND — Decoy Object (D3-DO) (accessed 2026-11-22)
  15. Grafana Labs — Canary tokens: Learn all about the unsung heroes of security at Grafana Labs (2025-08-25)
  16. Grafana Labs — Grafana security update: post-incident review for GitHub workflow vulnerability and what's next (2025-05-15)
  17. SANS Internet Storm Center — What happens when you accidentally leak your AWS API keys? [Guest Diary] (2024-03-10)
  18. Truffle Security — research on identifying AWS canary tokens with TruffleHog (Dylan Ayrey, byline date 2024-02-21)
  19. GitHub Docs — Secret scanning partner program (accessed 2026-11-22)
  20. AWS documentation — AWSCompromisedKeyQuarantineV3 managed policy (accessed 2026-11-22)
  21. USENIX Security 2019 — Carlini et al., The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  22. arXiv 2206.04615 — Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models (BIG-bench, 2022)
  23. Alignment Forum — BIG-Bench Canary Contamination in GPT-4
  24. arXiv 2506.19109 — Enhancing Security in LLM Applications: A Performance Evaluation of Early Detection Systems (2025)
  25. Dragos blog — Three breaches, endless leaks: Your AI supply chain needs canaries (HD Moore, 2026-11-19)

Verification

Published
Last modified
Cross-check
Checked against 25 independent sources.
Unverified
  • The per-type pages of the canarytokens.org documentation do not list alert fields item by item. What this article says about alert contents (time, IP, user agent) combines the Grafana Labs post of August 25, 2025 (timestamp, IP, hostname, token name, location, reminder text), the SANS ISC diary of March 10, 2024 (IP and user agent) and the Thinkst post of February 2022 (the safety-net alert carries no client information). Contents vary by token type.
  • The documentation's navigation lists 32 token types, including Unique email address, Credit Card and MCP Configuration, but the email-address token page returned a 404. The description of email-address tokens relies on the mailing-list example in the Wikipedia Honeytoken article. The count and names are as of November 22, 2026 and may change.
  • The documentation does not say how the MS Word token sends its signal; it says only that an alert fires when the file is opened in Microsoft Office on Windows or macOS. Behaviour under Protected View was not confirmed.
  • That link-preview bots in chat apps trip URL tokens was not confirmed in official Thinkst documentation. The statement rests on the Slack developer documentation, which says Slack fetches posted links to build previews, and on secondary accounts. Whether email security gateways such as Microsoft Safe Links open token URLs was not confirmed.
  • Grafana Labs describes the number of deployed tokens as thousands in its post right after the incident and as tens of thousands in the post of August 25, 2025. The first post (late April 2025) was seen only through a search summary, and whether it was published on April 27 or 28 was not settled. Details here follow the August 25, 2025 post.
  • The Truffle Security article carries a byline date of February 21, 2024, while the page metadata shows a different date; the byline date is used. The only Thinkst position confirmed is the single sentence quoted in that article (self-hosted and paid alternatives are protected from the technique). No direct Thinkst statement was found.
  • The Dragos experiment rests on one source, the Dragos blog post. No independent verification and no confirmation from the providers involved was found. The findings of compromise and of ignored privacy settings are inferences by the author from observed access. All figures (about two million prompts, about 2,000 inference routes, more than half, about two thirds) are as stated in that post.
  • No passage in OWASP or MITRE Engage material directly defining canary tokens or honeytokens was confirmed, so neither is cited. The MITRE Engage site did not load (403) and activity numbers differ between secondary sources. The only taxonomy used is the MITRE D3FEND Decoy Object entry, which was read directly.
  • The limits of canary words in system prompts (paraphrased or encoded leaks are missed) rely on a search summary of arXiv 2506.19109; the full paper was not read.
  • That a GPT-4 base model reproduced the BIG-bench canary string is the report of a single Alignment Forum post. How models available in 2026 handle the string was not confirmed.
  • The year canaries stopped being used in British coal mines is not in the material consulted and is not stated here.
Authoring
Reviewed by a person before publication. The full process is described in the Editorial.

Ten stories, once each morning

We send the three-line summaries only; the full pieces stay on the site. One-click unsubscribe, any time.

Related