Prompt Guard is a specialized security skill that leverages Meta's lightweight 86M parameter model to safeguard LLM applications from malicious inputs. It provides a robust defense-in-depth layer against direct jailbreak attempts and indirect prompt injections hidden within third-party data or RAG documents. By offering high True Positive Rates (99%+) and extremely low latency (<2ms on GPU) across eight languages, this skill allows developers to implement production-grade input validation and safety alignment without compromising the user experience or system performance.
주요 기능
01Multilingual support for English, French, German, Spanish, Portuguese, Italian, Hindi, and Thai
02Three-way classification for benign content, injections, and jailbreaks
03Sliding window implementation for scanning long-form content beyond 512 tokens
0413 GitHub stars
05High-speed 86M parameter classifier with <2ms GPU latency
06Batch processing capabilities optimized for filtering RAG document sets
사용 사례
01Pre-filtering retrieved context in RAG pipelines to prevent context poisoning
02Scrubbing third-party API data and web-scraped content for indirect prompt injections
03Shielding customer-facing chatbots from direct jailbreak attempts and roleplay exploits