io.github.CSOAI-ORG/agent-prompt-injection-firewall-mcp
The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...
Versions
1.0.10latest1.0.2Tools 5
scan_prompt Scan a piece of text for prompt injection. Returns full decision trace. - context: where this text came from (user-prompt | rag-document | tool-arg | a2a-payload) Returns `safe`, `risk_level` (none|low|medium|high|critical), `patterns_matched` (list of rule hits), and `recommended_action` (allow | log | escalate | block).
define_custom_rule Define a tenant-specific detection rule. Pro+ only. - pattern: regex (case-insensitive) - action: block | escalate | log
list_rules List built-in + custom rules (if tenant_id provided).
scan_log Recent scan log. Pro tier: unbounded. Free tier: last 100.
sign_firewall_attestation Emit a signed attestation of firewall enforcement. Evidence for OWASP LLM01 + EU AI Act Art 15 (cybersecurity) + ISO 42001 Annex A.5 (security).
Permissions 3
network medium filesystem low env_vars low