Canarynet
БесплатноНе проверенSelf-hosted canary token network — AWS keys, DNS, docs, web URLs
Описание
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.
Установить Canarynet в Claude Desktop, Claude Code, Cursor
unyly install canarynetСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add canarynet -- uvx --from git+https://github.com/cognis-digital/canarynet cognis-canarynetПошаговые гайды: как установить Canarynet
FAQ
Canarynet MCP бесплатный?
Да, Canarynet MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Canarynet?
Нет, Canarynet работает без API-ключей и переменных окружения.
Canarynet — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Canarynet в Claude Desktop, Claude Code или Cursor?
Открой Canarynet на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Notion
Read and write pages in your workspace
автор: NotionLinear
Issues, cycles, triage — from Claude
автор: LinearGoogle Drive
Search and read your Drive files
автор: Googlemindsdb/mindsdb
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).
автор: 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
автор: 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.
автор: aymericziprinadelph/Agent-MCP
A framework for creating multi-agent systems using MCP for coordinated AI collaboration, featuring task management, shared context, and RAG capabilities.
автор: 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
автор: 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
автор: Beltran12138madbonez/caldav-mcp
Universal MCP server for CalDAV protocol integration. Works with any CalDAV-compatible calendar server including Yandex Calendar, Google Calendar (via CalDAV),
автор: madbonezCompare Canarynet with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории productivity
