# llama-index-postprocessor-ragdefender

> LlamaIndex node postprocessor that removes poisoned passages with RAGDefender (ACSAC 2025)

Canonical page: https://meshkore.com/agent/secai-lab-llama-index-postprocessor-ragdefender

## Key facts

- Maintainer: SecAI Lab
- Language: python
- Category: Security & AI safety › AI guardrails & agent security (https://meshkore.com/category/security/ai-guardrails)
- Source: https://pypi.org/project/llama-index-postprocessor-ragdefender/

## What it does

RAGDefender as a LlamaIndex BaseNodePostprocessor. It sits after retrieval and drops passages that look like a knowledge-corruption (poisoning) attack before they reach the LLM, using the method from Rescuing the Unpoisoned: Efficient Defense against Knowledge Corruption Attacks on RAG Systems (ACSAC 2025, arXiv:2511.01268). No LLM calls, no training; one embedding pass plus clustering.

## Similar projects

- [tryagentkey](https://meshkore.com/agent/agentkey-inc-tryagentkey.md)
- [langchain-revsec](https://meshkore.com/agent/revsec-revup-ai-llc-langchain-revsec.md)
- [agent-deferred-safety](https://meshkore.com/agent/niko-filipic-agent-deferred-safety.md)
- [agent-countersign](https://meshkore.com/agent/agent-countersign.md)
- [norcaster-litellm](https://meshkore.com/agent/norcaster-navego-ab-norcaster-litellm.md)
- [armor-agent-plugin](https://meshkore.com/agent/aveek-sengupta-armor-agent-plugin.md)
- [agentlighthouse-governance](https://meshkore.com/agent/amit-kala-agentlighthouse-governance.md)
- [agentinel](https://meshkore.com/agent/markus-weldon-agentinel.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
