stille-hunter
Plant realistic fake user records as leak canaries, then watch for them surfacing in breaches and public leaks. If a canary shows up somewhere, data it was planted in has leaked — and the canary's token tells you exactly where from.
stille-hunter never touches anyone else's systems. It only generates data you plant yourself, and looks your own canaries up in public or authorized sources. No hacking back, no crawling into places you don't belong — it sets a quiet trap and waits.
Named for the Stille ("silence"), the iron-meteorite bird (隕鉄鳥) of Frieren — it waits, motionless, until the prey reveals itself.
Install
pip install stille-hunter
Requires Python 3.10+. The core tool has no third-party dependencies.
Use
1. Generate canaries
stille-hunter generate --count 50 --locale jp \
--self-domain alerts.your-domain.example --tag www-customers
This writes two files:
canary_seeded.jsonl— plant this in the database, export, or table you want to watch.canary_seeded.ledger.jsonl— keep this secret. It maps each canary's token to where you planted it. See docs/ledger-format.md.
Records look like real members: locale-consistent names, addresses, phones and
email domains (--locale jp|us|gb|ca|de|tw, zh-TW = tw), test-BIN card numbers that can never be
charged, and no CVV or national IDs. Every record is an adult and carries a
unique token woven through its email, user id and password hash.
--self-domain is a domain you control. Canaries on it are flagged
detect: inbox — if you set a catch-all, mail sent to one is an instant leak
signal. The rest get free-mail addresses (detect: search), found by searching.
Canary types
What a canary is is a plugin too (a CanaryType). member is the default;
others plant a single secret-looking string, for seeding into config, .env
files or CI variables where the GitHub source will catch it if it leaks.
stille-hunter generate --list-types # see all types
stille-hunter generate --type api_token --provider github # a fake GitHub PAT
stille-hunter generate --type aws_key # a fake AWS key pair
stille-hunter generate --type kubeconfig # a fake kubeconfig
| type | plants | detect |
|---|---|---|
member |
a full member record (name, address, card, email, ...) | inbox + search |
aws_key |
an inert AWS access-key pair | search |
api_token |
an inert API token (GitHub / OpenAI / Stripe / Slack / generic) | search |
azure_credential |
an inert Azure service-principal credential (client ID, tenant ID, secret) | search |
mcp_config |
an MCP server config (mcpServers block) with an inert token |
search |
kubeconfig |
a kubeconfig with an inert token and a private-address server | search |
db_dump |
plausible table rows with a searchable reference code, for planting in a database | search |
Add a type by dropping a module in stille_hunter/types/; the engine never
changes. Each token is inert — it authenticates to nothing — with a unique
canary token woven into its tail so a leak traces back through the ledger.
Loading canaries into a database
--format sql writes INSERT statements and --format json writes a JSON
array, so canaries go straight into a table. stille-hunter never connects to
your database: you run the output with your own client, inside your own
transaction. Use --columns to select and rename fields so they match your
schema (field=column, in order; a bare field keeps its name).
# MySQL (default) or PostgreSQL INSERTs
stille-hunter generate --type member --count 20 --format sql --table members \
--columns "user_id,full_name=name,email,password_hash=password" --tag www-members
stille-hunter generate --type db_dump --format sql --dialect postgres --table app.customers
For a Laravel app, write JSON and load it from a seeder:
stille-hunter generate --type member --count 20 --format json --table members \
--columns "user_id,full_name=name,email,password_hash=password" \
--out storage/app/canary_seeded --tag www-members \
--ledger-out ~/.stille/ledgers/www-members.ledger.jsonl
// database/seeders/CanarySeeder.php -> php artisan db:seed --class=CanarySeeder
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class CanarySeeder extends Seeder
{
public function run(): void
{
$rows = json_decode(file_get_contents(storage_path('app/canary_seeded.json')), true);
DB::table('members')->insert($rows);
}
}
--ledger-out writes the ledger straight to private storage, so it never lands
inside the app. The seeded file is the list of canary rows: delete it once loaded. The seeded output carries no sign that the rows
are canaries.
2. Check for leaks
cp examples/config.example.json config.json # add your API key(s)
stille-hunter check canary_seeded.ledger.jsonl --sources hibp --config config.json
Pass several ledgers (check ledgers/*.ledger.jsonl ...) to check them all in
one run.
Exit code is 1 if any canary was found leaked (so cron/CI can alert), 0 if
clean, 2 on a usage error. Freshly-minted canaries read clean until a new
breach includes one, so run this on a schedule.
stille-hunter check --list-sources # see available sources
One check --report page (light and dark). Demo data shown.
Add --report run.html (and/or --report run.json) for a report of the run:
one self-contained page, light or dark, showing any hits, how each source
fared (ok, skipped, or failed and why, plus what it covered) and which
canaries were checked, by seed tag and marker. The JSON holds the same for
scripts or an AI triage. Reports never contain canary values, but seed tags
say where canaries are planted, so keep them private (written mode 0600).
2b. Catch mail to your own domain
Canaries on your --self-domain are caught faster by mail than by search: set
a catch-all on that domain, and inbox matches the mail it receives against
the ledger. It reads recipient headers only - message contents are never
fetched or kept - from an mbox, a Maildir or an IMAP mailbox (read-only).
stille-hunter inbox ~/.stille/ledgers/*.ledger.jsonl --maildir /home/canary/Maildir --days 30
stille-hunter inbox ~/.stille/ledgers/*.ledger.jsonl --config ~/.stille/config.json
It prints, reports and notifies like check. Setting up the domain and the
catch-all (DNS, a self-hosted Postfix or a hosted provider): see
Inbox detection.
3. Get told when one surfaces
Add a notify section to the config - a Slack, Discord or any HTTPS webhook,
and/or email - and check sends a message when it finds a hit, or when a
source fails so the check is not silently broken. A clean run sends nothing.
stille-hunter check --notify-test --config ~/.stille/config.json # try it
Add --history ~/.stille/history.jsonl and each run appends one line (no
canary values). stille-hunter history summarises it - runs and failures per
source, hits per seed tag and source, and per canary when it was first and
last seen, so a new leak stands out from one that is still visible from
before:
stille-hunter history ~/.stille/history.jsonl --days 30 # or --json
Over time, manage what you planted with stille-hunter ledger: list shows
the canaries per seed tag (counts, never values), retire stops checking a
batch you removed, and rotate generates a fresh batch for a seed tag and
retires the old one:
stille-hunter ledger list ~/.stille/ledgers/*.ledger.jsonl
stille-hunter ledger rotate ~/.stille/ledgers/www.ledger.jsonl --tag www-members --out new_canaries
Run check daily from cron, Windows Task Scheduler or a private GitHub
Actions workflow: see Running check unattended.
Documentation
- User guide - every command, option and config setting.
- Inbox detection - a catch-all for your canary addresses.
- Running check unattended - cron, Task Scheduler, GitHub Actions.
- Ledger format - the data contract between the commands.
- Plugin author guide - writing canary types and check sources.
- Stability - what the public API is and how it is versioned.
Sources
A source is a place a leaked canary might surface. Each is a small plugin
implementing the CheckSource contract; add one by dropping a module in
stille_hunter/sources/.
| source | needs | finds |
|---|---|---|
null |
— | nothing (reference stub) |
hibp |
HIBP API key | canary emails in known breaches |
github |
GitHub token | canary secrets (keys, tokens, hashes) in public code |
inbox |
a catch-all mailbox you own | mail sent to your inbox canaries (needs --include-inbox; or use stille-hunter inbox) |
Proprietary sources (dark-web crawl, commercial threat feeds) ship separately and register through the same contract.
FAQ
What does stille-hunter find — and what does it not?
It tells you when something you planted or own — a canary, and (in the
proprietary edition) your company name or domain — surfaces in a source you
have enabled. The open-source core ships with hibp (known breaches) and
github (secrets in public code); the proprietary edition adds ransomware /
extortion leak-site listings. That is the whole job. It is not a
threat-intelligence platform: it does not trace money laundering or stolen
cryptocurrency, it does not attribute nation-state financial operations (that is
blockchain-analytics territory), and it does not monitor hacker forums,
stealer-log dumps or credential markets — a possible future source, not
something it does today. And it never hacks back.
Do you download the leaked data? No. stille-hunter reads listing metadata only — that a name or canary appears, under which group, and when. It never downloads, stores, or serves the leaked data itself. Examining the contents of a breach is a separate, specialist task; this tool draws the line at "you appear here."
We're a Japanese (non-Latin-name) company. How do we watch for ourselves?
Leak sites and breach dumps almost always list victims in English / romaji, not
kanji. When you watch for a name or domain (proprietary edition), build the
terms from the romaji name and your domain — e.g. Rakuten,
rakuten.co.jp, not the kanji spelling, which usually matches nothing. Very
short or common terms are refused on purpose: they collide with unrelated
companies.
A listing is more than a year old. Is it still real? The record is; the site may not be. Ransomware leak sites get seized or shut down, so a listing older than roughly a year may no longer be reachable even though the entry remains in the tracker.
Design
- Read-only, search-only. A source may look a canary up; it never logs into places it shouldn't, downloads leaked data, or touches third-party systems.
- Two detection paths. Inbox (catch-all mail on your domain) and search (looking tokens up in leak sources) together cover every canary.
- The ledger is secret. It is excluded from the repo by
.gitignoreand must never be planted or shared.
Roadmap
See ROADMAP.md for what is planned, and CHANGELOG.md for what has shipped.
Human-directed, AI-built.
stille-hunter is an experiment in building and maintaining an OSS project that is human-directed, AI-built. The direction, design decisions and review are human; the implementation is written with AI assistance. This is not an endorsement or an official Anthropic project.
Contributions — from people and from AI assistants — are welcome. Every commit
is signed off under the Developer Certificate of Origin (git commit -s);
see CONTRIBUTING.md.
License
Apache-2.0. See LICENSE.
Metadata
Release files for stille-hunter 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stille_hunter-1.0.0.tar.gz | 854.2 kB | With provenance | Details for stille_hunter-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stille_hunter-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for stille_hunter-1.0.0-py3-none-any.whl |
Total release size: 939.5 kB
Release files / stille_hunter-1.0.0.tar.gz
| Download URL | stille_hunter-1.0.0.tar.gz |
|---|---|
| Size | 854.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5db558745654d83e174750194c9feb6ff6af4605dd12822e8523f4f3b28f3e7a
|
|
BLAKE2b-256 checksum How to use checksums |
816d96269c264b918005a1f39df3b8ec1a9e39e103af71d7d456b95499a10c35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / stille_hunter-1.0.0-py3-none-any.whl
| Download URL | stille_hunter-1.0.0-py3-none-any.whl |
|---|---|
| Size | 85.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1626c95936c2196f77861c56918d8b48bbb3a3a4c8291cc584d55b3d058b85d6
|
|
BLAKE2b-256 checksum How to use checksums |
2e2829233d6e7959ce741fe8795b784ae3a1e92f6e932bb501c4db1c56ccc094
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for stille-hunter 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for stille_hunter-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.