AI security: the risks every company should plan for

A practical guide to AI security for companies: prompt injection, data leaks, overpowered agents, poisoned supply chains, AI-assisted attacks and runaway costs, with the controls that reduce each risk and a 90-day plan.

13 min read

Abstract lime network graphic on a dark grid

AI brings new security risks alongside its benefits. This guide explains the risks every company should plan for, from prompt injection and data leaks to AI agents with too much access and faster AI-assisted attacks, and sets out the controls and frameworks that reduce them.

> Key points

  • Prompt injection is the top risk on OWASP’s 2025 and 2026 lists for AI applications, and there is no complete technical fix, so limit what AI can do after reading untrusted content.
  • AI agents raise the stakes because they act. Give each one its own identity, minimum permissions, logging and a named owner.
  • Attackers use AI too. Faster exploitation, AI-written phishing and deepfake fraud mean shorter patching windows and call-back checks for payment requests.

Why AI security is different

Security teams already know how to protect servers, laptops and cloud accounts. AI adds three new problems on top. First, AI systems can be tricked through the content they read, not just through code flaws. Second, attackers now use AI to find and exploit weaknesses faster than before. Third, employees use AI tools that may send company data to services the security team has never reviewed.

None of this means AI is too risky to use. It means the controls need to be planned before rollout rather than added after an incident. This guide sets out the risks that matter most for a typical company, how each one shows up in practice, and the specific steps that reduce it. It draws on the main public frameworks, including the OWASP lists of top risks for AI applications and agents and the NIST AI Risk Management Framework.

If you need a refresher on the underlying technology, start with our explainers on large language models and AI agents, or look up terms in our AI glossary.

The three sides of AI risk

  • Attacks on your AI. Chatbots, copilots and agents you build or deploy can be manipulated, leak data or take harmful actions.
  • Attacks using AI. Criminals use AI to write phishing, clone voices, scan for vulnerabilities and automate intrusions.
  • Risk from your own use of AI. Staff paste confidential material into public tools, rely on wrong answers or connect agents to systems without approval.

Most companies face all three at once. The order of priority depends on how you use AI. A company that only uses an approved assistant should focus first on data handling and AI-assisted attacks. A company building customer-facing agents needs to treat prompt injection and agent permissions as top risks.

Risk 1: prompt injection

Prompt injection is the top risk in both the 2025 and 2026 editions of the OWASP Top 10 for LLM applications. It happens when text the model reads changes what it does. In a direct attack, a user types instructions that override the system’s rules. In an indirect attack, the instructions are hidden in a web page, email, document or file that the AI processes on someone’s behalf.

Indirect injection is the more serious version for businesses. An assistant that summarizes inbound email can be told, by a line hidden in one of those emails, to forward other messages or reveal data. An agent that browses the web can pick up instructions from a malicious page. Because language models do not reliably separate instructions from data, there is no complete technical fix today.

  • Treat everything an AI reads from outside, including email, web pages and uploaded files, as untrusted input.
  • Limit what the AI can do after reading untrusted content. An assistant that can only draft, not send, does far less damage when tricked.
  • Require human approval for actions that move money, share data externally or change access.
  • Test your applications with injection attempts before launch and after every major change.

Risk 2: sensitive data leaking out

Sensitive information disclosure is second on the OWASP list in both editions. Data can leak in two directions: staff put confidential material into AI tools, and AI systems reveal data to people who should not see it.

The first route is often called shadow AI: employees using personal accounts on public tools for work because they are faster than approved ones. The second route is common in enterprise rollouts. An assistant connected to company files can surface any document a user technically has permission to open, which exposes years of oversharing in shared drives.

  • Provide an approved AI tool on a business plan with clear data terms, so staff have no reason to use personal accounts.
  • Publish a short rule on what data may go into which tools, with examples.
  • Review file-sharing permissions before connecting an assistant to company documents.
  • Use data loss prevention controls where your tools support them, and check vendor terms on training, retention and storage location.

Risk 3: agents with too much power

Excessive agency, meaning an AI system has more permissions or autonomy than its task needs, moved up to third place in OWASP’s 2026 LLM list. OWASP also published a separate Top 10 for Agentic Applications for 2026, led by agent goal hijack, tool misuse and exploitation, and identity and privilege abuse.

Agents are useful because they act: they send messages, update records, run code and call other services. That is also what makes a successful attack costly. A hijacked agent with broad access can do in minutes what a human attacker would take days to do. Banks have already reacted. Several large US banks are limiting agents’ access to critical systems and recording what they do, as we reported in our story on bank controls.

  • Give each agent its own identity and the minimum permissions its task needs. Never reuse an administrator account.
  • Log every action an agent takes, with enough detail to reconstruct what happened.
  • Set limits on spending, message volume and data access, and build a way to stop an agent instantly.
  • Keep a named person accountable for each agent in production.

Risk 4: poisoned models, data and supply chain

Supply chain risk and data and model poisoning both appear in OWASP’s top five. AI systems depend on models, datasets, plugins and libraries from outside the company, and any of them can be compromised.

Examples include a downloaded open-source model that has been tampered with, a plugin or connector that requests more access than it needs, or training and retrieval data that an attacker has seeded with false or malicious content. In agentic systems, OWASP lists agentic supply chain vulnerabilities as a separate top risk, because agents pull in tools and other agents at run time.

  • Keep an inventory of the models, plugins, connectors and datasets in use, and who approved each one.
  • Download models only from trusted sources and verify them where signatures or checksums are available.
  • Review the permissions requested by every AI plugin or connector before enabling it.
  • Control who can change the documents your AI retrieves from, as you would for any production data.

Risk 5: unsafe output and code execution

Improper output handling covers what happens when AI output is passed straight into other systems without checks. OWASP’s agentic list names unexpected code execution as a top risk in its own right.

If an AI writes a database query, a script or a web page and that output runs automatically, a manipulated model can inject malicious commands. AI coding assistants raise a related issue: generated code can contain vulnerabilities or pull in packages that do not exist, which attackers can then register under those names.

  • Treat AI output like user input: validate, sanitize and sandbox it before it runs.
  • Keep code review mandatory for AI-written changes, and scan them with the same security tools as human code.
  • Check that every package an AI suggests is real and maintained before installing it.

Risk 6: faster, cheaper attacks against you

Attackers use AI too. It helps them write convincing phishing in any language, clone voices for fraud, and scan for and exploit known vulnerabilities at scale. Engineering firm Arup confirmed in 2024 that it lost about $25 million after an employee in Hong Kong was deceived by a video call featuring deepfake versions of senior colleagues.

Automated attack tools are now common. In November the European Commission disclosed a cyberattack it linked to an AI attack tool, which we covered in our report on the Commission breach. The practical effect is that the time between a vulnerability becoming public and attackers exploiting it keeps shrinking, so patching windows measured in weeks are no longer safe for internet-facing systems.

  • Patch internet-facing systems as fast as possible, ideally within days for critical flaws, and track known exploited vulnerabilities.
  • Require a second channel, such as a call back to a known number, before acting on any payment or credential request, however senior the requester appears.
  • Update phishing training to include AI-written messages and voice and video impersonation.
  • Consider tools that reduce exposure while patches are prepared. OpenAI and Cisco’s open-source Shirudo, covered in our AI tools roundup, is one example.

Risk 7: runaway costs and denial of service

Unbounded consumption is on both OWASP lists. AI services charge by usage, so an attacker who can make your application run huge or repeated requests can run up large bills or make the service unavailable.

The same applies to well-meaning use. An agent stuck in a loop or a script that calls a model thousands of times can generate costs nobody approved. OWASP’s agentic list also includes cascading failures, where one agent’s error spreads through connected systems.

  • Set rate limits and spending caps on every AI service and API key.
  • Alert on unusual usage, and review bills weekly during early rollout.
  • Design agents to fail safely and stop after a set number of steps or errors.

Risk 8: wrong answers treated as facts

Misinformation is on OWASP’s list because AI systems produce confident, plausible and sometimes false answers. In a business setting, the risk is less about public disinformation and more about wrong figures in a report, invented legal citations or a support bot that promises customers something the company does not offer.

These errors become security and legal problems when they reach customers, regulators or financial systems. They are hardest to catch when output looks routine and nobody is assigned to check it.

  • Decide which outputs need human review before use, starting with anything customer-facing, legal or financial.
  • Ground assistants in approved company sources and require them to cite where answers came from.
  • Tell customers when they are dealing with AI, and give them a route to a person.

Risk 9: theft of models and know-how

Companies that build or fine-tune models face a further risk: competitors or attackers copying them. This can happen through stolen model files or through distillation, where someone queries a model at scale to train a copy. OpenAI described its own safeguards against adversarial distillation this month, which we covered in our report.

Most companies do not train their own models, but many hold valuable prompts, fine-tuned models, retrieval datasets and evaluation results. These deserve the same protection as source code.

  • Restrict and log access to model weights, fine-tuning data and system prompts.
  • Monitor APIs for patterns of systematic extraction, such as unusually broad or repetitive queries.

AI-agent attacks are already succeeding

The shift to automated, AI-driven attacks is no longer theoretical. On November 24, 2026, Switzerland’s National Cyber Security Centre reported its first confirmed cases of attacks on Swiss organisations using AI agents, affecting several organisations and critical infrastructure operators in at least two sectors. It said that in all the attacks known to it, the use of AI agents led to the successful compromise of the victim’s systems. It did not say how many cases that covered.

The NCSC’s advice is a useful baseline for any company: install critical security updates for internet-facing systems as soon as possible and no later than 24 hours after release, limit what is exposed to the internet, use multi-factor authentication or passkeys for every internet-accessible internal resource without exception, apply least privilege, and test regularly. A day later, the Shadowserver Foundation reported about 4,200 internet-exposed instances of AI attack frameworks on November 23, with more than a third in North America. Exposure does not prove every instance was attacking, but its honeypots recorded more than 10,000 events from over 80 addresses running these tools in two weeks.

For most companies, the lesson is not to buy an AI security product. It is to do the basics faster: patch quickly, reduce exposure, enforce strong authentication and watch for automated probing.

Who should own AI security

AI risk cuts across security, legal, data protection, procurement and the business teams that use the tools. When nobody owns it, gaps appear between them. A workable model for most companies is a small cross-functional group with a single accountable lead, usually in security or risk, that approves new AI tools, keeps the inventory of AI systems and agents, sets the use policy and reviews incidents.

The group does not need to slow adoption. Its job is to make the safe route the easy route: a quick approval process for low-risk tools, clear rules for higher-risk uses such as customer-facing agents or AI that touches personal data, and a regular report to leadership on what is in use and what has gone wrong.

The frameworks worth knowing

You do not need to adopt every framework, but these three give security teams a shared language. OWASP Top 10 for LLM Applications 2026 lists the ten most critical risks for applications built on language models:

  • LLM01 Prompt Injection
  • LLM02 Sensitive Information Disclosure
  • LLM03 Excessive Agency
  • LLM04 Supply Chain
  • LLM05 Data and Model Poisoning
  • LLM06 Unbounded Consumption
  • LLM07 Misinformation
  • LLM08 Hidden Context Exposure (new in 2026)
  • LLM09 Vector and Embedding Weaknesses
  • LLM10 Improper Output Handling

The OWASP Top 10 for Agentic Applications 2026 covers systems that act on their own: agent goal hijack, tool misuse and exploitation, identity and privilege abuse, agentic supply chain vulnerabilities, unexpected code execution, memory and context poisoning, insecure inter-agent communication, cascading failures, human-agent trust exploitation and rogue agents.

The NIST AI Risk Management Framework, released on January 26, 2023, organizes AI risk work into four functions: Govern, Map, Measure and Manage. NIST added a Generative AI Profile (NIST AI 600-1) on July 26, 2024, and says the framework is being revised as part of the White House AI Action Plan. It is voluntary in the US, but it is widely used as a reference by companies, auditors and regulators.

A 90-day plan for most companies

Days 1 to 30: find out what you have.

  • List the AI tools in use, including those staff use without approval. A short anonymous survey often reveals more than network logs.
  • List every AI system connected to company data or able to take actions, and who owns it.
  • Pick an approved assistant on a business plan and publish a one-page AI use policy.

Days 31 to 60: close the biggest gaps.

  • Clean up file-sharing permissions before connecting assistants to company documents.
  • Give each agent its own identity with minimum permissions, logging and spending limits.
  • Add a call-back rule for payment and credential requests, and update phishing training.
  • Shorten patching timelines for internet-facing systems.

Days 61 to 90: test and govern.

  • Run prompt injection and misuse tests on any customer-facing AI before and after changes.
  • Add AI incidents to your incident response plan, including how to shut down an agent quickly.
  • Set a regular review, at least quarterly, of AI tools, permissions and vendor terms.

For the wider business case and governance setup, see our guide to AI in business.

Questions to ask every AI vendor

  • Is our data used to train your models, and can we opt out by contract?
  • Where is our data stored and for how long, and can we set retention to zero?
  • Do you support single sign-on, role-based access and audit logs?
  • What can the AI do without user approval, and can we restrict it?
  • How do you test for prompt injection, and how will you notify us of incidents?
  • Which third-party models or services process our data?

Frequently asked questions

What is the biggest AI security risk for companies? For most companies it is data leaking through unapproved AI use, followed by AI-assisted phishing and fraud. For companies building AI applications or agents, prompt injection is the top risk, and it ranks first on OWASP’s list.

Can prompt injection be fully prevented? Not today. The practical defense is to limit what an AI system can do after reading untrusted content, and to require human approval for high-impact actions.

Should we ban public AI tools? Bans tend to push use underground. A better approach is to provide an approved tool with proper data terms, explain what data is off-limits and monitor for exceptions.

Are AI agents safe to use at work? They can be, with limits. Start with low-risk tasks, give agents minimum permissions and their own identities, log everything and keep a person accountable for each one.

Which framework should we start with? Use the OWASP lists for practical technical risks and the NIST AI Risk Management Framework for governance. Both are free.

What it means

For business

AI security is mostly good security applied to new systems: inventory, least privilege, logging, patching and human approval for high-impact actions. Plan it before rollout.

For industry

Security frameworks are catching up with agents. Expect OWASP and NIST guidance to shape vendor contracts, audits and regulation.

For workers

Staff need clear rules on approved AI tools and data, and training to spot AI-written phishing and voice or video impersonation.

Sources