Canarynet
FreeNot checkedSelf-hosted canary token network — AWS keys, DNS, docs, web URLs
About
Self-hosted canary token network — AWS keys, DNS, docs, web URLs
README
Part of the Cognis Neural Suite by Cognis Digital Cognis Open Collaboration License (COCL) v1.0 · domain:
blue-team
PyPI CI License: COCL 1.0 Suite
Self-hosted canary token network — AWS keys, DNS, docs, web URLs.
Blue Team / Defense — detection, deception, and monitoring for small teams.
🔎 Example output
Real, reproducible output from the tool — runs offline:
$ canarynet-emit --version
canarynet 0.1.0
$ canarynet-emit --help
usage: canarynet [-h] [--version] [--format {table,json}] [--store STORE]
{new,list,show,rm,scan} ...
Self-hosted canary token network.
positional arguments:
{new,list,show,rm,scan}
new mint a new canary token
list list all tokens
show show one token with full material
rm delete a token
scan scan log file(s) for triggered tokens
options:
-h, --help show this help message and exit
--version show program's version number and exit
--format {table,json}
--store STORE path to token store JSON
Blocks above are real
canarynetoutput — reproduce them from a clone.
Sample result format (illustrative values — run on your own data for real findings):
{
"Findings": [
{
"id": "1234567890",
"title": "Suspicious Activity Detected",
"description": "Anomalous network traffic detected from IP 192.168.1.100",
"created_at": "2023-02-20T14:30:00Z",
"updated_at": "2023-02-20T14:30:00Z",
"objects": [
{
"id": "1234567890-object-1",
"type": "indicator",
"name": "Suspicious IP",
"description": "Anomalous network traffic detected from IP 192.168.1.100"
}
]
}
]
}
Usage — step by step
- Install the
canarynetcommand:pip install cognis-canarynet # or: pip install -e . from this repo - Mint a token.
new TYPE LABELpersists a token to the store (TYPEisaws,dns,web, ordoc); place the artifact somewhere an intruder would find it:canarynet new aws "prod-backup-keys" canarynet new web "internal-wiki-link" --base-url https://canary.example.com - Inspect the store — list all tokens, or show one with its full material:
canarynet list canarynet show <TOKEN_ID> - Scan logs for triggered tokens;
scanexits2when any canary fired so cron/CI can react:canarynet scan /var/log/auth.log /var/log/nginx/access.log - Automate detection. Use
--format json(and--storeto pin the token file) for machine output, and key alerting off the exit code:canarynet --format json scan /var/log/*.log || echo "CANARY TRIGGERED"; alert.sh
Why
Security and intelligence teams need self-hosted canary token network — AWS keys, DNS, docs, web URLs without standing up heavyweight infrastructure. canarynet is single-purpose, scriptable, CI-friendly, and self-hostable: point it at a target, get prioritized findings in the format your workflow already speaks (table, JSON, SARIF, HTML), and wire it into agents over MCP when you want it autonomous.
Install
pip install cognis-canarynet
# or, from this repo:
pip install -e ".[dev]"
Quick start
canarynet --version
canarynet scan demos/ # run against the bundled demo
canarynet scan demos/ --format sarif --out r.sarif --fail-on high
canarynet scan demos/ --format html --out report.html
canarynet mcp # expose as an MCP server (Cognis.Studio / Claude Desktop / Cursor)
Built-in demo scenarios
Each scenario folder includes a SCENARIO.md describing the situation and the findings to expect.
- demos/01-aws-key-honeytoken-tripped/
- demos/01-basic/
- demos/02-document-canary-tripped/
- demos/03-mixed-status/
Output formats
- Table (default) — human-readable terminal summary
- JSON — machine-readable findings for pipelines
- SARIF — drops into GitHub code-scanning / IDE problem panes
- HTML — shareable report with severity rollups
Credits / Built on
Cognis composes and credits the best of open source. This tool builds on / interoperates with:
- thinkst/canarytokens — fork base (Thinkst)
- thinkst/opencanary — daemon reference
Missing a credit? Open a PR — see CONTRIBUTING.md.
How it fits the Cognis Neural Suite
canarynet is one of 52 tools in the Cognis Neural Suite. Every tool ships an MCP server, so Cognis.Studio agents can call them as scoped capabilities.
Sibling tools in blue-team: sentrylog, edrgap, phishforge, sbomgate, honeytrace
Architecture & roadmap
- Design notes: docs/ARCHITECTURE.md
- Planned work: ROADMAP.md
Contributing
PRs, new detections, and demo scenarios are welcome under the collaboration-pull model. See CONTRIBUTING.md and SECURITY.md.
Interoperability
canarynet composes with the 300+ tool Cognis suite — JSON in/out and a shared
OpenAI-compatible /v1 backbone. See INTEROP.md for the
suite map, composition patterns, and reference stacks.
Integrations
Forward canarynet's findings to STIX/MISP/Sigma/Splunk/Elastic/Slack/webhooks via
cognis-connect. See INTEGRATIONS.md.
License
Source-available under the Cognis Open Collaboration License (COCL) v1.0 — free for personal, internal-evaluation, research, and educational use; commercial / production use requires a license ([email protected]). See LICENSE.
Responsible use
This is dual-use security software. Use it only against systems, data, and identities you own or are explicitly authorized in writing to test, and in compliance with applicable law.
About
Cognis Digital — Wyoming, USA · Making Tomorrow Better Today: Advanced Cybersecurity, AI Innovation, and Blockchain Expertise.
Install Canarynet in Claude Desktop, Claude Code & Cursor
unyly install canarynetInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add canarynet -- uvx --from git+https://github.com/cognis-digital/canarynet cognis-canarynetStep-by-step: how to install Canarynet
FAQ
Is Canarynet MCP free?
Yes, Canarynet MCP is free — one-click install via Unyly at no cost.
Does Canarynet need an API key?
No, Canarynet runs without API keys or environment variables.
Is Canarynet hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Canarynet in Claude Desktop, Claude Code or Cursor?
Open Canarynet on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Notion
Read and write pages in your workspace
by NotionLinear
Issues, cycles, triage — from Claude
by LinearGoogle Drive
Search and read your Drive files
by Googlemindsdb/mindsdb
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).
by mindsdbfulcradynamics/fulcra-context-mcp
MCP server for accessing personal health and biometric data including sleep stages, heart rate, HRV, glucose, workouts, calendar, and location via the Fulcra Li
by fulcradynamicsaymericzip/intlayer
A MCP Server that enhance your IDE with AI-powered assistance for Intlayer i18n / CMS tool: smart CLI access, access to the docs.
by aymericziprinadelph/Agent-MCP
A framework for creating multi-agent systems using MCP for coordinated AI collaboration, featuring task management, shared context, and RAG capabilities.
by rinadelphWhenLabs-org/when
Developer toolkit: auto-detect stack for AI context files, catch port conflicts, validate .env schemas, spot docs drift, audit dependency licenses, and time cod
by WhenLabs-orgBeltran12138/wecom-docs-mcp-server
WeCom (Enterprise WeChat) document operations via MCP: create, read, and edit Docs and Smartsheets (9 tools). Fills the doc-CRUD gap — existing WeCom MCP server
by Beltran12138madbonez/caldav-mcp
Universal MCP server for CalDAV protocol integration. Works with any CalDAV-compatible calendar server including Yandex Calendar, Google Calendar (via CalDAV),
by madbonezCompare Canarynet with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All productivity MCPs
