How Data Poisoning Can Mislead AI Agents
Data poisoning is bad data your agent trusts without question. Here's how builders can spot the risk and tighten the sources agents read.

Table of Contents
Imagine you've pointed an AI agent at your company's product data and told it to answer customer questions. Somewhere in that data, a figure is wrong. Not hallucinated, not injected at runtime, just quietly edited by someone who should never have had access. The agent doesn't know the difference. It reads the number, repeats it with total confidence, and a customer walks away believing something that isn't true. Nobody notices, because the answer looks exactly like a correct one.
That's data poisoning, and it's the quiet sibling of prompt injection. Here, I use data poisoning to mean deliberately or accidentally inserting misleading content into data an agent retrieves or relies on; the exact threat model depends on the system. The unglamorous risk sits one layer down, in the sources an agent reads rather than the prompt it's handed at runtime. If you build on no-code platforms and let AI agents pull from your real business data, that risk is yours to think about before it reaches a customer.
> TL;DR
>
> - Data poisoning means changing the *source* an agent reads, not the prompt it's handed.
> - Three pieces of well-known research describe related but different attacks. Conflating them makes the problem look simpler than it is.
> - For no-code builders, connectors and synced sources can add trust boundaries worth inventorying.
> - The fixes are boring but useful: input hygiene, least privilege, provenance, logging. They reduce risk; they don't remove it.
What's the difference between poisoning and prompt injection?
The two get lumped together constantly, and it matters that they aren't the same, because the defences are different.
Prompt injection happens at runtime. An attacker hides an instruction inside something the agent reads during a single query, a web page, an email, a PDF, and the agent follows it. Researchers at ETH Zurich built a benchmark called AgentDojo to measure exactly this, evaluating agents that execute tools over untrusted data across 97 tasks and 629 security test cases. Their finding is blunt: agents are vulnerable to prompt injection where data returned by external tools hijacks the agent into executing malicious tasks.
Data poisoning is a different beast. Under my definition, the misleading content is already sitting in the data before the agent reads it, rather than being smuggled in through a single runtime prompt. You can sometimes catch prompt injection with guardrails around the current prompt. Poisoning asks you to treat the sources themselves as suspect, not just the query in front of you.
ConfusedPilot, published in 2024 by researchers at UT Austin, documents an attack on retrieval augmented generation systems, where attackers plant malicious text or injected instructions in the documents a RAG pipeline retrieves, corrupting the model's responses, and the retrieval cache can be abused to leak secret data. The researchers show both can be used to propagate misinformation inside an organisation. I'm treating it here as a data-poisoning example because it operates on retrieved content rather than a single runtime prompt, but that label is mine, not the paper's. The paper's scope is RAG prompt and document attacks; training-time attacks on model weights fall outside it.
Then there's a third, newer thing. In February 2026, Microsoft's security researchers described something they called AI recommendation poisoning. It's easy to read that name and picture a tampered market-data feed. That's not what this is. Microsoft describes memory poisoning: attackers plant content in an assistant's memory through hidden or pre-filled prompts or URL parameters (a "Summarize with AI" button that quietly carries instructions, say) and then steer what the assistant recommends later. Microsoft frames it as a form of prompt injection, not a corruption of the underlying data source.
Three different attacks, three different layers. The common thread is that the agent inherits trust from whatever is around it.
Where does no-code actually add risk?
Here I'm reasoning out loud, not quoting a study.
No-code platforms let you point an agent at a Notion workspace, a Google Drive folder, a help centre, a database or a third-party feed and connect it quickly. That's the appeal. It can also be a trust boundary that's easy to skip past. When the knowledge is a synced folder or a connected feed, the question of whether every source in there deserves to be treated as ground truth can go unasked.
I'd frame the risk as a hypothesis rather than a finding: connectors and synced sources can add trust boundaries, and builders should inventory them. A connector is a place where data can enter the agent's context without passing through your own code review. That doesn't mean no-code is more exposed than hand-rolled systems. It means the exposure is structured differently, and it's worth actually listing.
There's a second-order point worth naming. A chatbot that hallucinates is an annoyance. An agent that can look something up and then act on it, recommending a product, drafting a transaction, updating a record, turns bad context into bad actions. That's my reasoning, not a measured fact, and a useful design question rather than a security verdict. I'd treat agent data differently from chatbot data: when the model isn't just talking, the blast radius can grow.
What should you check before you ship?
None of this needs exotic tooling. It's mostly discipline and configuration, and the honest caveat is that these measures reduce risk and make incidents easier to investigate. They don't guarantee anything.
Input hygiene. Treat every source your agent reads like a database facing the internet. Inventory every connector and feed. Remove anything public or writable that doesn't strictly need to be there. Pin to specific documents, folders, tables or feeds instead of syncing entire workspaces. For live data, authenticate the source and check integrity, but don't fool yourself that authentication makes poisoning impossible. It just shrinks the pool of people who can edit the source.
Least privilege. The agent should read with the narrowest access you can give it, and a safer design is to avoid inheriting broad builder permissions where the platform allows. If a source is only relevant to one team, the agent shouldn't hold a workspace-level token. Treat any write capability as a separate, explicitly reviewed decision. A read-only agent that reads too much is a smaller problem than a read-write agent that reads too much.
Provenance and logging. When the agent cites a source or surfaces a fact, you want to know which source it came from, when that source last changed, and who changed it. Provenance and logging can make suspicious inputs easier to investigate, and they help you audit the output. If your platform attaches citations and logs the input set per response, turn that on. If it can't, that's worth knowing before you rely on it for anything consequential.
I'd add one habit that costs nothing: before you trust an agent's output, ask whether you'd believe that number if you saw it in a spreadsheet. If the answer is no, don't let the confident phrasing override it.
The takeaway
The research is real and the terminology is a mess, so start by getting the words straight. Prompt injection at runtime, malicious text in retrieved documents, and memory poisoning through hidden prompts are three different attacks with three different defences, and treating them as one makes you worse at all three.
Then act like the data matters more than the model. Inventory every connector and synced source, scope permissions to the minimum, and make sure you can trace a claim back to where it came from. None of this makes poisoning impossible. At best, it makes the risk easier to see and investigate, which is the realistic goal.
The question I'd leave you with is simpler than it sounds: if a number in your agent's answer turned out to be wrong tomorrow, how long would it take you to find out, and where would you even look? If you can't answer that, you haven't finished building yet.
Want to read
more articles
like these?
Become a NoCode Member and get access to our community, discounts and - of course - our latest articles delivered straight to your inbox twice a month!



