️ Pillar Guide · P1 Attack Vectors · The Foundation

What Is AI Security?
The Complete Threat Landscape (2026)

AI systems don't just store data — they interpret instructions, retrieve information, call external tools, and make autonomous decisions. That changes everything about how they can be attacked. This guide maps the complete AI security landscape: every major attack category, every defense layer, and every compliance obligation your organisation needs to understand.

6
Major attack categories
5
Defense layers
99+
Deep-dive guides
2026
Threat landscape
AIZA-HexTyx Knowledge Pillars — You are here

Why AI Security Is Different

Traditional cybersecurity protects deterministic systems — a web server either accepts a valid request or it doesn't. The same input always produces the same output. Defences can be built around known attack signatures, fixed code paths, and auditable access controls.

AI systems are non-deterministic. They interpret instructions probabilistically, generate outputs based on context, retrieve information dynamically, and increasingly take autonomous actions. This creates attack surfaces that traditional security tools are structurally blind to:

The key insight: AI security failures don't look like traditional security incidents. An AI data breach may produce no firewall alerts, no malware detections, no authentication anomalies, and no unusual network traffic. The attack happened entirely in the reasoning layer — and without AI-specific monitoring, the first indication is a user noticing something strange in a response.

The Six Major AI Attack Categories

Category 01

Prompt-Level Attacks

The most common AI attack category. Adversarial instructions override intended behaviour — delivered directly, hidden in retrieved content, or embedded in non-text media.

Direct prompt injection — user-supplied override instructions
Indirect injection — malicious instructions in retrieved documents
Multimodal injection — instructions hidden in images, PDFs, audio
Jailbreaking — safety control bypass via framing and encoding
Persistent injection — instructions stored in agent memory
Category 02

RAG & Knowledge Base Attacks

Exploitation of retrieval-augmented systems — the layer that gives AI access to enterprise documents, databases, and knowledge stores.

RAG poisoning — malicious content injected into knowledge base
Retrieval manipulation — results influenced via crafted queries
Cross-tenant leakage — one customer's data surfaces for another
Access control failures — restricted documents retrieved by unauthorised users
Vector database exploitation — embeddings reconstructed to extract source data
Category 03

AI Agent Attacks

The fastest-growing attack surface. AI agents that can take actions — call APIs, send emails, modify records — have dramatically higher blast radius when compromised.

Tool abuse — agent manipulated to misuse connected systems
Tool chaining attacks — individually legitimate steps form malicious chain
MCP server exploitation — central access points compromised
Memory poisoning — false information stored in long-term agent memory
Permission escalation — agent accesses systems beyond defined scope
Multi-agent chain compromise — taint propagates through trust relationships
Category 04

Model-Level Attacks

Attacks targeting the AI model itself — typically requiring greater sophistication but capable of persistent, organisation-wide impact.

Training data poisoning — corrupted datasets alter model behaviour
Backdoor implantation — hidden triggers embedded during training
Model theft — proprietary model extracted through repeated queries
Model inversion — sensitive training data reconstructed
Membership inference — determine if specific records were used in training
Category 05

Governance & Compliance Failures

Not every AI security incident starts with a technical exploit. Many originate from governance gaps — untested systems, missing policies, and unmanaged third-party risk.

No AI inventory — unknown systems with unknown risk
Missing security testing — vulnerabilities undiscovered until exploited
No incident response — AI incidents escalate uncontrolled
Regulatory gaps — NIST AI RMF, EU AI Act, HIPAA, PCI DSS failures
Third-party AI risk — unreviewed vendors processing sensitive data
Category 06

AI Supply Chain Attacks

Most organisations don't build complete AI stacks. Every foundation model, plugin, MCP server, and framework dependency is a potential entry point for supply chain compromise.

Foundation model supply chain — compromised upstream model
Dependency poisoning — malicious packages in AI workflows
Plugin and MCP connector compromise — third-party integrations as vectors
Vendor security failures — weak controls at AI API providers
Shadow AI — unauthorised tools processing sensitive data

Business Impact of AI Security Failures

Data Breaches

Sensitive data exposed through AI outputs, retrieval leakage, or agent-driven exfiltration — with no infrastructure compromise indicators.

Compliance Violations

GDPR 72-hour notifications, HIPAA investigations, PCI DSS audit findings — triggered by AI incidents many organisations weren't monitoring for.

Financial Loss

Remediation costs, legal expenses, regulatory fines, and customer loss. AI incidents in regulated industries can reach $5M+ in total impact.

Operational Disruption

Compromised autonomous workflows execute incorrect actions at machine speed — corrupting records, sending unauthorised communications, triggering erroneous processes.

Reputational Damage

AI incidents are visible to end users in ways infrastructure breaches aren't. Customer trust erodes quickly when AI behaviour becomes publicly anomalous.

The AI Security Defense Framework — 5 Layers

01

Governance

AI inventory, risk classification by system, security ownership assignment, and documented policies covering approved tools, restricted data, agent permissions, and incident reporting. Without governance, every other layer is inconsistently applied. Build your AI security programme →

02

Security Testing

Prompt injection testing, agent security validation, RAG access control testing, and AI red teaming — before deployment and quarterly thereafter. AI systems change continuously; security testing must keep pace. AI pen testing methodology →

03

Access Control

Least privilege for AI agents and users, role-based retrieval permissions, chunk-level authorisation in RAG systems, tenant isolation in multi-tenant deployments. Access control limits blast radius — it determines the maximum damage from any successful attack. Permission governance framework →

04

Runtime Monitoring

Real-time detection of prompt anomalies, unusual agent behaviour, retrieval scope violations, and output anomalies. Build behavioural baselines in the first two weeks of production. Alert on deviations. Most AI attacks are invisible to traditional monitoring — AI-specific observability is required. Agent monitoring guide →

05

Incident Response

AI-specific playbooks for prompt injection incidents, data leakage events, agent compromise, model poisoning, and supply chain failures. The evidence is in prompt logs and AI output logs — not firewall logs. Traditional IR procedures are insufficient. Full IR playbook →

️ See Where You Stand — Free AI Security Assessment

The HexTyx AI Security Assessment scores your posture across all 5 defense layers in 10 minutes. Identify your highest-risk gaps before attackers or auditors find them.

AI Security Checklist

Governance

AI inventory maintained
Risk assessments completed
Policies documented
Security ownership assigned

Technical Controls

Least privilege for all agents
Retrieval access controls active
Tenant isolation tested
Approval gates on consequential actions

Testing

Prompt injection testing completed
Agent security validated
RAG access control tested
Red team exercise scheduled

Monitoring & Response

Prompt + output logging active
Agent action logging active
AI incident response playbook
Vendor security reviews complete

Frequently Asked Questions

What is AI security?
AI security is the discipline of protecting AI systems — LLMs, AI agents, RAG pipelines, autonomous workflows, and AI APIs — from attacks, misuse, and governance failures. It is fundamentally different from traditional cybersecurity because AI systems make decisions, retrieve information, use tools, and operate autonomously, creating attack surfaces that traditional security tools cannot see.
Why do AI systems require different security controls?
AI systems are non-deterministic — the same input can produce different outputs depending on context. This means traditional signature-based defences don't work: prompt injection is valid text, RAG poisoning is a valid document, and agent compromise uses legitimate credentials. AI security requires semantic-level detection, behavioural monitoring, and AI-native testing methodologies that assess system behaviour, not just code vulnerabilities.
What is prompt injection and why is it dangerous?
Prompt injection is an attack where an adversary crafts input that causes an AI to override its intended instructions and follow the attacker's instructions instead. It is dangerous because it requires no infrastructure compromise, leaves no malware or authentication anomalies, and in agentic systems can cause the AI to take real-world actions — exfiltrating data, sending communications, modifying records — using its own legitimate permissions.
Where should I start with AI security?
Start with governance: do an AI inventory (what systems do you have?), classify them by risk (what data do they access, what can they do?), and define a simple data policy (what can employees submit to AI tools?). Then run a security assessment to identify your highest-risk gaps. The HexTyx free assessment covers all five defence layers in 10 minutes.

Explore the Complete Knowledge Base

This pillar article is the entry point for the entire HexTyx AI security library. Every topic below links to dedicated deep-dive guides.

Flagship Report
2026 AI Security Coverage Benchmark (21 Chapters) →
P2 — Agentic AI
AI Agent Security Basics →
P3 — RAG Security
RAG Security: Beginner's Guide →
P4 — Security Program
Build an AI Security Program →
P5 — Compliance
AI Compliance & Governance →
P6 — Industry Verticals
AI Security for Regulated Industries →
Full Library
Browse 99+ Guides →