Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ruvnetv0.3.4MITIn 2 marketplaces
Screen untrusted input for prompt injection and jailbreak attempts, and flag PII such as emails, SSNs and API keys before it reaches a model or storage. Includes a dashboard of detection stats and threat categories.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; writes files.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
AIDefence guardguard
Refuse what aidefence_learn teaches the detector (patterns persist and are shown back later) that hold a key, token or password.
One of on, off
stringOptionaldefault on
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
AI safety scanning, PII detection, prompt injection defense, and adaptive threat learning.
/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-aidefence@ruflo
This plugin pairs with three runtime hardening features that ship in the host (ADR-095 / ADR-096 / audit_1776853149979):
validateEnv() rejects LD_PRELOAD, LD_LIBRARY_PATH, LD_AUDIT, DYLD_INSERT_LIBRARIES, DYLD_LIBRARY_PATH, DYLD_FALLBACK_LIBRARY_PATH, DYLD_FORCE_FLAT_NAMESPACE, NODE_OPTIONS, NODE_PATH at the terminal_create MCP boundary. Adding any of these to a child process is functionally RCE; threat scoring should treat a denylist-enforcing host as substantially less exposed.fs-secure.writeFileRestricted — cross-user-on-host reads blocked at the OS layer.CLAUDE_FLOW_ENCRYPT_AT_REST=1) — AES-256-GCM with magic-byte (RFE1) backward-compat sniff. Reports involving memory.db / sessions / terminal-history exfiltration should account for the gate state (ruflo doctor -c encryption).aidefence's pattern-pack detector now guards two more places. Use them where the text enters, and keep this plugin's 3-gate pattern for agent inputs and outputs:
| Where | How | Result |
|---|---|---|
| AgentDB memory writes (agentdb 3.4.0+) | Start Claude Code with AGENTDB_INJECTION_GUARD=warn (log, keep) or block (refuse with INJECTION_DETECTED; fails closed without the aidefence package) | Screens ReasoningBank, Reflexion and Skill writes, so a planted instruction never lands in recalled memory. The external agentdb plugin exposes it as its injection_guard option |
| agentic-flow MCP (3.2.0+) | prompt_injection_scan on the external agentic-flow plugin's server (read-only profile) | {safe, maxSeverity, threats[], engine, decision}; engine: "aidefence" when the package is present, a built-in fallback otherwise. ecosystem_status shows which engine and policy are active |
The injection-defense skill that ruflo init installs walks through the aidefence_* gate-then-scan workflow; this plugin's safety-scan and pii-detect skills are the plugin-side entry points.
/aidefence -- Detection stats and threat analysis dashboardsafety-scan -- Scan inputs for prompt injection and unsafe contentpii-detect -- Detect PII in text, code, and configurations@claude-flow/cli v3.6 major+minor.aidefence_* tools (scan, analyze, stats, learn, is_safe, has_pii) plus transfer_detect-pii for categorized findings.bash plugins/ruflo-aidefence/scripts/smoke.sh is the contract.Every consumer plugin handling untrusted content should apply these three gates in order:
| # | Gate | Tool | When |
|---|---|---|---|
| 1 | Pre-storage PII | aidefence_has_pii | Before any AgentDB / memory_store write — redact or quarantine before persistence. |
| 2 | Sanitization | aidefence_scan | For cookies, tokens, high-entropy blobs — vault behind an opaque handle rather than embed raw values. |
| 3 | Prompt-injection | aidefence_is_safe | Before any extracted text re-enters an LLM prompt — quarantine to findings.md if flagged. |
This is the pattern ruflo-browser ADR-0001 §4 codified and ruflo-aidefence ADR-0001 canonicalizes. Reference these gates by name in any new plugin that handles user-supplied content.
The upstream [email protected] / aimds-*@0.1.1 release (shipped 2026-05-14) widens the detection net without changing the MCP-tool surface. Gate 3 (aidefence_is_safe) now flags:
| Category | Sample input |
|---|---|
| Prompt injection (0..4 modifier-word window) | ignore all previous instructions, forget every rule above, disregard the system prompt |
| Role hijack | you are now …, act as …, pretend to be … |
| Jailbreak markers | DAN mode, developer mode, god mode, root mode |
aidefence_stats now also reports accurate total_mitigations and successful_mitigations (previously hardcoded 0 — an unclosed TODO that's now backed by AtomicU64 counters).
7-day copy clicks
Plugins from other owners that cover similar ground
npx claudepluginhub ruvnet/ruflo --plugin ruflo-aidefenceBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.