OpenAttack: An Open-source Textual Adversarial Attack Toolkit
Not on the map. Why?
Abstract (arXiv)
Textual adversarial attacking has received wide and increasing attention in recent years. Various attack models have been proposed, which are enormously distinct and implemented with different programming frameworks and settings. These facts hinder quick utilization and fair comparison of attack models. In this paper, we present an open-source textual adversarial attack toolkit named OpenAttack to solve these issues. Compared with existing other textual adversarial attack toolkits, OpenAttack has its unique strengths in support for all attack types, multilinguality, and parallel processing. Currently, OpenAttack includes 15 typical attack models that cover all attack types. Its highly inclusive modular design not only supports quick utilization of existing attack models, but also enables great flexibility and extensibility. OpenAttack has broad uses including comparing and evaluating attack models, measuring robustness of a model, assisting in developing new attack models, and adversarial training. Source code and documentation can be obtained at https://github.com/thunlp/OpenAttack.
Key facts. Cited by 84 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Sep 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 16; 2022: 18; 2023: 23; 2024: 14; 2025: 11; 2026: 2.
84 papers.
Sort:
By area:
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 227
- 2021Robustness Gym: Unifying the NLP Evaluation Landscapecited by 107
- 2021An Empirical Survey of Data Augmentation for Limited Data Learning in NLPcited by 101
- 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Modelscited by 100
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
- 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 67
- 2023VLATTACK: Multimodal Adversarial Attacks on Vision-Language Tasks via Pre-trained Modelscited by 66
- 2022Evaluation Gaps in Machine Learning Practicecited by 48
- 2023In ChatGPT We Trust? Measuring and Characterizing the Reliability of ChatGPTcited by 35
- 2023Using Captum to Explain Generative Language Modelscited by 33
38 more
- 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Triggercited by 29
- 2021Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Frameworkcited by 27
- 2022From plane crashes to algorithmic harm: applicability of safety engineering frameworks for responsible MLcited by 26
- 2022A Survey of Adversarial Defences and Robustness in NLPcited by 22
- 2021Multi-granularity Textual Adversarial Attack with Behavior Cloningcited by 21
- 2023On the Robustness of Aspect-based Sentiment Analysis: Rethinking Model, Data, and Trainingcited by 20
- 2022TencentPretrain: A Scalable and Flexible Toolkit for Pre-training Models of Different Modalitiescited by 19
- 2023Attacks in Adversarial Machine Learning: A Systematic Survey from the Life-cycle Perspectivecited by 19
- 2021Adversarial Attacks against Windows PE Malware Detection: A Survey of the State-of-the-Artcited by 18
- 2023How do humans perceive adversarial text? A reality check on the validity and naturalness of word-based adversarial attackscited by 18
- 2021BERT-Defense: A Probabilistic Model Based on BERT to Combat Cognitively Inspired Orthographic Adversarial Attackscited by 17
- 2022Y-Tuning: An Efficient Tuning Paradigm for Large-Scale Pre-Trained Models via Label Representation Learningcited by 15
- 2022On Robust Prefix-Tuning for Text Classificationcited by 15
- 2022Towards Explainable Evaluation Metrics for Natural Language Generationcited by 15
- 2024Legilimens: Practical and Unified Content Moderation for Large Language Model Servicescited by 13
- 2022Perturbations in the Wild: Leveraging Human-Written Text Perturbations for Realistic Adversarial Attack and Defensecited by 12
- 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generationcited by 12
- 2023Generating Valid and Natural Adversarial Examples with Large Language Modelscited by 12
- 2023InterroLang: Exploring NLP Models and Datasets through Dialogue-based Explanationscited by 11
- 2025HateBench: Benchmarking Hate Speech Detectors on LLM-Generated Content and Hate Campaignscited by 10
- 2021A Differentiable Language Model Adversarial Attack on Text Classifierscited by 9
- 2023Verifying the Robustness of Automatic Credibility Assessmentcited by 8
- 2023An Extensive Study on Adversarial Attack against Pre-trained Models of Codecited by 8
- 2021Improving the robustness and accuracy of biomedical language models through adversarial trainingcited by 7
- 2023DSRM: Boost Textual Adversarial Training with Distribution Shift Risk Minimizationcited by 7
- 2025FLEX: A Benchmark for Evaluating Robustness of Fairness in Large Language Modelscited by 7
- 2021R&R: Metric-guided Adversarial Sentence Generationcited by 6
- 2021Deep learning models are not robust against noise in clinical textcited by 6
- 2022ShortcutLens: A Visual Analytics Approach for Exploring Shortcuts in Natural Language Understanding Datasetcited by 6
- 2024ROIC-DM: Robust Text Inference and Classification via Diffusion Modelcited by 5
- 2021Normal vs. Adversarial: Salience-based Analysis of Adversarial Samples for Relation Extractioncited by 4
- 2022Identifying Adversarial Attacks on Text Classifierscited by 4
- 2022Visualizing and Explaining Language Modelscited by 4
- 2023Mondrian: Prompt Abstraction Attack Against Large Language Models for Cheaper API Pricingcited by 4
- 2024Exploring the Robustness of Task-oriented Dialogue Systems for Colloquial German Varietiescited by 4
- 2024OpenFact at CheckThat! 2024: Combining Multiple Attack Methods for Effective Adversarial Text Generationcited by 4
- 2024Towards Action Hijacking of Large Language Model-based Agentcited by 4
- 2026Are LLM-Enhanced Graph Neural Networks Robust against Poisoning Attacks?cited by 4
50 most cited of 84 All 84 (JSON)
- 2026S-GBT: Smooth Growth Bound Tensor for Certified Robustness Against Word Substitution Attacks in NLP11 Jun 2026
- 2026Are LLM-Enhanced Graph Neural Networks Robust against Poisoning Attacks?27 Mar 2026
- 2025GRAPHTEXTACK: A Realistic Black-Box Node Injection Attack on LLM-Enhanced GNNs16 Nov 2025
- 2025Selective Adversarial Attacks on LLM Benchmarks15 Oct 2025
- 2025Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach14 Jul 2025
- 2025GradEscape: A Gradient-Based Evader Against AI-Generated Text Detectors9 Jun 2025
- 2025Look Within or Look Beyond? A Theoretical Comparison Between Parameter-Efficient and Full Fine-Tuning28 May 2025
- 2025Q-FAKER: Query-free Hard Black-box Attack via Controlled Generation18 Apr 2025
- 2025NLP Security and Ethics, in the Wild9 Apr 2025
- 2025FLEX: A Benchmark for Evaluating Robustness of Fairness in Large Language Models25 Mar 2025
- 2025BitAbuse: A Dataset of Visually Perturbed Texts for Defending Phishing Attacks6 Feb 2025
- 2025HateBench: Benchmarking Hate Speech Detectors on LLM-Generated Content and Hate Campaigns28 Jan 2025
38 more
- 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarks5 Jan 2025
- 2024Human-in-the-Loop Generation of Adversarial Texts: A Case Study on Tibetan Script17 Dec 2024
- 2024Towards Action Hijacking of Large Language Model-based Agent14 Dec 2024
- 2024Pay Attention to the Robustness of Chinese Minority Language Models! Syllable-level Textual Adversarial Attack on Tibetan Script3 Dec 2024
- 2024Exploring Adversarial Robustness in Classification tasks using DNA Language Models29 Sep 2024
- 2024OpenFact at CheckThat! 2024: Combining Multiple Attack Methods for Effective Adversarial Text Generation4 Sep 2024
- 2024Legilimens: Practical and Unified Content Moderation for Large Language Model Services28 Aug 2024
- 2024EaTVul: ChatGPT-based Evasion Attack Against Software Vulnerability Detection27 Jul 2024
- 2024A Survey on the Application of Generative Adversarial Networks in Cybersecurity: Prospective, Direction and Open Research Scopes11 Jul 2024
- 2024E-Bench: Towards Evaluating the Ease-of-Use of Large Language Models16 Jun 2024
- 2024Genshin: General Shield for Natural Language Processing with Large Language Models29 May 2024
- 2024GenFighter: A Generative and Evolutive Textual Attack Removal17 Apr 2024
- 2024Exploiting Class Probabilities for Black-box Sentence-level Attacks5 Feb 2024
- 2024Exploring the Robustness of Task-oriented Dialogue Systems for Colloquial German Varieties3 Feb 2024
- 2024ROIC-DM: Robust Text Inference and Classification via Diffusion Model7 Jan 2024
- 2023Using Captum to Explain Generative Language Models9 Dec 2023
- 2023Generating Valid and Natural Adversarial Examples with Large Language Models20 Nov 2023
- 2023An Extensive Study on Adversarial Attack against Pre-trained Models of Code13 Nov 2023
- 2023Toward Stronger Textual Attack Detectors21 Oct 2023
- 2023InterroLang: Exploring NLP Models and Datasets through Dialogue-based Explanations9 Oct 2023
- 2023VLATTACK: Multimodal Adversarial Attacks on Vision-Language Tasks via Pre-trained Models7 Oct 2023
- 2023Mondrian: Prompt Abstraction Attack Against Large Language Models for Cheaper API Pricing7 Aug 2023
- 2023Analyzing the Impact of Adversarial Examples on Explainable Machine Learning17 Jul 2023
- 2023NatLogAttack: A Framework for Attacking Natural Language Inference Models with Natural Logic6 Jul 2023
- 2023On the Universal Adversarial Perturbations for Efficient Data-free Adversarial Detection27 Jun 2023
- 2023DSRM: Boost Textual Adversarial Training with Distribution Shift Risk Minimization27 Jun 2023
- 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Framework29 May 2023
- 2023How do humans perceive adversarial text? A reality check on the validity and naturalness of word-based adversarial attacks24 May 2023
- 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models24 May 2023
- 2023The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examples6 May 2023
- 2023White-Box Multi-Objective Adversarial Attack on Dialogue Generation5 May 2023
- 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Trigger27 Apr 2023
- 2023On the Robustness of Aspect-based Sentiment Analysis: Rethinking Model, Data, and Training19 Apr 2023
- 2023In ChatGPT We Trust? Measuring and Characterizing the Reliability of ChatGPT18 Apr 2023
- 2023Verifying the Robustness of Automatic Credibility Assessment14 Mar 2023
- 2023Data Augmentation for Neural NLP22 Feb 2023
- 2023Attacks in Adversarial Machine Learning: A Systematic Survey from the Life-cycle Perspective19 Feb 2023
- 2023READIN: A Chinese Multi-Task Benchmark with Realistic and Diverse Input Noises14 Feb 2023
50 newest of 84 All 84 (JSON)
- 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Modelscited by 100
- 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Triggercited by 29
- 2024Legilimens: Practical and Unified Content Moderation for Large Language Model Servicescited by 13
- 2024Legilimens: Practical and Unified Content Moderation for Large Language Model Services28 Aug 2024
- 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models24 May 2023
- 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Trigger27 Apr 2023
- 2024Towards Action Hijacking of Large Language Model-based Agent14 Dec 2024
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 227
- 2021Robustness Gym: Unifying the NLP Evaluation Landscapecited by 107
- 2021An Empirical Survey of Data Augmentation for Limited Data Learning in NLPcited by 101
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
- 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 67
- 2023VLATTACK: Multimodal Adversarial Attacks on Vision-Language Tasks via Pre-trained Modelscited by 66
- 2022Evaluation Gaps in Machine Learning Practicecited by 48
- 2023In ChatGPT We Trust? Measuring and Characterizing the Reliability of ChatGPTcited by 35
- 2023Using Captum to Explain Generative Language Modelscited by 33
- 2021Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Frameworkcited by 27
12 most cited of 79 All 79 (JSON)
- 2026S-GBT: Smooth Growth Bound Tensor for Certified Robustness Against Word Substitution Attacks in NLP11 Jun 2026
- 2026Are LLM-Enhanced Graph Neural Networks Robust against Poisoning Attacks?27 Mar 2026
- 2025GRAPHTEXTACK: A Realistic Black-Box Node Injection Attack on LLM-Enhanced GNNs16 Nov 2025
- 2025Selective Adversarial Attacks on LLM Benchmarks15 Oct 2025
- 2025Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach14 Jul 2025
- 2025GradEscape: A Gradient-Based Evader Against AI-Generated Text Detectors9 Jun 2025
- 2025Look Within or Look Beyond? A Theoretical Comparison Between Parameter-Efficient and Full Fine-Tuning28 May 2025
- 2025Q-FAKER: Query-free Hard Black-box Attack via Controlled Generation18 Apr 2025
- 2025NLP Security and Ethics, in the Wild9 Apr 2025
- 2025FLEX: A Benchmark for Evaluating Robustness of Fairness in Large Language Models25 Mar 2025
- 2025BitAbuse: A Dataset of Visually Perturbed Texts for Defending Phishing Attacks6 Feb 2025
- 2025HateBench: Benchmarking Hate Speech Detectors on LLM-Generated Content and Hate Campaigns28 Jan 2025
12 newest of 79 All 79 (JSON)