Skip to content

AI Outlooks

News and viewpoints on the latest in AI security

Primary Menu
  • Home
  • What’s new in AI
    • AI Security News
    • Agentic AI News
    • AI Regulation News
    • AI Research News
    • AI Model News
  • Solutions
  • Cybersecurity
    • AI security
    • OWASP
    • Ransomware
    • Shadow AI
  • Learn
    • AI security
    • LLM security
    • AI governance
    • AI compliance
    • Agentic AI
    • AI infrastructure
    • AI data security
  • Home
  • Cybersecurity
  • What is AI security? Definition, threats, and defenses explained
  • Cybersecurity
  • Glossary

What is AI security? Definition, threats, and defenses explained

A guide to securing AI data, models, pipelines, and agents
Staff May 8, 2026
ai security

Updated September 2026 with IBM’s 2026 breach data, the EU Digital Omnibus deadlines, and OWASP’s 2026 LLM Top 10.

Key takeaways

  • AI security protects AI systems (their training data, models, pipelines, and inference endpoints) from attack, misuse, and failure.
  • It’s distinct from AI safety, which covers failures with no attacker involved, and from using AI to defend other systems.
  • In IBM’s 2026 breach study, more than 20% of organizations reported a breach that targeted their AI models or applications.
  • Prompt injection still tops OWASP’s 2026 LLM list.

Most AI breaches don’t start with an exotic model attack. They start with an inference endpoint nobody authenticated, or an agent holding far more permissions than its job needed.

This guide covers what securing an AI system actually involves: the layers you’re protecting, the threats that hit each one, the frameworks that apply, and where to start if you’re responsible for models in production.

Jump to: Definition · AI security vs. related terms · Why it matters now · What you’re protecting · Across the lifecycle · Threats · LLM and RAG applications · Frameworks · Getting started · AI agents · FAQ

What is AI security?

AI security is the set of processes, controls, and policies that protect AI systems, including their training data, models, pipelines, and the infrastructure that serves them, from attack, theft, misuse, and failure. It applies to every stage of a model’s life, from data collection through training, deployment, and retirement.

In a security context, “AI” means artificial intelligence: machine learning models, large language models (LLMs), and the agents built on top of them. What changes is the attack surface. A traditional application fails when its code has a bug. An AI system can fail with flawless code, because its behavior comes from data and weights an attacker can influence.

That’s the practical reason AI security became its own discipline instead of a line item under application security. You can ship bug-free code and still deploy a model an attacker controls.

How is AI security different from AI safety and AI for cybersecurity?

Three terms get used interchangeably, and they answer different questions.

TermThe question it answersExample
AI securityIs the AI system protected from someone trying to attack, steal, or misuse it?An attacker poisons a fine-tuning dataset
AI safetyDoes the system behave as intended when nobody is attacking it?A model gives harmful advice on its own
AI for cybersecurityCan AI help defend the rest of the organization?A model triages SOC alerts

This guide is about the first row.

The first two overlap constantly. A model that’s easy to manipulate with adversarial inputs (a security failure) can produce unsafe outputs as a direct result (a safety failure), which is why mature AI governance programs staff both functions instead of folding one into the other.

The third row loops back to the first. A detection model in your SOC is itself an AI system, with training data, weights, and API keys an attacker would love to reach. If that’s the side of the topic you came for, our explainer on how generative AI affects security covers it.

Why does AI security matter in 2026?

Adoption and breach costs have been climbing for years. What’s new in 2026 is that attacks on AI systems themselves are showing up in breach data, and the regulatory deadlines are fixed.

Adoption outran security. Stanford’s 2026 AI Index reports organizational AI adoption at 88%. Models now sit inside loan approvals, hiring screens, medical imaging, and customer support, and every deployment adds endpoints, data flows, and credentials someone has to protect.

AI systems are now breach targets. IBM’s 2026 Cost of a Data Breach Report, based on 602 organizations breached between March 2025 and February 2026, found that more than 20% of organizations reported a breach targeting their AI models or applications. The global average breach cost hit a record $4.99 million, up 12% from the year before.

Regulation now has dates attached. The EU AI Act is in force, with fines of up to €35 million or 7% of global annual turnover for the most serious violations. The Digital Omnibus amendment, published in July 2026 as Regulation (EU) 2026/1744, moved the compliance deadline for stand-alone high-risk systems from August 2, 2026 to December 2, 2027. The obligations were deferred, and they still apply.

What exactly are you protecting in an AI system?

Securing AI is a stack. A failure at any layer undermines everything above it.

LayerWhat it protectsKey controls
DataTraining and fine-tuning data, plus documents retrieved at inferenceProvenance tracking, access controls, encryption at rest and in transit
ModelWeights, parameters, and behaviorAdversarial testing, rate limiting, API authentication, differential privacy
Infrastructure and pipelineTraining clusters, model registries, inference APIs, dependenciesDependency scanning, environment isolation, endpoint hardening
GovernanceAccountability and regulatory alignmentRisk assessment, documentation, bias testing, audit trails

Most practical defenses map to the CIA triad, applied to models and data instead of servers. Confidentiality keeps training data, weights, and prompts visible only to authorized people and systems. Integrity means nothing in the pipeline gets tampered with, by an attacker or by a misconfiguration nobody caught. Availability means inference endpoints keep answering under load or under attack.

Two controls carry most of the practical weight:

  • Role-based access control (RBAC) scopes who can read training data, push to a model registry, or call a production endpoint.
  • Differential privacy adds calibrated noise during training so no single record can be reconstructed from what the model learned. It’s a standard countermeasure to model inversion, and it costs accuracy, so the balance needs tuning per use case.

Neither control works alone. RBAC without differential privacy still lets a compromised but authorized account run inversion attacks. Differential privacy without RBAC leaves the raw training data open to anyone with access.

Encryption belongs on the same list, and it’s often missing: in IBM’s 2026 study, only 37% of breached organizations encrypted sensitive data both at rest and in transit.

For the data layer in depth, see our guide to AI data security.

Where do AI systems get attacked across the lifecycle?

Threats don’t hit “AI” in the abstract. They hit a specific system at a specific stage, and each stage needs different controls.

StageWhat can go wrongControls that matter most
Data collection and labelingPoisoned or unvetted data enters the training setSource allowlists, provenance records, anomaly detection on new data
Training and fine-tuningTampered base models or libraries, exposed training clustersVerified model sources, dependency scanning, isolated training environments
Model storage and distributionWeights stolen or swapped in the registryRegistry access controls, signing, audit logs
Deployment and inferencePrompt injection, adversarial inputs, extraction via the APIAuthentication, rate limiting, input and output filtering, monitoring
RetirementOld versions left reachable and unpatchedFormal deprecation, revoked credentials, endpoint removal

The stage teams skip is the last one. A deprecated model left running next to its replacement is still reachable, still an attack surface, and nobody’s watching it.

The inference stage gets the most attention because it’s where attackers can reach a model without any internal access, which is the territory AI runtime security covers. It’s also where the fastest-growing class of threats, the ones specific to LLM applications, lives.

What are the biggest AI security threats?

Ten threats cover most of the territory. Each one hits a different layer and needs its own defense.

ThreatWhat it doesPrimary defense
Prompt injectionCrafted input overrides an LLM’s instructionsSeparating instructions from data, least privilege, output filtering
Data poisoningCorrupts training data to change model behaviorData provenance, anomaly detection
Sensitive information disclosureThe model leaks training data, secrets, or confidential contextData minimization, output filtering, access controls
Excessive agencyAn LLM or agent takes actions beyond what its task requiresScoped permissions, human approval for high-impact actions
Adversarial attacksSubtly altered inputs flip a model’s outputAdversarial training, stress testing against perturbed inputs
Model extractionRepeated queries reconstruct a proprietary modelRate limiting, query-pattern monitoring
Model inversionModel outputs are used to reconstruct training dataDifferential privacy
Supply chain attacksA tampered model, dataset, or library enters the pipelineComponent verification, AI bills of materials (AIBOMs)
Shadow AIUnsanctioned AI tools leak data and add unmanaged attack surfaceDiscovery, policy enforcement, approved alternatives
MisconfigurationExposed endpoints, public storage buckets, default credentialsConfiguration audits, RBAC, endpoint hardening

Four of these deserve more than a table row.

Prompt injection is the signature attack on LLMs, and it holds the top spot on OWASP’s 2026 LLM list. It works because a model treats developer instructions and user-supplied text as one stream of input. The indirect version is worse: a web page, email, or document the model retrieves can carry instructions of its own. OWASP’s own guidance puts it bluntly: “it is unclear if there are fool-proof methods of prevention for prompt injection.” The realistic plan is to assume the model can be tricked and limit what a tricked model can reach.

Data poisoning is one of the hardest threats to catch after the fact. A fraud model that learned to ignore one transaction pattern looks healthy on every dashboard until someone exploits the gap. You can’t patch poison out of a trained model. You retrain, which is why provenance (knowing what went into the model and who touched it) matters more than any downstream fix.

Supply chain attacks exploit how much of a model you didn’t build. Base models from public hubs, third-party datasets, and training libraries all arrive with implicit trust. Model files deserve particular suspicion: pickle, the default serialization format for PyTorch weights, can execute arbitrary code when a file is loaded. Formats like safetensors, which store only tensor data, exist as the safer alternative. Treat an unverified model download the way you’d treat an unsigned binary.

Misconfiguration is the least glamorous threat and one of the most common. In IBM’s 2026 study, the leading causes of breaches that targeted AI were compromised APIs, applications, or plug-ins (27%) and cloud misconfigurations affecting AI workloads (27%). Neither needs a novel exploit. Both need a gap nobody closed.

For every threat in detail, with examples and mitigations, see our breakdown of AI security risks.

How do you secure LLM applications and RAG pipelines?

Secure the retrieval and output boundaries as carefully as the model itself, because that’s where these applications break. Most teams aren’t training models from scratch. They’re wrapping a hosted or open-weight LLM in an application and connecting it to company data through retrieval-augmented generation (RAG). That architecture has its own weak points.

  • Retrieval inherits your permission problems. If the vector store holds every document in the company and the retriever ignores who’s asking, the model will happily summarize a board memo for an intern. Enforce the user’s existing access rights at retrieval time, not after generation.
  • Retrieved content is untrusted input. Any document, web page, or ticket the model reads can carry an injected instruction. Keep retrieved text clearly separated from system instructions, and never let retrieved content alone trigger a privileged action.
  • Model output is untrusted too. OWASP lists output handling as its own risk for a reason. Output that flows into a browser, a shell, a SQL query, or another API needs the same validation and encoding you’d apply to user input.
  • Context is broader than the prompt. OWASP’s 2026 list renamed and broadened its system prompt leakage category into “hidden context exposure,” covering context users never see, such as system instructions, tool schemas, and retrieved data. Assume anything in the context window can be extracted by a determined user, and keep secrets out of it.

Our guides to LLM security and securing AI applications go deeper on each control.

Which frameworks govern AI security?

Six frameworks do most of the work, from voluntary guidance to binding law.

FrameworkTypeWhat it’s for
NIST AI RMFVoluntary US guidanceOrganizing AI risk into four functions: govern, map, measure, manage
EU AI ActBinding EU regulationRisk tiers, conformity assessments, transparency, human oversight
OWASP Top 10 for LLM Applications (2026)Community threat listThe ten most critical LLM application risks, with mitigations
OWASP Top 10 for Agentic ApplicationsCommunity threat listRisks specific to autonomous agents with tools, memory, and credentials
ISO/IEC 42001Certifiable management system standardAn auditable AI management program that sits alongside ISO/IEC 27001
MITRE ATLASAdversary knowledge baseReal-world adversarial ML tactics, structured like MITRE ATT&CK

NIST AI RMF. NIST describes it as “intended for voluntary use,” and it’s where we’d suggest most US programs start, because its four functions give every other control on this page a place to live.

EU AI Act. It reaches any organization that places an AI system on the EU market or whose system’s output is used in the EU. After the Digital Omnibus, stand-alone high-risk systems (hiring tools, credit scoring, biometric identification, and similar Annex III uses) must comply by December 2, 2027. High-risk AI embedded in regulated products such as medical devices has until August 2, 2028. The Article 50 transparency obligations still apply from August 2, 2026, with a short transition period for some systems already on the market.

OWASP. The 2026 edition of the LLM Top 10, published in August 2026, keeps prompt injection first and sensitive information disclosure second. Excessive agency jumped to third, and system prompt leakage was folded into the broader hidden context exposure category. The separate Top 10 for Agentic Applications, released in December 2025, covers risks such as agent goal hijacking and tool misuse. If you’re building agents, read both.

ISO/IEC 42001 is the one to pick when you need a certification a board or a customer will recognize. Google’s Secure AI Framework (SAIF), a conceptual framework built on six core elements, is worth reading alongside it, and our overview of AI governance frameworks compares the governance-side options in more depth.

How do you start an AI security program?

Start with visibility, then work outward. The order matters more than the tooling.

  1. Inventory every AI asset. Models, datasets, pipelines, vector stores, API keys, and the AI tools employees already use without approval. AI security posture management (AI-SPM) tools automate the discovery. Every later step depends on this map.
  2. Threat-model each system. Decide which of the threats above actually apply, and at which lifecycle stage. A fine-tuned internal classifier and a customer-facing agent with tool access have very different risk profiles.
  3. Lock down access. Apply least-privilege access controls to data stores, model registries, and inference endpoints. Agents get the minimum permissions their task needs, and every tool call gets logged.
  4. Test like an attacker. AI red teaming needs two skill sets that rarely live in one person: someone who understands networks and APIs, and someone who understands model behavior. MITRE ATLAS is a solid playbook to build around.
  5. Monitor and plan the response. Track performance, input distribution, and output patterns in production. A latency spike could be a denial-of-service attempt or a config problem, and an odd output pattern could be manipulation or plain drift. Decide in advance who can pull a model offline, and what you roll back to, before you need to.
  6. Retire old models on purpose. Trace every deployed model to a training run and dataset snapshot (good MLOps tooling records this already), gate promotion to production behind security review, and revoke access to deprecated versions.

For the full control-by-control checklist, see AI security best practices.

What changes when AI agents enter the picture?

Agents turn a text risk into an action risk. A prompt-injected chatbot writes a bad answer. A prompt-injected agent can send the email, run the query, or push the code.

That’s the reason excessive agency climbed OWASP’s 2026 list, and the reason the Model Context Protocol (MCP), an open standard for connecting AI applications to tools and data, has become a security topic of its own. CVE-2025-6514, a flaw in the mcp-remote client, carried a critical 9.6 CVSS score and allowed remote code execution. Researchers have since found command-injection bugs in other MCP servers too, including ones for Git and the Serverless Framework.

The guardrails are familiar, just applied more strictly: permissions scoped per tool, instructions kept apart from untrusted content, human approval for irreversible actions, and monitoring of what agents actually do. Our agentic AI security guide covers each of these, and the agentic AI security checklist turns them into pre-deployment gates.

Frequently asked questions

What does AI mean in security?

In security, AI stands for artificial intelligence. AI security specifically means protecting AI systems (models, training data, pipelines, and the endpoints that serve them) from attack and misuse. Using AI tools to defend other systems is a related but separate field, usually called AI for cybersecurity.

Which are two security risks of generative AI?

Prompt injection and sensitive information disclosure, the top two entries on OWASP’s 2026 LLM Top 10. Prompt injection lets crafted input override a model’s instructions. Sensitive information disclosure is a model revealing training data, secrets, or confidential context it has access to.

What is the biggest security risk with using AI?

For LLM applications, prompt injection ranks first on OWASP’s 2026 list, and no complete technical fix exists yet. Data poisoning is among the hardest to detect, since a poisoned model can behave normally for months before the flaw gets exploited.

Which AI systems count as high-risk under the EU AI Act?

AI used in areas such as critical infrastructure, employment and worker management, education, access to essential services like credit, law enforcement, migration and border control, and the administration of justice. Stand-alone high-risk systems must comply by December 2, 2027, and they face conformity assessments, human oversight requirements, and detailed technical documentation.

What is shadow AI and how is it addressed?

Shadow AI is the use of AI tools or models without the security team’s knowledge or approval, like pasting proprietary code into a public chatbot. The response starts with finding what’s already in use, then blocking high-risk services, offering approved alternatives, and teaching employees what data never goes into a public tool.

What is AI security posture management?

AI security posture management (AI-SPM) continuously inventories an organization’s AI assets, including models, datasets, pipelines, and AI-enabled applications, and flags misconfigurations, shadow deployments, and compliance gaps against frameworks like the NIST AI RMF.

Are AI applications safe to use?

They’re as safe as the controls around them. An AI application with protected data, authenticated APIs, scoped permissions, and active monitoring is reasonably safe, and the same application without those controls isn’t. The implementation and the oversight determine the outcome.

Next steps

Start small. Pick one production AI system, trace it through the lifecycle table above, and write down who can reach it at each stage. Fix the highest-risk gap before you expand.

For implementation detail, NIST’s AI Risk Management Framework resources walk through each function, and the OWASP GenAI Security Project publishes free mitigation guidance for every risk on both of its Top 10 lists. If you operate in the EU, our EU AI Act compliance checklist maps the obligations to engineering tasks.

Continue Reading

Previous: Vibe coding security risks: A guide for organizations learning to build
Next: What is AI governance?

More in AI security

safety
  • Guide

How to secure AI models before someone else finds the gap

Staff September 11, 2026
An AI model is not just code with weights attached. Securing it means locking down the training...
Read more Read more about How to secure AI models before someone else finds the gap
How to Secure AI Applications ai data security
  • Guide

How to Secure AI Applications

Staff September 8, 2026
The agentic AI security checklist: 12 controls to verify before you deploy ai checklist
  • Guide

The agentic AI security checklist: 12 controls to verify before you deploy

Staff September 4, 2026
LLM jailbreak defense: techniques that actually stop attacks Jailbreak defense
  • Cybersecurity

LLM jailbreak defense: techniques that actually stop attacks

Staff July 28, 2026
How do enterprises secure AI data pipelines at production scale? safety
  • Cybersecurity

How do enterprises secure AI data pipelines at production scale?

Staff July 28, 2026

Glossary

graph
  • Glossary

What is a context graph? How AI agents use one to make decisions

Staff September 10, 2026
A context graph gives AI agents a record of past decisions, policies, and exceptions to cite as...
Read more Read more about What is a context graph? How AI agents use one to make decisions
What is a model router for AI? A plain-English guide model router
  • LLMs

What is a model router for AI? A plain-English guide

Staff July 30, 2026
What is agentic SDLC?
  • Glossary

What is agentic SDLC?

Staff July 22, 2026
What is a model inversion attack?
  • Glossary

What is a model inversion attack?

Staff July 22, 2026
LLM system prompt leakage: what it is, how it works, and how to stop it agentic ai
  • Glossary

LLM system prompt leakage: what it is, how it works, and how to stop it

Staff July 15, 2026

Guides

How to secure AI models before someone else finds the gap safety
  • Guide

How to secure AI models before someone else finds the gap

Staff September 11, 2026
How companies govern agentic AI judge
  • Guide

How companies govern agentic AI

Staff September 10, 2026
EU AI Act Compliance Checklist: 11 Steps for Engineering and Product Teams ai checklist
  • Guide

EU AI Act Compliance Checklist: 11 Steps for Engineering and Product Teams

Staff September 9, 2026
How to Secure AI Applications ai data security
  • Guide

How to Secure AI Applications

Staff September 8, 2026
The AI agent deployment checklist: 34 gates to clear before, during, and after launch ai checklist
  • Guide

The AI agent deployment checklist: 34 gates to clear before, during, and after launch

Staff September 6, 2026
The agentic AI security checklist: 12 controls to verify before you deploy ai checklist
  • Guide

The agentic AI security checklist: 12 controls to verify before you deploy

Staff September 4, 2026
  • Home
  • What’s new in AI
  • Solutions
  • Cybersecurity
  • LLMs
  • Glossary
  • Guides
  • Learn
  • About
  • Contact
  • Privacy Policy
  • Sitemap
Copyright © AI Outlooks All rights reserved. | by AF themes.