AI Security
What is AI Security?
AI security is the protection of AI models, applications, agents, data and infrastructure against attacks and misuse, such as prompt injection, data poisoning, model theft and leakage of sensitive information.
Updated December 2026 · 2 min read
AI security protects AI systems from being attacked, manipulated or misused, and protects the organization from the new ways AI can be used against it. AI brings familiar security problems, such as stolen credentials and unpatched software, and new ones that traditional controls were not built for: instructions hidden in documents that hijack an AI assistant, training data that has been deliberately poisoned and models that can be tricked into revealing confidential information.
Shared references have developed quickly. The OWASP Top 10 for Large Language Model Applications, first published in 2023 and updated for 2025, lists the most critical security risks for applications built on language models. MITRE ATLAS catalogs real-world tactics used to attack AI systems, and NIST has published guidance on adversarial machine learning.
Common AI security threats
- Prompt injection: instructions placed in user input or in content the AI processes, such as web pages or emails, that override its intended behavior.
- Sensitive data leakage: AI revealing confidential data from its training, context or connected systems.
- Excessive agency: agents with more permissions than they need, which attackers can exploit. See agentic AI governance.
- Data and model poisoning: corrupting training or fine-tuning data so the model behaves badly in specific situations.
- Supply chain attacks: compromised models, datasets or libraries from third parties. See AI bill of materials.
- Model theft and extraction: stealing model weights, or copying a model's behavior by querying it at scale.
- Evasion: inputs crafted to fool a model, such as changes to a transaction that slip past a fraud detector.
- Denial of service and cost attacks: overwhelming AI systems or running up usage costs.
- AI-enabled attacks: attackers using AI for more convincing phishing, deepfake voice fraud or faster vulnerability discovery.
How to secure AI systems
- Threat modeling for each significant AI system, considering its data, tools, users and connections, using resources such as the OWASP list and MITRE ATLAS.
- Least privilege for AI systems and agents, enforced by the systems they connect to.
- Treating all content AI reads as untrusted, including documents and web pages.
- Input and output filtering. See AI guardrails.
- Access controls on data that AI can retrieve.
- Secure supply chain: trusted model sources, scanning model files and tracking dependencies.
- Logging and monitoring of AI interactions and actions.
- Adversarial testing. See AI red teaming.
AI security example
Consider a hypothetical company that deploys an AI assistant able to read employees' email and calendars and draft replies. A security review threat-models the system and identifies a risk: an external sender could include hidden instructions in an email telling the assistant to forward sensitive messages. The team limits the assistant so it cannot send email without the user's explicit confirmation, blocks it from forwarding to external addresses, marks external email content as untrusted in its prompts and logs every action. Red team testing then confirms that injected instructions in emails no longer result in data leaving the company.
Common pitfalls
- Assuming the model provider handles security. Providers secure the model. The application, data access and permissions are the organization's responsibility.
- Relying on the model to refuse attacks, rather than limiting what it can do.
- Connecting AI to tools and data quickly without reviewing permissions.
AI security extends existing frameworks such as the NIST Cybersecurity Framework, and forms one layer of AI TRiSM.
Frequently asked questions
What are the biggest security threats to AI systems?
Leading AI security threats include prompt injection, sensitive data leakage, agents with excessive permissions, poisoning of training data, compromised third-party models or libraries, model theft and inputs crafted to fool a model. Attackers can also overload systems or run up usage costs, and they use AI themselves for convincing phishing and deepfake voice fraud.
Who is responsible for AI security, the model provider or the organization using it?
Both, for different layers. The model provider secures the model itself, but the application, data access and permissions are the organization's responsibility. Assuming the provider covers everything is a common AI security mistake, as is relying on the model to refuse attacks rather than limiting what it can access and do.
Which resources help with AI security threat modeling?
The OWASP Top 10 for Large Language Model Applications, first published in 2023 and updated for 2025, lists the most serious risks for applications built on language models. MITRE ATLAS catalogs real-world tactics used against AI systems, and NIST has published guidance on adversarial machine learning. These extend frameworks such as the NIST Cybersecurity Framework.
Related terms
Prompt Injection
Hidden or direct instructions that trick an AI system into ignoring its rules.
Agentic AI Governance
Keeping AI agents that act on their own safe, authorized and accountable.
AI Bill of Materials (AIBOM)
An inventory of the models, datasets and libraries inside an AI system.
AI Guardrails
Controls that limit what an AI system can take in, produce or do.