<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/breaching-llm-powered-applications-overcoming-security-and-privacy-challenges-by-brian-vermeer-e9f25x5ij" -->

---
title: Breaching LLM-Powered Applications: Overcoming Security...
description: A Snyk security engineer demonstrates live exploits against LLM-powered applications, showing how RAG poisoning, chat memory manipulation, SQL injection, path...
canonical: https://daily.dev/posts/breaching-llm-powered-applications-overcoming-security-and-privacy-challenges-by-brian-vermeer-e9f25x5ij
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Breaching LLM-Powered Applications: Overcoming Security and Privacy Challenges by Brian Vermeer | daily.dev
og:description: A Snyk security engineer demonstrates live exploits against LLM-powered applications, showing how RAG poisoning, chat memory manipulation, SQL injection, path...
og:url: https://daily.dev/posts/breaching-llm-powered-applications-overcoming-security-and-privacy-challenges-by-brian-vermeer-e9f25x5ij
og:image: https://api.daily.dev/og/posts/e9F25x5iJ.png
og:image:alt: Breaching LLM-Powered Applications: Overcoming Security and Privacy Challenges by Brian Vermeer
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Breaching LLM-Powered Applications: Overcoming Security and Privacy Challenges by Brian Vermeer

**[Spring I/O](https://daily.dev/sources/springio)** · 48 min read · 0 upvotes · 0 comments

## Summary

A Snyk security engineer demonstrates live exploits against LLM-powered applications, showing how RAG poisoning, chat memory manipulation, SQL injection, path traversal, prompt injection, and overpermissioned tool/MCP access can be chained together to cancel bookings, drop database tables, exfiltrate user data, and create fraudulent accounts. Classic vulnerabilities like SQL injection and path traversal (in this case introduced by Copilot-generated code) become far more dangerous once an LLM has execution power over tools and functions. Mitigations covered include input/output guardrails, LLM-as-judge sanitizers, stricter system messages, structured output, limiting LLM permissions to user privileges, human-in-the-loop confirmation for destructive actions, using stronger models, splitting large tool-connected LLMs into smaller scoped services, and scanning MCP/skill files for malicious instructions before use.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=lTlOUU5roVs>

## Questions this post answers

### What is RAG poisoning and how can an attacker exploit it in an LLM application?

RAG poisoning is when an attacker injects malicious instructions into the documents a retrieval-augmented-generation system stores in its vector database, so that once those documents are re-chunked and embedded, the LLM later retrieves and follows the attacker's hidden instructions as if they were legitimate context. A demonstrated example used a path traversal bug in a file upload endpoint to overwrite a terms-of-use document with a hidden exception clause, which the RAG pipeline later picked up and used to approve an otherwise-blocked booking cancellation.

_Teams securing RAG pipelines can track emerging LLM attack techniques and defenses on daily.dev._

### How can prompt injection be used to bypass a system message that says not to share user information?

Prompt injection can bypass a restrictive system message by splitting a forbidden request into several smaller, seemingly harmless questions whose answers are recombined in context. For example, asking for the user count, then first names, then last names, then addresses separately can extract full user records even though the model refuses a direct request like 'give me all user info,' because each individual sub-question doesn't trigger the model's refusal logic.

_Developers hardening chat assistants against data leaks can follow prompt injection mitigation techniques on daily.dev._

### What mitigation strategies help prevent LLM agents with tool access from executing destructive or unauthorized actions?

Effective mitigations include writing narrowly scoped tool functions instead of general-purpose ones (avoiding functions that accept raw SQL, for example), limiting LLM permissions to match the calling user's actual privileges, requiring explicit human confirmation for destructive actions like deletions, enforcing structured input/output instead of free text, using input/output guardrails (including an LLM-as-judge sanitizer scoring inputs above 0.6 as malicious), and splitting one large tool-connected LLM into multiple smaller, single-purpose services similar to microservices.

_Teams designing tool-calling LLM agents can compare guardrail and permission strategies on daily.dev._

## Similar posts on daily.dev

- [Insecure Output Handling: SQL Injection Through LLM Output \(Part 2\)](https://daily.dev/posts/insecure-output-handling-sql-injection-through-llm-output-part-2--yjsmqx40e) · InfoSec Write-ups · 0 upvotes · 0 comments
- [Schneier on Security](https://daily.dev/posts/schneier-on-security-yuu0xtx3i) · Schneier on Security · 0 upvotes · 0 comments
- [Prompt Injection Can’t Be Fully Mitigated, NCSC Says Reduce Impact Instead](https://daily.dev/posts/prompt-injection-can-t-be-fully-mitigated-ncsc-says-reduce-impact-instead-btupakhtr) · Security Boulevard · 1 upvotes · 0 comments
- [Untitled](https://daily.dev/posts/untitled-32cinyywt) · SitePoint · 0 upvotes · 0 comments

---

Tags: [#llm](https://daily.dev/tags/llm), [#mcp](https://daily.dev/tags/mcp), [#rag](https://daily.dev/tags/rag), [#appsec](https://daily.dev/tags/appsec), [#prompt-injection](https://daily.dev/tags/prompt-injection)

[View this post on daily.dev](https://daily.dev/posts/breaching-llm-powered-applications-overcoming-security-and-privacy-challenges-by-brian-vermeer-e9f25x5ij)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Breaching LLM-Powered Applications: Overcoming Security and Privacy Challenges by Brian Vermeer","url":"https://daily.dev/posts/breaching-llm-powered-applications-overcoming-security-and-privacy-challenges-by-brian-vermeer-e9f25x5ij","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/breaching-llm-powered-applications-overcoming-security-and-privacy-challenges-by-brian-vermeer-e9f25x5ij"},"datePublished":"2026-09-27T07:26:31.993Z","dateModified":"2026-09-27T07:34:33.095Z","description":"A Snyk security engineer demonstrates live exploits against LLM-powered applications, showing how RAG poisoning, chat memory manipulation, SQL injection, path...","image":"https://i.ytimg.com/vi/lTlOUU5roVs/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/lTlOUU5roVs/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Spring I/O","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Spring I/O","logo":"https://media.daily.dev/image/upload/s--e-TcwM9B--/f_auto,q_auto/v1790493985/logos/springio?_a=BAMAMicg0","url":"https://daily.dev/sources/springio"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/breaching-llm-powered-applications-overcoming-security-and-privacy-challenges-by-brian-vermeer-e9f25x5ij","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"llm,mcp,rag,appsec,prompt-injection","timeRequired":"PT48M","video":{"@type":"VideoObject","name":"Breaching LLM-Powered Applications: Overcoming Security and Privacy Challenges by Brian Vermeer","description":"A Snyk security engineer demonstrates live exploits against LLM-powered applications, showing how RAG poisoning, chat memory manipulation, SQL injection, path...","thumbnailUrl":"https://i.ytimg.com/vi/lTlOUU5roVs/sddefault.jpg","uploadDate":"2026-09-27T07:26:31.993Z","duration":"PT48M","url":"https://api.daily.dev/r/e9F25x5iJ","embedUrl":"https://www.youtube.com/embed/lTlOUU5roVs"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Spring I/O","item":"https://daily.dev/sources/springio"},{"@type":"ListItem","position":3,"name":"Breaching LLM-Powered Applications: Overcoming Security and Privacy Challenges by Brian Vermeer"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/breaching-llm-powered-applications-overcoming-security-and-privacy-challenges-by-brian-vermeer-e9f25x5ij#faq","mainEntity":[{"@type":"Question","name":"What is RAG poisoning and how can an attacker exploit it in an LLM application?","acceptedAnswer":{"@type":"Answer","text":"RAG poisoning is when an attacker injects malicious instructions into the documents a retrieval-augmented-generation system stores in its vector database, so that once those documents are re-chunked and embedded, the LLM later retrieves and follows the attacker's hidden instructions as if they were legitimate context. A demonstrated example used a path traversal bug in a file upload endpoint to overwrite a terms-of-use document with a hidden exception clause, which the RAG pipeline later picked up and used to approve an otherwise-blocked booking cancellation. Teams securing RAG pipelines can track emerging LLM attack techniques and defenses on daily.dev."}},{"@type":"Question","name":"How can prompt injection be used to bypass a system message that says not to share user information?","acceptedAnswer":{"@type":"Answer","text":"Prompt injection can bypass a restrictive system message by splitting a forbidden request into several smaller, seemingly harmless questions whose answers are recombined in context. For example, asking for the user count, then first names, then last names, then addresses separately can extract full user records even though the model refuses a direct request like 'give me all user info,' because each individual sub-question doesn't trigger the model's refusal logic. Developers hardening chat assistants against data leaks can follow prompt injection mitigation techniques on daily.dev."}},{"@type":"Question","name":"What mitigation strategies help prevent LLM agents with tool access from executing destructive or unauthorized actions?","acceptedAnswer":{"@type":"Answer","text":"Effective mitigations include writing narrowly scoped tool functions instead of general-purpose ones (avoiding functions that accept raw SQL, for example), limiting LLM permissions to match the calling user's actual privileges, requiring explicit human confirmation for destructive actions like deletions, enforcing structured input/output instead of free text, using input/output guardrails (including an LLM-as-judge sanitizer scoring inputs above 0.6 as malicious), and splitting one large tool-connected LLM into multiple smaller, single-purpose services similar to microservices. Teams designing tool-calling LLM agents can compare guardrail and permission strategies on daily.dev."}}]}
```

