New AI Risks and Exploits for Tech Leaders.
Prompt injection, agent data exfiltration, poisoned context, hallucinated packages and AI-assisted social engineering: the risk classes and defences.
Share this post

A different kind of attack surface
AI does not make the old threats disappear. It adds new ones, because a model that follows instructions in natural language can be given instructions by anyone whose text it reads. I will stay at the level of risk classes and defences here. The point is for leaders to recognise the patterns, not to learn how to exploit them.
Prompt injection
OWASP lists prompt injection first in its Top 10 for LLM Applications (2025). It describes inputs that alter a model's behaviour in unintended ways, and distinguishes direct injection, where the user's own input does it, from indirect injection, where the model ingests external content such as a web page or file that contains instructions.
The UK's NCSC has argued that prompt injection should not be treated like SQL injection, because there is no equivalent of a parameterised query: models do not cleanly separate instructions from data. Its advice is to reduce the likelihood and the impact, and to treat the model as something that can be confused. Both OWASP and the NCSC say there is no foolproof prevention, which is why the design of the surrounding system matters so much.
Data exfiltration through tools and agents
Simon Willison has described a combination he calls the lethal trifecta: an agent with access to private data, exposure to untrusted content and the ability to communicate externally. If all three are present, manipulated content can lead the agent to send private data somewhere it should not go. The practical advice is to avoid combining all three in one agent or toolset.
Connected tools raise the stakes. The Model Context Protocol security guidance, for example, discusses confused deputy problems and warns against token passthrough, where a server accepts tokens that were not issued for it. Any tool server you connect is code with access, and should be reviewed like a dependency.
Poisoned context and retrieval
Assistants that retrieve from wikis, tickets, repositories, documents or the open web inherit the trustworthiness of that content. If someone can write to a source the model reads, they can influence what it says and does. OWASP groups related issues under data and model poisoning and vector and embedding weaknesses.
- •Know which sources feed your assistants and who can edit them
- •Label and separate untrusted content from instructions where the tooling allows it
- •Apply access controls at retrieval time so a user cannot reach data through the assistant that they could not reach directly
Hallucinated and malicious packages
Code assistants sometimes recommend packages that do not exist. A 2024 research paper by Spracklen and colleagues tested 16 code-generating models across 576,000 samples and found 205,474 unique hallucinated package names, with average hallucination rates of at least 5.2% for commercial models and 21.7% for open-source models. The risk, often called slopsquatting, is that an attacker registers a name a model is likely to invent and waits for someone to install it.
The defence is process rather than cleverness: verify any new dependency before installing it, use lockfiles and an allow-list or internal registry where practical, scan dependencies and review dependency changes in pull requests.
Model and tool supply chain
Models, plug-ins, extensions, tool servers and datasets are all part of your supply chain. OWASP lists supply chain as its own risk. Prefer sources you can verify, pin versions, review what permissions a tool requests and treat downloaded model artefacts and community tools with the same suspicion as any third-party code.
AI-accelerated attacks and social engineering
Attackers can use the same tools as defenders. Plausible phishing in any language, convincing voice and video impersonation and faster analysis of exposed systems all lower the cost of targeting people and organisations. I would not overstate this with numbers, but the direction is clear: messages and calls that look and sound right are no longer evidence that they are genuine.
For a business that moves money, the practical response is procedural. Require out-of-band verification for payment changes and sensitive requests, use approval thresholds and dual control, and train people to treat urgency plus authority as a prompt to verify. That is particularly relevant in payments-heavy sectors such as iGaming.
Takeaways
- •Assume that anything an AI system reads can try to instruct it, and limit what it can do accordingly
- •Avoid putting private data, untrusted content and an outbound channel in one agent
- •Treat tool servers, plug-ins and models as supply chain, and verify new packages before installing them
- •Update fraud and verification procedures for convincing voice, video and text impersonation
- •Test your own systems adversarially, and rehearse the response before you need it