# security-manager

security-manager — a Claude Code subagent that embeds cryptographic security into distributed consensus protocols. Runs on critical operations, verifying threshold signatures, detecting attacks, and encrypting node communications.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 850 repo stars
- Author: ruvnet
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ruvnet/agentic-flow/tree/HEAD/.claude/agents/consensus/security-manager.md
- Updated: 2026-10-26
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/security-manager

## What it does

Deploys threshold cryptography, zero-knowledge proofs, and attack detection over consensus protocols. Manages distributed key generation, rotation, TLS 1.3 encryption, and message authentication between nodes. Includes detectors for Byzantine, Sybil, and Eclipse attacks with real-time triggers.

Implemented as pre/post hooks: before a task, activates cryptographic verification; after, runs a security audit. Works with `secp256k1` elliptic curves, Lagrange interpolation for combining partial signatures, and Bulletproof range proofs. Without an elliptic curve cryptography library, the subagent will not start.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/security-manager.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/security-manager.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/security-manager.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ruvnet/agentic-flow/tree/HEAD/.claude/agents/consensus/security-manager.md

## When to use it
- verify threshold signatures in a distributed system
- detect consensus attacks (Byzantine, Sybil, Eclipse)
- generate distributed keys without a trusted party
- prove knowledge of discrete logarithm without revealing the secret
- encrypt node communications with message authentication

## Example prompts
- Run distributed key generation for three nodes with a two-signature threshold
- Create a threshold signature of a message from five participants
- Verify a zero-knowledge proof for a node's public key

## Similar
- [axiom-security](https://affpapa.org/en/nevibecode/skills/axiom-security.md) — skill · 1300 installs
- [SQLCipher Encrypted Database Expert](https://affpapa.org/en/nevibecode/skills/sqlcipher-encrypted-database-expert.md) — skill · 216 installs
- [quantumscan](https://affpapa.org/en/nevibecode/mcp/quantumscan.md) — MCP server · 768 installs
- [Wax Seal](https://affpapa.org/en/nevibecode/mcp/wax-seal.md) — MCP server · 303 installs
- [azure-security-keyvault-keys-java](https://affpapa.org/en/nevibecode/skills/azure-security-keyvault-keys-java.md) — skill · ★ 3232 repo stars
- [discover-cryptography](https://affpapa.org/en/nevibecode/skills/discover-cryptography.md) — skill · 118 installs

From the same set: [ruvnet/agentic-flow](https://affpapa.org/en/nevibecode/by/ruvnet/agentic-flow.md) — 76 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
