Breaching LLM Powered Applications: Overcoming Security and Privacy Challenges
summary
Demo app shows RAG poisoning via file upload: a malicious terms.txt containing a “vroom vroom” rule overwrites stored policy and convinces the LLM to cancel a Tesla booking; attack uses Burp Suite to inject multipart upload into the vector/RAG pipeline. Another demo uses SQL injection into chat memory to insert fake conversation history that causes cancellations. Tests use LangChain for Java, Burp, GPT‑3.5 / GPT‑4o and Llama 3.1, and behavior is nondeterministic so guardrails, input sanitizers, limited tool permissions and human‑in‑the‑loop confirmation are required.
AI-written summary · about
chapters (11)
- 0:00Introduction and setup
- 2:35Why LLM security matters
- 6:53RAG context poisoning demo
- 13:45Chat memory injection risks
- 21:03Prompt injection attacks
- 28:45Abusing LLM permissions
- 31:56Tool calling vulnerabilities
- 38:47Privacy and data handling
- 42:41Architectural considerations
- 44:27General LLM security rules
- 48:38Q&A and closing
