Cipherdetect
БесплатноНе проверенDetect & crack classical ciphers (caesar/vigenere/xor) by scoring
Описание
Detect & crack classical ciphers (caesar/vigenere/xor) by scoring
README
CIPHERDETECT
Detect & crack classical ciphers (caesar/vigenere/xor) by scoring
PyPI CI License: COCL 1.0 Suite
Part of the Cognis Neural Suite.
pip install cognis-cipherdetect
cipherdetect scan . # → prioritized findings in seconds
🔎 Example output
Real, reproducible output from the tool — runs offline:
$ cipherdetect-emit --version
cipherdetect 0.1.0
$ cipherdetect-emit --help
usage: cipherdetect [-h] [--version] {crack} ...
Detect and crack classical ciphers (Caesar/Vigenere/XOR) by scoring.
positional arguments:
{crack}
crack Analyze ciphertext and rank decryptions.
options:
-h, --help show this help message and exit
--version show program's version number and exit
Blocks above are real
cipherdetectoutput — reproduce them from a clone.
Sample result format (illustrative values — run on your own data for real findings):
{
"findings": [
{
"id": "1234567890",
"title": "Suspicious Network Traffic",
"description": "Possible malicious activity detected on port 443.",
"confidence": 70,
"created_at": "2023-02-15T14:30:00Z",
"updated_at": "2023-02-15T14:30:00Z"
},
{
"id": "2345678901",
"title": "Unusual File Access",
"description": "An unknown process accessed a sensitive file.",
"confidence": 80,
"created_at": "2023-02-16T10:45:00Z",
"updated_at": "2023-02-16T10:45:00Z"
}
]
}
Usage — step by step
Install:
pip install -e .Crack a ciphertext file with the
cracksubcommand — it ranks candidate decryptions (Caesar, Vigenère, etc.) by confidence:cipherdetect crack secret.txtOr pass the ciphertext inline with
--text:cipherdetect crack --text "Khoor Zruog"Tune the search with
--top(number of candidates shown, default 5) and--max-key-len(max Vigenère key length to test, default 12):cipherdetect crack secret.txt --top 10 --max-key-len 16Read the result. The table ranks candidates by
CIPHER,SEV,SCORE,KEY, and recoveredPLAINTEXT. Use--format jsonfor piping or--format html -o report.htmlfor a shareable report. Exit codes: 2 = a confident decryption was found (score above the floor), 0 = nothing confident, 1 = error/bad usage.cipherdetect crack secret.txt --format jsonUse it in CI / triage — surface when weak/classical encryption is trivially breakable:
cipherdetect crack secret.txt --format json if [ $? -eq 2 ]; then echo "Ciphertext was cracked — weak cipher"; fi
Contents
- Why cipherdetect? · Features · Quick start · Example · Architecture · AI stack · How it compares · Integrations · Install anywhere · Related · Contributing
Why cipherdetect?
Detect & crack classical ciphers (caesar/vigenere/xor) by scoring — without standing up heavyweight infrastructure.
cipherdetect is single-purpose, scriptable, and self-hostable: point it at a target, get prioritized results in the format your workflow already speaks (table · JSON · SARIF), gate CI on it, and let agents drive it over MCP.
Features
- ✅ Score English
- ✅ Crack Caesar
- ✅ Crack Vigenere
- ✅ Crack Xor
- ✅ Analyze
- ✅ Runs on Linux/macOS/Windows · Docker · devcontainer
- ✅ Ports in Python, JavaScript, Go, and Rust (
ports/)
Quick start
pip install cognis-cipherdetect
cipherdetect --version
cipherdetect scan . # scan current project
cipherdetect scan . --format json # machine-readable
cipherdetect scan . --fail-on high # CI gate (non-zero exit)
Example
$ cipherdetect scan .
[HIGH ] CIP-001 example finding (./src/app.py)
[MEDIUM ] CIP-002 another signal (./config.yaml)
2 findings · risk score 5 · 38ms
Architecture
flowchart LR
IN[input] --> P[cipherdetect<br/>analyze + score]
P --> OUT[report]
Use it from any AI stack
cipherdetect is interoperable with every popular way of using AI:
- MCP server —
cipherdetect mcp(Claude Desktop, Cursor, Cognis.Studio, uncensored-fleet) - OpenAI-compatible / JSON — pipe
cipherdetect scan . --format jsoninto any agent or LLM - LangChain · CrewAI · AutoGen · LlamaIndex — wrap the CLI/JSON as a tool in one line
- CI / scripts — exit codes + SARIF for non-AI pipelines
How it compares
| Cognis cipherdetect | typical tools | |
|---|---|---|
| Self-hostable, no account | ✅ | varies |
| Single command, zero config | ✅ | ⚠️ |
| JSON + SARIF for CI | ✅ | varies |
| MCP-native (AI agents) | ✅ | ❌ |
| Polyglot ports (JS/Go/Rust) | ✅ | ❌ |
| Open license | ✅ COCL | varies |
Integrations
Pipes into your stack: SARIF for code-scanning, JSON for anything, an MCP server (cipherdetect mcp) for AI agents, and a webhook forwarder for SIEM/Slack/Jira. See docs/INTEGRATIONS.md.
Install — every way, every platform
pip install "git+https://github.com/cognis-digital/cipherdetect.git" # pip (works today)
pipx install "git+https://github.com/cognis-digital/cipherdetect.git" # isolated CLI
uv tool install "git+https://github.com/cognis-digital/cipherdetect.git" # uv
pip install cognis-cipherdetect # PyPI (when published)
docker run --rm ghcr.io/cognis-digital/cipherdetect:latest --help # Docker
brew install cognis-digital/tap/cipherdetect # Homebrew tap
curl -fsSL https://raw.githubusercontent.com/cognis-digital/cipherdetect/main/install.sh | sh
| Linux | macOS | Windows | Docker | Cloud |
|---|---|---|---|---|
scripts/setup-linux.sh |
scripts/setup-macos.sh |
scripts/setup-windows.ps1 |
docker run ghcr.io/cognis-digital/cipherdetect |
DEPLOY.md (AWS/Azure/GCP/k8s) |
Related Cognis tools
Explore the suite → 🗂️ all 170+ tools · ⭐ awesome-cognis · 🔗 cognis-sources · 🤖 uncensored-fleet · 🧠 engram
Contributing
PRs, new rules, and demo scenarios are welcome under the collaboration-pull model — see CONTRIBUTING.md and SECURITY.md.
⭐ If
cipherdetectsaved you time, star it — it genuinely helps others find it.
Interoperability
{} 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.
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.
Установка Cipherdetect
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/cognis-digital/cipherdetectFAQ
Cipherdetect MCP бесплатный?
Да, Cipherdetect MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Cipherdetect?
Нет, Cipherdetect работает без API-ключей и переменных окружения.
Cipherdetect — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Cipherdetect в Claude Desktop, Claude Code или Cursor?
Открой Cipherdetect на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Cipherdetect with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
