Prompt injection: how to protect chatbots and AI agents (OWASP Top 10 for LLMs)
What prompt injection is, why it tops the OWASP Top 10 for LLM Applications and which defences actually work for chatbots and AI agents.
5 min read
Practical rules for using generative AI at work: which accounts to choose, what not to paste into prompts, a simple internal policy, GDPR and shadow AI.
Using ChatGPT, Claude or Gemini at work is safe if three conditions are met: company accounts with a verified contract and settings, clear rules on which data can be used, and controlled integrations for sensitive data. The most common risk is not the model itself but copying and pasting confidential information into personal tools, beyond any control.
Many people already use generative AI to write emails, summarise documents or analyse data, often with their own personal account. The result is that contracts, customer data, proposals and code end up in services the company did not choose, under terms nobody has read. Banning everything rarely works: the use simply moves to where it cannot be seen.
| Personal account | Business or enterprise plan | API or dedicated integration | |
|---|---|---|---|
| Use of data for training | Depends on the provider and settings | Excluded by default with the main providers | Excluded by default with the main providers |
| Company control | None | Centralised administration, managed access and offboarding | Complete: you decide on data, flows and permissions |
| Data processing contract | Standard terms of use | Data processing agreement available | Data processing agreement available |
| Data retention | According to the terms of service | Configurable depending on the plan | Configurable, down to zero retention where offered |
| Suitable for | Personal use, public data | Teams’ day-to-day work | Business processes and sensitive data |
Terms change over time: before choosing, read the provider’s data processing agreement and check the account settings.
An effective internal policy fits on one page and answers five questions:
When AI needs to work on sensitive company data, the answer is a properly designed integration, not a chat. In the systems we build, we apply a few consistent rules:
In the property management platform with AI agents, for example, every query is scoped to the firm and permissions are checked on every AI call.
If you want to bring generative AI to your company’s data without losing control of it, we can design the integration with you.
Only with an appropriate legal basis, a contract appointing the provider as data processor, safeguards for transfers outside the EU, and after informing the people concerned. In practice, it is best to minimise: pseudonymise the data, send only what is needed and prefer controlled integrations to chat tools.
Usually not: people keep using it from personal accounts, beyond any control. It works better to offer approved tools with company accounts, clear rules and a simple way to ask whether a particular use is allowed.
Only with tools and accounts approved by the company that contractually guarantee confidentiality and that the code will not be used for training, and never together with keys, passwords or production data.
What prompt injection is, why it tops the OWASP Top 10 for LLM Applications and which defences actually work for chatbots and AI agents.
5 min read
Penetration testing guide: how it differs from a vulnerability assessment, types, phases, what the report must contain, how often to test and how to prepare.
4 min read
What an AI agent is, how it differs from a chatbot, which SMB processes it can handle and how to introduce it with permissions, controls and costs in check.
6 min read