Navigating Threats: Detecting LLM Prompt Injections and Jailbreaks
Blog post from WhyLabs
This blog post discusses the issue of malicious attacks on language models (LLMs) such as jailbreak attacks and prompt injections. It presents two methods of detecting these attacks using LangKit, an open-source package for feature extraction for LLM and NLP applications. The first method involves comparing incoming user prompts to a set of known jailbreak/prompt injection attacks, while the second method is based on the assumption that under a prompt injection attack, the original prompt will not be followed by the model. Both methods have limitations, but they can help mitigate the issues associated with malicious LLM attacks.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| LLM | 44 | 2,083 | 276 | 120 | -35% |
| Vector Search | 5 | 1,058 | 161 | 76 | -60% |
| AI Guardrails | 4 | 64 | 36 | 19 | -64% |
| Observability | 3 | 1,192 | 205 | 85 | -3% |
| RAG | 2 | 734 | 109 | 45 | -37% |
| Secrets Management | 2 | 419 | 91 | 59 | -35% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.