
Defender
Open source prompt injection protection for AI agents calling tools, detecting
1 ratings4.24
Saves1
CategoryAI
PlatformWeb
PricingFree
Defender is an open-source software library providing prompt injection detection and defense for AI agents that call external tools, including MCP, CLI, or direct function calls. It uses a tiered approach combining pattern detection, a machine-learning classifier with an inline ONNX model (~22MB), and optionally user-supplied LLM classification. It returns sanitized outputs and an allow/block decision to prevent prompt injection attacks before content reaches large language models. It offers fast CPU-only inference with latency under 10ms and is installable via npm.
open-source
Ratings & Reviews
Write a reviewBe the first to share a thoughtful review.
Information
CategoryAI
PlatformsWeb
PricingFree
AccountNot confirmed
ListedSeptember 2026
WebVisit
Report a problem
Around the Web
Show HN1 source points · 0 comments