NEWSDante is a free watchman for your own machines. See what is new in the library.Library →
Dante

Bait files that warn you when someone uses your secrets

Prevention fails sometimes. A bait file makes the failure loud: it looks like exactly what a thief or a hijacked agent hunts for, and it reports the moment it is used.

A tripwire for a theft you cannot see.

The idea

Attackers and rogue agents grab credentials fast and use them without reading much. A file called .env.production, a .npmrc with a token or an AWS credentials file is the first thing automated tooling goes for. If those files are fake, no normal user ever has a reason to use them. The first use is therefore a signal with almost no false alarms. This technique is widely known as a canary token or honeytoken.

How Dante's bait watch works

  1. Turn it on. Type watch. Dante makes up its own random identity (like dante-1234). The one call that introduces it is shown as a command first and runs only after your yes.
  2. Bind your mail once on a web page, through a one-time link that only your terminal showed. A proof mail arrives straight away, so you know the address works before any real incident. Check your spam folder if it does not show.
  3. Lay bait. watch bait env (or mcp, npm, aws). Dante writes the bait file where you are and never overwrites an existing file.
  4. Wait. Dante itself still sends nothing. Only a bait that is used calls our server, and then you get one mail, at most one per hour.

What the alert looks like

The alert mail, close to what the server sends. Time, identity and bait in this example are made up.

What the alert tells you

What it cannot do

A bait warns you that something used a fake secret. It does not stop the intruder, and it cannot see attacks that never touch the bait. It complements, not replaces, removing real secrets and locking down SSH. If the watch runs out, baits stop reporting alerts; you get one mail (at most one a day) with the number of uses since then and a link to turn it back on.

Cost

The first month is free. After that it is 1.99 EUR for each further month, paid once per month through SumUp (not an automatic subscription). Details on the install and packs page.

The quiet kind of protection

Most security tools shout all day until you stop listening. A bait is the opposite: silent for months, and then, once, it matters more than anything else in your inbox. First month is free, so the only thing you risk is a fake file in a folder.

npx dante-watch
Check your own machine nowInstall Node.js, open a terminal, type npx dante-watch. Step-by-step for Mac, Windows and Linux.
Nothing to lose by looking.Dante only reads. It asks before every change and shows the command first. No account. Delete the folder ~/.dante and it is gone.

Questions people ask

What is a canary token?

A fake credential or file that no legitimate user would ever use. When someone does use it, you are alerted, which reveals theft or a hijacked tool.

Does a bait file send data from my computer?

No. Dante does not call out on its own. The bait carries an address; if it is used, the request reaches our server and you get a mail.

Can attackers recognise a bait file?

A careful attacker may. That is why baits are one layer beside real hardening, not a replacement.

More

Check your machine: npx dante-watch · how