A honeypot is a decoy system or piece of data set up deliberately to attract attackers. It is disguised as a vulnerable server, account, or file so that defenders can observe the techniques, tools, and target vulnerabilities of anyone who approaches it. Security research organizations and cloud providers operate honeypot networks to detect when scanning for a newly discovered vulnerability begins.
In the AI field, the same name is used for decoy pages that test whether web crawlers or autonomous agents follow instructions, and for fake data planted to detect prompt injection attempts.