This tutorial demonstrates how to protect automated listing moderation systems, like those used by Leboncoin, from sophisticated jailbreak attacks. It introduces Resk-LLM, a Python toolkit featuring 11 detectors designed to identify prompt injection, content framing, memory poisoning, and obfuscation techniques. The guide covers implementing these security measures using FastAPI middleware and provides practical code examples for sanitizing inputs and validating LLM outputs. AI
IMPACT Enhances the security of LLM-based moderation systems against adversarial attacks.
RANK_REASON The item describes a toolkit and its implementation for a specific use case, not a novel research finding or a frontier model release.
- ACLDecisionTreeDetector
- BypassDetector
- CanaryManager
- ContentFramingDetector
- DirectInjectionDetector
- FastAPI
- InputSanitizer
- Leboncoin
- MemoryPoisoningDetector
- OutputValidator
- Python
- Resk-LLM
- SecurityPipeline
- VectorSimilarityDetector
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →