Blog/AI Security

Prompt injection explained for business leaders, and how to reduce risk

Understand what prompt injection is, why it matters for your AI features, and which defensive controls to ask your team for.

By Sagar Makker · 5 min read · October 2026
In short
Prompt injection is when text the AI reads tries to override your instructions and change its behaviour.
It cannot be fully eliminated today, so design the system so a manipulated AI cannot do much harm.
Limit data and tool access, keep humans on risky actions, filter outputs, and log everything.
The problem

Your team launches an AI assistant that reads customer emails and uploaded documents to draft replies. It works well in testing. The board then asks a simple question: what happens if someone writes instructions into an email that tell the assistant to ignore its rules? Nobody in the room has a confident answer, and the launch date is next week.

AI models treat everything they read as possible instructions, whether it comes from your developers, a user or a web page. That means content from outside your company can sometimes steer the model. Leaders do not need the technical detail, but they do need to know the risk is real, cannot be patched away completely, and must be managed through design.

Why it happens
01AI models cannot reliably tell trusted instructions apart from untrusted content
02Assistants read external emails, documents and web pages that anyone can write
03AI features are given broad data access or tools because it is convenient
04Outputs are trusted and acted on without checks or human review
How to fix it
1
Map what the AI reads
List every source of text the AI processes: user chat, emails, uploaded files, web pages, tickets. Treat anything written outside your company as untrusted input by default.
2
Limit what it can reach
Give the AI only the data and tools that feature needs, using the requesting user's permissions. A manipulated assistant with narrow access can cause far less damage.
3
Gate risky actions with humans
Require a person to approve sending external messages, changing records, making payments or sharing files. Show the approver exactly what the AI wants to do and why.
4
Filter, monitor and test
Check outputs for sensitive data and unexpected links, log prompts and actions, and have authorised testers regularly probe your own system with injection scenarios before and after launch.
Where an AI agent helps
Input
User requests plus untrusted emails, files and web content
Agent does
An agent on XDQ AgentOS separates untrusted content, enforces least privilege and screens outputs
Human gate
A person approves external sends, record changes and file sharing
Outcome
Useful AI feature with injection impact contained
What to measure
Actions blocked or held for approvalSensitive data detected in AI outputsOpen findings from injection testingAI features with least-privilege review done
Questions
Can prompt injection be completely prevented?

Not with current technology. Filters and careful instructions reduce it, but no method blocks every attempt. That is why the safest approach limits what the AI can access and do, so a successful manipulation has little impact.

Is prompt injection only a problem for public chatbots?

No. Internal assistants that read emails, documents or tickets are also exposed, because outsiders can write that content. Any AI that processes text from outside your company should be designed with this risk in mind.

What should I ask my team before launching an AI feature?

Ask what untrusted content it reads, what data and tools it can reach, which actions need human approval, how outputs are checked, and whether an authorised test of your own system has been done.

Keep reading
All posts →
AI Security
Securing AI agents that can take actions in your business systems
5 min readRead →
AI Security
Keeping private documents private in RAG and AI search tools
5 min readRead →
AI Security
A practical AI security checklist before you launch an AI feature
5 min readRead →

Want this fixed in your business?

Send the workflow. We reply with a scope and a fixed price in two working days.
Send a brief →