Artificial intelligence

AI security

Attacks on machine learning systems and how to defend them: adversarial examples, prompt injection, jailbreaks, data poisoning, model theft and red teaming.

Browse A–Z

Terms

53 terms

  • Adversarial machine learning

    Adversarial machine learning studies how attackers manipulate machine learning models through crafted inputs, poisoned data or extraction, and the defenses.

  • Adversarial patch

    An adversarial patch is a small, printable image region optimized to make a vision model misclassify or miss objects wherever the patch appears.

  • Adversarial Robustness Toolbox ART

    Adversarial Robustness Toolbox (ART) is an open-source Python library for attacking, defending, evaluating and certifying machine learning models.

  • Adversarial training

    Adversarial training hardens machine learning models against evasion attacks by training them on deliberately perturbed inputs generated during learning.

  • Adversarial transferability

    Adversarial transferability is the tendency of adversarial examples crafted against one model to also fool other models, enabling black-box attacks.

  • AI bill of materials AIBOM

    An AI bill of materials (AIBOM) is a machine-readable inventory of the models, datasets and dependencies that make up an AI system.

  • AI security

    AI security is the discipline of protecting machine learning models, their data and AI apps from attacks such as poisoning, evasion and prompt injection.

  • AI security posture management AI-SPM

    AI security posture management (AI-SPM) continuously inventories AI models, data and agents and finds misconfigurations and risks across an organization.

  • AI supply chain security

    AI supply chain security protects the models, datasets, code and services an AI system depends on from tampering, poisoning and malicious substitution.

  • AI threat modeling

    AI threat modeling systematically identifies how attackers could abuse data, models, prompts and tools in an AI system, and plans defenses in advance.

  • Black-box attack · machine learning

    A black-box attack in machine learning manipulates or extracts a model using only its inputs and outputs, without access to weights, gradients or training data.

  • CaMeL

    CaMeL is a prompt injection defense for LLM agents that separates trusted control flow from untrusted data and enforces capability-based security policies.

  • Carlini–Wagner attack

    The Carlini–Wagner attack is an optimization-based adversarial attack that finds minimal input changes that make a neural network misclassify confidently.

  • Certified robustness

    Certified robustness is a mathematical guarantee that a model's prediction cannot change under any input perturbation within a defined bound.

  • Clean-label poisoning attack

    A clean-label poisoning attack inserts correctly labeled but subtly perturbed samples into training data to make a model misclassify chosen targets.

  • Constitutional classifiers

    Constitutional classifiers are safeguard models trained on synthetic data from a written rule set to block jailbreaks and harmful language model outputs.

  • DAN jailbreak DAN

    The DAN jailbreak is a role-play prompt attack that asks a chatbot to adopt a Do Anything Now persona supposedly free of its safety rules and…

  • Data exfiltration via prompt injection

    Data exfiltration via prompt injection is an attack in which injected instructions make an LLM application leak private data to an attacker-controlled channel.

  • DeepFool

    DeepFool is an adversarial attack that finds a near-minimal perturbation pushing an input across a classifier's decision boundary, used to measure robustness.

  • Defensive distillation

    Defensive distillation retrains a neural network on softened labels at high temperature to resist adversarial examples, a defense later shown to be breakable.

  • Dual LLM pattern

    The Dual LLM pattern splits an agent into a privileged model with tools and a quarantined model that reads untrusted text, limiting prompt injection.

  • Evasion attack

    An evasion attack manipulates inputs at inference time so a trained machine learning model misclassifies them, without changing the model or its training data.

  • Fast gradient sign method FGSM

    The fast gradient sign method (FGSM) creates adversarial examples by shifting each input value one small step in the direction that raises model loss.

  • garak

    garak is an open-source LLM vulnerability scanner that probes language models for jailbreaks, prompt injection, data leakage and other failures.

  • Gradient masking

    Gradient masking is a flawed adversarial defense that hides useful gradients from attackers, creating a false impression of model robustness.

  • Improper output handling

    Improper output handling is a flaw where an application passes language model output to browsers, databases or shells without validation or encoding.

  • Instruction hierarchy

    An instruction hierarchy is a training policy that tells a language model which instructions take priority when system, user and tool inputs conflict.

  • Label flipping attack

    A label flipping attack is a data poisoning technique that changes the labels of training examples to degrade or bias a machine learning model.

  • Lethal trifecta

    The lethal trifecta is the risky mix of private data access, untrusted content and external communication that lets prompt injection steal data from AI agents.

  • LLM firewall

    An LLM firewall inspects prompts, retrieved content and model outputs to block prompt injection, jailbreaks and data leaks in language model applications.

  • Memory poisoning

    Memory poisoning is an attack that plants false facts or hidden instructions in an AI agent's persistent memory so they shape its later sessions and actions.

  • MITRE ATLAS

    MITRE ATLAS is a public knowledge base of adversary tactics, techniques and case studies targeting machine learning and AI-enabled systems.

  • Model denial of service

    Model denial of service is an attack that drives an AI model into excessive resource use, degrading availability or inflating inference costs.

  • Model fingerprinting

    Model fingerprinting identifies a machine learning model from its unique behavior or weights, proving ownership and detecting stolen or derived copies.

  • Model poisoning

    Model poisoning is an attack in which adversaries submit manipulated model updates, often in federated learning, to degrade or backdoor a shared model.

  • Model serialization attack

    A model serialization attack hides executable code in a saved machine learning model file so that simply loading the model compromises the host system.

  • Model signing

    Model signing attaches a cryptographic signature to machine learning model files so users can verify who published a model and that it was not altered.

  • Multi-turn jailbreak

    A multi-turn jailbreak spreads an attack on a language model across several conversation turns, escalating gradually until safety behavior gives way.

  • Multimodal prompt injection

    Multimodal prompt injection hides malicious instructions in images, audio or video so that a multimodal AI model follows them instead of its intended task.

  • NIST AI 100-2

    NIST AI 100-2 is the NIST report that defines a shared taxonomy and terminology for adversarial machine learning attacks on AI systems and their mitigations.

  • OWASP Machine Learning Security Top 10

    The OWASP Machine Learning Security Top 10 is a community list of the ten most critical attack categories against machine learning systems and their defenses.

  • Physical adversarial attack

    A physical adversarial attack places a crafted real-world object, patch or signal in front of a sensor to make a machine learning model misperceive a scene.

  • Projected gradient descent attack

    A projected gradient descent attack crafts adversarial examples through repeated gradient steps, projecting each result back into a small allowed set.

  • PyRIT

    PyRIT, the Python Risk Identification Tool, is an open-source framework that automates red teaming of generative AI systems to find safety and security risks.

  • RAG poisoning

    RAG poisoning is an attack that plants crafted documents in a retrieval corpus so a language model retrieves them and produces false or harmful answers.

  • Randomized smoothing

    Randomized smoothing turns any classifier into a provably robust one by voting over noisy copies of an input, certifying a radius against adversarial changes.

  • Safety classifier

    A safety classifier is a model that screens AI inputs or outputs and flags harmful, prohibited or manipulative content before it reaches a user or tool.

  • Secure AI Framework SAIF

    The Secure AI Framework (SAIF) is a conceptual framework from Google that organizes security controls and risks across the full lifecycle of AI systems.

  • Sponge attack

    A sponge attack feeds crafted inputs to a machine learning model to maximize its energy use and latency, degrading availability rather than accuracy.

  • Spotlighting · AI security

    Spotlighting is a prompt engineering defense that marks untrusted input so a language model can resist indirect prompt injection in AI security.

Also in this topic

Terms explained in another topic that belong here too.

  • Adversarial example

    Artificial intelligence › AI safety

    An adversarial example is an input deliberately perturbed so that a machine learning model makes a confident mistake that a human would…

  • Adversarial robustness

    Artificial intelligence › AI safety

    Adversarial robustness is the ability of an AI model to keep correct behavior when inputs are deliberately manipulated to make it fail.

  • Adversarial suffix attack

    Artificial intelligence › AI safety

    An adversarial suffix attack appends an optimized string of tokens to a prompt so that an aligned language model ignores its safety…

  • Agent hijacking

    Artificial intelligence › AI safety

    Agent hijacking is an attack in which hostile content steers an AI agent into using its tools and permissions for goals its…

  • AI guardrails

    Artificial intelligence › AI safety

    AI guardrails are the technical and policy controls placed around an AI model that check its inputs, outputs and actions against safety…

  • AI jailbreak

    Artificial intelligence › AI safety

    An AI jailbreak is an input crafted to make a language model ignore its safety training and policies and produce output it…

  • AI red teaming

    Artificial intelligence › AI safety

    AI red teaming is the structured adversarial testing of AI models and systems to uncover harmful, insecure or unintended behavior before attackers…

  • Backdoor attack

    Artificial intelligence › AI safety

    A backdoor attack plants a hidden trigger in a machine learning model so it behaves normally until a secret input pattern switches…

  • Data poisoning

    Artificial intelligence › AI safety

    Data poisoning is an attack that corrupts the data a machine learning model learns from, so the trained model fails, misbehaves or…

  • Excessive agency

    Artificial intelligence › AI safety

    Excessive agency is an AI safety flaw in which an LLM agent holds more functions, permissions or autonomy than its task needs,…

  • Indirect prompt injection

    Artificial intelligence › AI safety

    Indirect prompt injection hides attacker instructions in content a language model reads, such as web pages or emails, to hijack its behavior.

  • Many-shot jailbreaking

    Artificial intelligence › AI safety

    Many-shot jailbreaking is an AI safety attack that fills a long context window with fake dialogues so a language model imitates harmful…

  • Membership inference attack

    Privacy › AI privacy

    A membership inference attack tries to determine whether a specific person's record was part of a machine learning model's training data.

  • Model extraction attack

    Artificial intelligence › AI safety

    A model extraction attack copies the behavior of a deployed AI model by querying it repeatedly and training a substitute on the…

  • Model inversion attack

    Privacy › AI privacy

    A model inversion attack uses a trained machine learning model's outputs or parameters to reconstruct sensitive features of the data it was…

  • Model weight security

    Artificial intelligence › AI safety

    Model weight security is the protection of trained AI model parameters against theft, leakage and tampering across storage, training and inference.

  • OWASP Top 10 for LLM Applications

    Artificial intelligence › AI safety

    The OWASP Top 10 for LLM Applications is a community ranking of the most critical security risks in systems built on large…

  • Prompt injection

    Artificial intelligence › AI safety

    Prompt injection is an attack in which crafted text makes a language model follow an attacker's instructions instead of those set by…

  • Prompt leaking

    Artificial intelligence › AI safety

    Prompt leaking is an attack that makes a language model reveal its hidden system prompt, exposing instructions, business logic and sometimes secrets.

  • Tool poisoning

    Artificial intelligence › AI safety

    Tool poisoning is an attack that hides malicious instructions in AI agent tool descriptions or outputs so the model misuses its tools.