By Rebyc security experts · · 3 min read

Large language models (LLMs) now sit in customer service, internal knowledge bases and developer tools. That creates a new attack surface that classic security checks were not designed for. The OWASP Top 10 for LLM applications (2025 version) is a good starting point for discussing these risks. We go through all ten and look closer at the four we encounter most often.
The ten risks at a glance
- Prompt injection: input or external content that steers the model in unintended ways.
- Sensitive information disclosure: the model reveals personal data, trade secrets or internal data.
- Supply chain: vulnerable or tampered models, datasets and third-party plug-ins.
- Data and model poisoning: manipulation of training, fine-tuning or embedding data.
- Improper output handling: model output is passed to other systems without checks.
- Excessive agency: the model is given more functions, permissions or autonomy than necessary.
- System prompt leakage: instructions and secrets in the system prompt become visible.
- Vector and embedding weaknesses: insufficient access control in RAG systems.
- Misinformation: incorrect or fabricated output that people or systems rely on.
- Unbounded consumption: abuse that leads to high costs, outages or model theft.
Four risks we see most often
Prompt injection
In direct prompt injection a user types instructions that bypass the intended behaviour. Indirect prompt injection is harder to spot: the instruction is hidden in a document, web page or email the model processes. A model cannot reliably separate instructions from data. Treat everything the model receives as untrusted, give the model as few permissions as possible and have a human approve high-impact actions.
Sensitive information disclosure
A chatbot with access to all company documents will show those documents to any user who phrases the question cleverly enough. Apply access control at the user level, not the application level: the RAG layer may only retrieve what the person asking is allowed to read. Keep secrets out of prompts and filter input and output for sensitive data.
Excessive agency
As soon as a model can send email, change tickets or run code, a misleading prompt becomes a real action. Give the model only the tools it needs, with narrowly scoped tokens and human confirmation for irreversible actions.
Improper output handling
Model output is user input from a clever attacker. If it is placed directly into a SQL query, shell command or web page, the familiar vulnerabilities appear, such as SQL injection and cross-site scripting. Validate, encode and parameterise output as strictly as input from a user.
Where to start
- Make an inventory of all AI applications, including shadow AI that employees use themselves.
- Run a threat model per application: which data, which tools, which permissions?
- Test the application with targeted red teaming on the Top 10 risks, not only with a standard penetration test.
- Set a policy on what may and may not be entered into a model and who is accountable.
- Monitor usage and cost, and have a route to report and investigate incidents.
Questions about this topic?
Book a free call with one of our experts and discuss what this means for your organisation.
Book a free call