MIT AI Risk Repository · domain 2: Privacy & Security

2.2 AI system security vulnerabilities and attacks

Vulnerabilities in AI systems, software development toolchains, and hardware that can be exploited, resulting in unauthorized access, data and privacy breaches, or system manipulation causing unsafe outputs or behavior.

Risk entries
112
Frameworks citing it
12
Recorded incidents
24
Incidents since 2020
20
Causal entity (risk entries)
Causal entity (risk entries) 87 0 Human: 87 Human 87 Other: 18 Other 18 AI: 6 AI 6 Not coded: 1 Not coded 1
Causal entity (risk entries)
LabelValue
Human87
Other18
AI6
Not coded1
Intent (risk entries)
Intent (risk entries) 83 0 Intentional: 83 Intentional 83 Unintentional: 16 Unintentional 16 Other: 12 Other 12 Not coded: 1 Not coded 1
Intent (risk entries)
LabelValue
Intentional83
Unintentional16
Other12
Not coded1
Timing (risk entries)
Timing (risk entries) 64 0 Post-deployment: 64 Post-deployment 64 Pre-deployment: 25 Pre-deployment 25 Other: 22 Other 22 Not coded: 1 Not coded 1
Timing (risk entries)
LabelValue
Post-deployment64
Pre-deployment25
Other22
Not coded1
Recorded incidents per yearIncident date; current year partial
Recorded incidents per year 7 0 2017: 3 2017 3 2019: 1 2019 1 2022: 2 2022 2 2023: 3 2023 3 2024: 3 2024 3 2025: 5 2025 5 2026: 7 2026 7
Recorded incidents per year
LabelValue
20173
20191
20222
20233
20243
20255
20267
Entries by levelRisk categories, subcategories and additional evidence coded to this subdomain
Entries by level 96 0 Risk Category: 16 Risk Category 16 Risk Sub-Category: 96 Risk Sub-Category 96
Entries by level
LabelValue
Risk Category16
Risk Sub-Category96
  • Privacy loss

    "Privacy loss - Unwarranted exposure of an individual’s private life or personal data through cyberattacks, doxxing, etc."

    A Collaborative, Human-Centred Taxonomy of AI, Algorithmic, and Automation Harms (Abercrombie2024) · Human · Intentional · Post-deployment

  • Jailbreaks and Prompt Injections Threaten Security of LLMs

    "LLMs are not adversarially robust and are vulnerable to security failures such as jailbreaks and prompt-injection attacks. While a number of jailbreak attacks have been proposed in the literature, th...

    Foundational Challenges in Assuring Alignment and Safety of Large Language Models (Anwar2024) · Other · Other · Other

  • Exploiting Limited Generalization of Safety Finetuning

    "Safety tuning is performed over a much narrower distribution compared to the pretraining distribution. This leaves the model vulnerable to attacks that exploit gaps in the generalization of the safet...

    Foundational Challenges in Assuring Alignment and Safety of Large Language Models (Anwar2024) · Other · Unintentional · Other

  • “Model Psychology” Attacks

    "LLMs are vulnerable to “psychological” tricks (Li et al., 2023e; Shen et al., 2023), which can be exploited by attackers. Examples include instructing the model to behave like a specific persona (Sha...

    Foundational Challenges in Assuring Alignment and Safety of Large Language Models (Anwar2024) · Human · Intentional · Post-deployment

  • Attacking LLMs via Additional Modalities a

    "LLMs can now process modalities other than text, e.g. images or video frames (OpenAI, 2023c; Gemini Team, 2023). Several studies show that gradient-based attacks on multimodal models are easy and eff...

    Foundational Challenges in Assuring Alignment and Safety of Large Language Models (Anwar2024) · Human · Intentional · Post-deployment

  • Vulnerability to Poisoning and Backdoors

    "The previous section explored jailbreaks and other forms of adversarial prompts as ways to elicit harmful capabilities acquired during pretraining. These methods make no assumptions about the trainin...

    Foundational Challenges in Assuring Alignment and Safety of Large Language Models (Anwar2024) · Human · Intentional · Pre-deployment

  • Software Vulnerabilities

    "Programmers are accustomed to using code generation tools such as Github Copilot for program development, which may bury vulnerabilities in the program."

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Human · Unintentional · Post-deployment

  • Software Security Issues

    "The software development toolchain of LLMs is complex and could bring threats to the developed LLM."

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Other · Other · Pre-deployment

  • Programming Language

    "Most LLMs are developed using the Python language, whereas the vulnerabilities of Python interpreters pose threats to the developed models"

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Other · Unintentional · Pre-deployment

  • Deep Learning Frameworks

    "LLMs are implemented based on deep learning frameworks. Notably, various vulnerabilities in these frameworks have been disclosed in recent years. As reported in the past five years, three of the most...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · AI · Unintentional · Pre-deployment

  • Software Supply Chains

    "The software development toolchain of LLMs is complex and could bring threats to the developed LLM."

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · AI · Unintentional · Pre-deployment

  • Pre-processing Tools

    "Pre-processing tools play a crucial role in the context of LLMs. These tools, which are often involved in computer vision (CV) tasks, are susceptible to attacks that exploit vulnerabilities in tools...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · AI · Unintentional · Pre-deployment

  • Hardware Vulnerabilities

    "The vulnerabilities of hardware systems for training and inferencing brings issues to LLM-based applications."

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Other · Unintentional · Other

  • Network Devices

    "The training of LLMs often relies on distributed network systems [171], [172]. During the transmission of gradients through the links between GPU server nodes, significant volumetric traffic is gener...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Other · Unintentional · Pre-deployment

  • GPU Computation Platforms

    "The training of LLMs requires significant GPU resources, thereby introducing an additional security concern. GPU side-channel attacks have been developed to extract the parameters of trained models [...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Human · Intentional · Pre-deployment

  • Memory and Storage

    "Similar to conventional programs, hardware infrastructures can also introduce threats to LLMs. Memory-related vulnerabilities, such as rowhammer attacks [160], can be leveraged to manipulate the para...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Human · Intentional · Pre-deployment

  • Issues on External Tools

    "The external tools (e.g., web APIs) present trustworthiness and privacy issues to LLM-based applications."

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Other · Other · Other

  • Factual Errors Injected by External Tools

    "External tools typically incorporate additional knowledge into the input prompts [122], [178]–[184]. The additional knowledge often originates from public resources such as Web APIs and search engine...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · AI · Unintentional · Post-deployment

  • Exploiting External Tools for Attacks

    "Adversarial tool providers can embed malicious instructions in the APIs or prompts [84], leading LLMs to leak memorized sensitive information in the training data or users’ prompts (CVE2023-32786). A...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Human · Intentional · Post-deployment

  • Model Attacks

    Model attacks exploit the vulnerabilities of LLMs, aiming to steal valuable information or lead to incorrect responses.

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Human · Intentional · Other

  • Extraction Attacks

    "Extraction attacks [137] allow an adversary to query a black-box victim model and build a substitute model by training on the queries and responses. The substitute model could achieve almost the same...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Human · Intentional · Post-deployment

  • Inference Attacks

    "Inference attacks [150] include membership inference attacks, property inference attacks, and data reconstruction attacks. These attacks allow an adversary to infer the composition or property inform...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Human · Intentional · Post-deployment

  • Poisoning Attacks

    "Poisoning attacks [143] could influence the behavior of the model by making small changes to the training data. A number of efforts could even leverage data poisoning techniques to implant hidden tri...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Human · Intentional · Pre-deployment

  • Overhead Attacks

    "Overhead attacks [146] are also named energy-latency attacks. For example, an adversary can design carefully crafted sponge examples to maximize energy consumption in an AI system. Therefore, overhea...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Human · Intentional · Other

  • Novel Attacks on LLMs

    Table of examples has: "Prompt Abstraction Attacks [147]: Abstracting queries to cost lower prices using LLM’s API. Reward Model Backdoor Attacks [148]: Constructing backdoor triggers on LLM’s RLHF pr...

    Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems (Cui2024) · Human · Intentional · Other