Skip to content
Vol. 1 · Ed. 2026
CyberGlossary
Entry № 545

Honeytoken

Reviewed byCybersecurity entrepreneur & security researcher

What is Honeytoken?

HoneytokenA piece of fake data — credential, file, record, or API key — that has no legitimate use and triggers an alert the moment it is accessed.


A honeytoken is a deception artifact embedded inside real systems so that any use of it is, by design, malicious or anomalous. The term was coined by Augusto Paes de Barros in a February 2003 mailing-list exchange with Lance Spitzner of the Honeynet Project, extending honeypot thinking from whole systems down to individual data items. Examples include planted user accounts, fake database rows, decoy cloud access keys, watermarked documents, and DNS records that beacon when resolved.

flowchart LR
  P[Plant honeytoken<br/>in repo / share / DB] --> W[Wait: no legit use]
  W --> X((Attacker finds<br/>& uses it))
  X --> T[Use triggers<br/>high-fidelity alert]
  T --> IR[IR: identify source,<br/>scope the breach]

Because honeytokens are inert and never touched by legitimate processes, they produce near-zero false positives and give high-fidelity, early signal of credential theft, data staging, or insider misuse. A practical pattern is the AWS canary key: a planted IAM key whose use is caught by CloudTrail — Thinkst Canarytokens popularised free, self-hosting versions (URL, document, and AWS-key tokens). Honeytokens extend visibility into places where logs are sparse — third-party SaaS, source-code repositories, and backups — and map to ATT&CK's Decoy defensive techniques. Caveats: a token must be plausible yet never reachable by normal workflows, and leaked-credential scanners or careless CI pipelines can trip it, so each alert still needs triage against its planted location.

● Examples

  1. 01

    An AWS access key planted in a Git repository that alerts when used.

  2. 02

    A fake "executive_salaries.xlsx" file on a file share whose open is logged.

● Frequently asked questions

What is Honeytoken?

A piece of fake data — credential, file, record, or API key — that has no legitimate use and triggers an alert the moment it is accessed. It belongs to the Network Security category of cybersecurity.

What does Honeytoken mean?

A piece of fake data — credential, file, record, or API key — that has no legitimate use and triggers an alert the moment it is accessed.

How do you defend against Honeytoken?

Defences for Honeytoken typically combine technical controls and operational practices, as detailed in the full definition above.

What are other names for Honeytoken?

Common alternative names include: Decoy credential, Lure data.

● Related terms

● See also