By enchanter-ai
Comprehensive security event logging with rotation and reporting.
Use when the developer asks about audit logs, security events, session history, or wants to generate a security report. Auto-triggers on: "audit log", "security events", "what happened", "security report", "show audit", "event history", "compliance".
Streams audit-trail events to OTLP-compatible backends (Datadog LLM Observability, Sentry AI Agent Monitoring) with full span fields per closure F-021/F-024. Use when the developer asks "how do I send audit events to Datadog/Sentry?", sets up production observability, wires an OTLP collector, or asks about exporting tool/policy spans. Auto-triggers on: "send audit to datadog", "sentry ai monitoring", "otlp exporter", "audit observability", "ship audit events", "production observability for hydra", "F-021", "F-024".
Verifies the tamper-evidence hash chain on audit-trail's JSONL log. Use when the developer asks to verify audit integrity, check whether the audit log has been tampered with, validate the hash chain, or investigate suspected log manipulation. Auto-triggers on: "verify audit", "check audit integrity", "tamper check", "validate hash chain", "audit log tampered", "hash chain broken".
Routes HIGH and CRITICAL audit-trail events to an operator-configured webhook (PagerDuty, Opsgenie, Slack, generic). Reads new rows from state/audit.jsonl since the last cursor and POSTs a generic event payload. Use when the developer asks about on-call paging, alert routing, webhook setup, audit-event escalation, or wants to verify F-011 closure. Auto-triggers on: "page on-call", "wire pager", "paging config", "alert routing", "F-011", "send HIGH events to", "configure webhook". Do not use for crafting the audit log itself (see audit-awareness) or for verifying chain integrity (see audit-verify).
Executes bash commands
Hook triggers when Bash tool is used
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Uses Bash, Write, or Edit tools
Uses Bash, Write, or Edit tools
An @enchanter-ai product — algorithm-driven, agent-managed, self-learning.
15 plugins (+ 1 meta-installer). 5 agents. 1,844 patterns. 8 algorithms. 98 CWEs. 20 attack databases. Zero dependencies.
Plugin count breakdown: 5 scanner plugins (each with a Sonnet/Haiku agent), 4 advisory hook plugins, 2 compliance plugins, 4 opt-in / post-filter plugins (capability-shield, egress-shield, reach-filter, state-integrity), and 1 meta-installer (full). Of the 16 directories under plugins/, the full plugin contains no logic of its own — it exists only to install the other 15 as dependencies.
Built from blood — every pattern traces back to a real CVE, a real breach, or a real research paper.
Clone a malicious repo. Open it in Claude Code.
Before you type a single command, config-shield has already flagged the hidden
postinstallscript in package.json, the API-key-stealing hook in.claude/settings.json, and the Unicode-obfuscated backdoor in.cursorrules.You start coding. Hydra catches the PostgreSQL connection string on line 12, flags the
pickle.loads()as CWE-502, spots the JWT signed withalg: "none", blocks therm -rf /tmp/*, and quarantines a typosquatted npm package — all before you finish your coffee.End of session: 6 secrets masked, 4 vulns mapped to CWEs, 1 command blocked, 2 phantom dependencies caught, 0 incidents. Dark-themed HTML report generated.
Total overhead: < 50ms per file write. You didn't notice it running.
In plain English: Your AI just typed an AWS key into a committed file, ran rm -rf ~/, and pip-installed a typosquatted package. Hydra blocks each one before it lands.
Technically: R1 Aho-Corasick pattern engine scans 1,844 patterns across 20 databases (310 secret patterns + 156 OWASP/CWE-mapped vulns + 105 dangerous-ops + more) on every Write/Edit; R2 Shannon entropy analysis catches high-entropy strings that evade regex; R4 Markov Action Classification classifies Bash subcommands and surfaces dangerous ops at PreToolUse via advisory injection (exit 0 + stderr per ../vis/packages/core/conduct/hooks.md). Every finding is keyed to a real CVE or CWE; no finding is fabricated from heuristics alone.
Hydra takes its name from Twilight Forest — the swamp-dwelling multi-headed boss whose heads regenerate faster than they can be severed, forcing the player to strike every weak point at once. Security vulnerabilities work the same way: suppress one surface and two more emerge. Hydra finds them before they find you.
The question this plugin answers: Is it safe?
.claude/settings.json hooks, prompt-injection-to-RCE chains, typosquatted deps the agent pulled in.Not for:
npx claudepluginhub enchanter-ai/hydra --plugin audit-trailOPT-IN BLOCKING capability allowlist. Sibling of hydra-capability-fence (advisory). When state/capability-policy.json sets enabled:true, this shield blocks any tool call whose name is not in the active skill's declared allowed-tools frontmatter list. Default disabled — out of the box this shield does nothing.
Advisory PreToolUse gate on package install commands. Surfaces 5 supply-chain risk signals (existence, age, maintainer, typosquat, download-cliff) before npm/pip/etc. install runs. Always exit 0; never blocks.
Real-time secret detection in written files. 200+ patterns, Shannon entropy, Aho-Corasick matching.
OWASP Top 10 and CWE-mapped vulnerability detection in code changes.
Pre-execution classification and blocking of dangerous Bash commands.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
Efficient skill management system with progressive discovery — 410+ production-ready skills across 33+ domains