Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Canarynet

БесплатноНе проверен

Self-hosted canary token network — AWS keys, DNS, docs, web URLs

GitHubEmbed

Описание

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 canarynet output — 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

  1. Install the canarynet command:
    pip install cognis-canarynet   # or: pip install -e .   from this repo
    
  2. Mint a token. new TYPE LABEL persists a token to the store (TYPE is aws, dns, web, or doc); 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
    
  3. Inspect the store — list all tokens, or show one with its full material:
    canarynet list
    canarynet show <TOKEN_ID>
    
  4. Scan logs for triggered tokens; scan exits 2 when any canary fired so cron/CI can react:
    canarynet scan /var/log/auth.log /var/log/nginx/access.log
    
  5. Automate detection. Use --format json (and --store to 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.

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:

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

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.

from github.com/cognis-digital/canarynet

Установить Canarynet в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
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

Notionавтор: Notion

Linear

Issues, cycles, triage — from Claude

Linearавтор: Linear
Pro

Google Drive

Search and read your Drive files

Googleавтор: Google

mindsdb/mindsdb

Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).

mindsdbавтор: mindsdb

fulcradynamics/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

fulcradynamicsавтор: fulcradynamics

aymericzip/intlayer

A MCP Server that enhance your IDE with AI-powered assistance for Intlayer i18n / CMS tool: smart CLI access, access to the docs.

aymericzipавтор: aymericzip

rinadelph/Agent-MCP

A framework for creating multi-agent systems using MCP for coordinated AI collaboration, featuring task management, shared context, and RAG capabilities.

rinadelphавтор: rinadelph

WhenLabs-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-orgавтор: WhenLabs-org

Beltran12138/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

Beltran12138автор: Beltran12138

madbonez/caldav-mcp

Universal MCP server for CalDAV protocol integration. Works with any CalDAV-compatible calendar server including Yandex Calendar, Google Calendar (via CalDAV),

madbonezавтор: madbonez

Compare Canarynet with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории productivity