Full text
Testing the limits: exploring adversarial techniques in AI models Apostolis Zarras 1 , Athanasia Kollarou 1 , Aristeidis Farao 2 , Panagiotis Bountakas 1 and Christos Xenakis 1 1University of Piraeus, Piraeus, Greece 2InQbit Innovations SRL, Bucharest, Romania ABSTRACT The rising adoption of artificial intelligence and machine learning in critical sectors underscores the pressing need for robust systems capable of withstanding adversarial threats. While deep learning architectures have revolutionized tasks such as image recognition, their susceptibility to adversarial techniques remains an open challenge. This article evaluates the impact of various adversarial methods, including the fast gradient sign method, projected gradient descent, DeepFool, and Carlini & Wagner, on five neural network models: a fully connected neural network, LeNet, Simple convolutional neural network (CNN), MobileNetV2, and VGG11. Using the EVAISION tool explicitly developed for this research, these attacks were implemented and analyzed based on accuracy, F1-score, and misclassification rate. The results revealed varying levels of vulnerability across the tested models, with simpler architectures occasionally outperforming more complex ones. These findings emphasize the importance of selecting the most appropriate adversarial technique for a given architecture and customizing the associated attack parameters to achieve optimal results in each scenario. Subjects Artificial Intelligence, Computer Vision, Data Mining and Machine Learning Keywords Adversarial attacks, Misclassification, Cybersecurity INTRODUCTION In recent years, artificial intelligence (AI) and machine learning (ML) have gained considerable popularity and have been integrated into a wide range of sectors, transforming the way many industries operate by powering applications (Bountakas et al., 2023) in areas such as image recognition, natural language processing, healthcare, and autonomous vehicles. These applications rely on algorithms that analyze large volumes of training data to identify patterns and make predictions. Deep learning (DL), a subfield of ML, utilizes multilayered neural networks to handle complex data and solve intricate problems. This capability has proved highly effective in tasks including image classification and speech recognition (Charalambous et al., 2022). Despite the remarkable advances in AI and ML, these models exhibit specific vulnerabilities that can compromise their reliability and robustness. The complexity of these systems poses significant challenges in ensuring smooth operation while upholding high-security standards, an issue of particular concern in domains where models support critical functions. In this context, models face significant limitations arising from their inherent operational characteristics and the intentional exploitation of these weaknesses through adversarial techniques (Petihakis et al., 2024). How to cite this article Zarras A, Kollarou A, Farao A, Bountakas P, Xenakis C. 2025. Testing the limits: exploring adversarial techniques in AI models. PeerJ Comput. Sci. 11:e3330 DOI 10.7717/peerj-cs.3330 Submitted 30 May 2025 Accepted 3 October 2025 Published 31 October 2025 Corresponding author Apostolis Zarras, [email protected] Academic editor Consolato Sergi Additional Information and Declarations can be found on page 31 DOI 10.7717/peerj-cs.3330 Copyright 2025 Zarras et al. Distributed under Creative Commons CC-BY 4.0
From an internal perspective, the sensitivity of DL architectures to minimal perturbations can result in misclassifications or unpredictable behavior (Suciu et al., 2022). This challenge becomes even more pressing when models fail to generalize effectively to real-world conditions, such as noisy or anomalous data, often due to overfitting on curated datasets. Furthermore, the opacity of these models, often called the black-box problem, hampers interpretability and undermines trust in the decision-making process. Externally, adversarial techniques exploit these vulnerabilities by introducing stealthy modifications that cause models to misbehave at inference time (evasion attacks), corrupt training data (poisoning attacks), or steal proprietary models or sensitive information (model extraction and inference attacks) (Bountakas et al., 2023). A particularly concerning category of attack involves adversarial examples. First described by Szegedy (2013), these are intentionally crafted inputs containing undetectable perturbations to subvert the classification process. Subsequent research (Lin et al., 2017; Dong et al., 2018) has reinforced these findings, demonstrating the ease with which adversarial examples can compromise real-world systems. AI-based systems have been linked to various cybersecurity incidents over the years. In 2025, OmniGPT, an AI chatbot service, reportedly experienced a data breach in which a hacker claimed to have accessed users’billing information and credentials (Sharma, 2025). Similarly, in 2024, Muah.AI, a platform for creating AI-generated virtual partners, was compromised, affecting 1.9 million users, and exposing data suggesting that some individuals were generating illicit content (Palmer & Church, 2024). Furthermore, a study by Palisade Research revealed that in strategy games such as chess and go, older AI models (e.g., OpenAI’s GPT-4o and Anthropic’s Claude Sonnet 3.5) required prompting from researchers to attempt cheating tactics. However, more recent models, including o1preview and DeepSeek R1, pursued exploits without prompting, indicating that AI systems may develop deceptive or manipulative strategies independently of explicit human instruction (Booth, 2025). In response, several defense mechanisms have emerged to enhance the resilience of AI models against such threats (Bountakas et al., 2023;Pantelakis et al., 2023). A common strategy is adversarial training (Goodfellow, Shlens & Szegedy, 2014;Hussain, Shang & Hong, 2025), which augments the training dataset with adversarial examples, helping models recognize and resist malicious inputs. Distillation (Hinton, Vinyals & Dean, 2015;Papernot et al., 2016) represents another popular approach, wherein outputs from one model are used to train another, smoothing decision boundaries and diminishing susceptibility to gradient-based attacks. Additional methods, such as gradient masking (Lee, Bae & Yoon, 2020;Zhang et al., 2025), feature compression (Bhagoji et al., 2018;Chuah et al., 2022), and noise reduction (Joshi et al., 2022), focus on obfuscating the critical details exploited by attackers or removing adversarial changes prior to model processing. Nonetheless, existing defense mechanisms suffer from limitations that constrain their real-world efficacy. For instance, adversarial training typically targets specific attack types and thus is less effective against evolving threats. Defensive distillation or similar methods can reduce a model’s accuracy on benign data, which is problematic for applications demanding both robustness and high precision. Moreover, computational inefficiency Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 2/37
remains a concern, particularly in large-scale or real-time applications, where the significant resource demands of defensive methods can be impractical. These challenges are compounded by the fragmented manner in which many defenses are tested, focusing on narrow attack scenarios or specific model types. Such a restricted perspective impedes our understanding of how diverse models fare across different adversarial conditions. Overall, the identified AI/ML cybersecurity-related gaps can be summarized as follows: ðiÞAdversaries can manipulate inputs to deceive AI/ML models; ðiiÞAI/ML models often process sensitive data, making them attractive cybersecurity targets; ðiiiÞadversaries can steal, replicate, or exploit proprietary AI models; ðivÞmany AI models function as black boxes, complicating the detection of malicious activities; ðvÞexcessive reliance on third-party datasets, libraries, and hardware, which may have been previously compromised; ðviÞAI systems are often based on minimal to no prior robustness tests (i.e., against adversarial attacks). In response to these gaps, this article investigates the impact of various adversarial techniques on different neural network architectures. Specifically, we have designed and implemented EVAISION, a custom evaluation tool engineered to execute adversarial attacks systematically on selected architectures and evaluate their resilience using predefined performance metrics 1 . In summary, we make the following main contributions: .We categorize existing adversarial techniques that aim to exploit vulnerabilities in ML and DL models. .We define security requirements for tools dedicated to performing adversarial AI attacks to ensure the tools’proper functionality and ethical use. .We design and develop EVAISION, a tool for executing adversarial techniques and testing models. .We perform a comparative analysis of adversarial AI evasion attacks in three discrete datasets (MNIST (Lecun et al., 1998), Fashion-MNIST (Xiao, Rasul & Vollgraf, 2017, and CIFAR-10 (Krizhevsky, 2009)). The remainder of this article is organized as follows. ‘Background’outlines the key theoretical foundations and provides the contextual background necessary for understanding this research. ‘Design and Development’details the methodological approach. ‘Performance Evaluation’presents the results and discusses the key findings. In ‘Real-World Impact of Adversarial AI Attacks’, the real-world implications of this study are examined, while ‘Discussion and Limitations’discusses the limitations of the proposed approach and suggests avenues for future research. ‘Related Work’reviews relevant literature. Finally, ‘Conclusion’concludes the article, summarizing the main contributions. BACKGROUND The rapid advancement of AI and ML has enabled their adoption across a broad spectrum of fields, including healthcare, finance, and autonomous systems. Despite these transformative capabilities, AI models remain susceptible to adversarial threats that can undermine their integrity and reliability. Consequently, a solid understanding of the 1 The source code of EVAISION can be found at https://github.com/UniPiSSL/ testing-the-limits-evAIsion. Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 3/37
foundational principles of AI, its core methodologies, and the associated security challenges is essential for evaluating the robustness of these models against adversarial attacks. This section provides an overview of fundamental AI and ML concepts, examining the key components of DL architectures. Following this, we introduce the concept of adversarial machine learning (AML), which examines adversaries’techniques to exploit model vulnerabilities. By establishing this foundational knowledge, we highlight the importance of adversarial threats and their broader implications for AI-driven systems. Fundamentals AI encompasses the design of computational systems capable of performing tasks that typically require human intelligence, such as decision-making, problem-solving, and pattern recognition. At the core of AI lies ML (see Fig. 1), a subset that trains models to learn patterns from data in order to make predictions or classifications. Within ML, DL constitutes a specialized subfield that leverages artificial neural networks with multiple layers to capture complex relationships in data. DL architectures such as convolutional neural networks (CNNs) are particularly well-suited for tasks involving image data. These networks transform input data through a series of interconnected layers, relying on two key operations: ðiÞconvolution, a mathematical operation that extracts spatial features, enabling the network to detect edges, textures, and other distinctive patterns (Lecun et al., 1998) and ðiiÞpooling, which reduces Artificial Intelligence Machine Learning Deep Learning Figure 1 Correlation among AI, ML, and DL. Full-size DOI: 10.7717/peerj-cs.3330/fig-1 Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 4/37
the spatial dimensions of feature maps while retaining essential information, thereby decreasing computational complexity (Krizhevsky, Sutskever & Hinton, 2012). To enable effective learning, activation functions, such as the rectified linear unit (ReLU), introduce non-linearity by mapping negative inputs to zero, thereby allowing the model to capture more complex patterns. Another central concept in DL is optimization, where the model’s parameters are iteratively adjusted to minimize a loss function, such as cross-entropy loss. This loss function measures the discrepancy between the model’s predictions and the actual labels, guiding training toward improved performance (Goodfellow et al., 2016). Optimization algorithms like stochastic gradient descent (SGD) and Adam help fine-tune the model’s weights efficiently. While SGD updates parameters incrementally on small batches of data, Adam employs adaptive learning rates, making it particularly effective for large-scale datasets. By applying these techniques, CNNs have achieved exceptional results in image classification tasks. For instance, models trained on the MNIST dataset, which consists of grayscale images of handwritten digits, are widely used to benchmark classification accuracy and evaluate resilience to adversarial attacks (Lecun et al., 1998). Adversarial machine learning AML primarily investigates the vulnerabilities of ML models and their capacity to withstand intentionally crafted inputs, often referred to as adversarial examples (Bountakas et al., 2023;Farao et al., 2024). These examples involve subtle perturbations that prompt models to make erroneous predictions, even though the modifications are nearly imperceptible to the human eye. Adversarial examples can severely undermine ML systems in numerous domains (Wang et al., 2023); for instance, minimal alterations to an image can lead a CNN to misclassify the image with high confidence. Even a slight adjustment to an image of the digit 3can cause the model to mistakenly recognize it as a 5. Such adversarial techniques can also be employed in physical settings. Examples include using laser beams to manipulate traffic sign recognition systems or crafting adversarial channel state information (CSI) inputs to mislead Internet of Things (IoT)-based deep neural networks (DNNs). Adversarial attacks may target various stages of the ML lifecycle. During the training phase, poisoning attacks involve injecting malicious data into the training set, thereby producing compromised or biased models (Biggio, Nelson & Laskov, 2012). In the testing or inference phase, evasion attacks modify inputs in ways that force the model to misclassify, even though these modifications are often imperceptible to human observers (Goodfellow et al., 2016). Furthermore, adversarial methods such as model extraction and inference attacks directly exploit the model by replicating its behavior or extracting sensitive information (Tramèr et al., 2016). To address these threats, researchers are actively exploring various defensive strategies to bolster model robustness. Wu et al. (2023) systematically review these approaches, categorizing them based on their position in the ML lifecycle. Their framework highlights defenses that span pre-training, training, and post-training stages, emphasizing a proactive and holistic strategy for safeguarding ML systems. Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 5/37
Adversarial techniques Adversarial techniques comprise a broad spectrum of methods that exploit vulnerabilities in ML models to degrade their performance or extract sensitive information. These methods can manifest at any stage of the ML lifecycle, spanning from the contamination of training data to the manipulation of model inputs during inference. Moreover, adversarial methods are often classified by the attacker’s level of knowledge about the model (yielding white-box and black-box attacks) or by the type of output being manipulated, such as scores or decisions. In this subsection, we examine the principal categories of adversarial techniques, including evasion attacks, poisoning attacks, model extraction attacks, and inference attacks, and underscore how each class exploits distinct vulnerabilities within ML systems. Overview of adversarial techniques Adversarial techniques exploit vulnerabilities in ML models to compromise their performance or extract sensitive information. These methods encompass various approaches to deceive or manipulate models at various stages of their lifecycle, from training to deployment. Adversarial techniques can be categorized using multiple criteria, including the adversary’s knowledge of the model (i.e., knowledge-based categories), the type of model output, or the specific goals of the attack, among others. Based on the adversary’s knowledge of the model, adversarial techniques are commonly categorized into white-box attacks and black-box attacks (Kotyan, 2023). In white-box attacks, the adversary possesses comprehensive knowledge of the model, including its architecture and parameters. Such insight enables the precise crafting of adversarial examples to exploit the model’s vulnerabilities. A well-known technique in this context is the fast gradient sign method (FGSM), which calculates the loss gradients with respect to the input to produce malicious perturbations. In particular, in the white-box pipeline, the adversary is assumed to possess complete knowledge of the target model, including its architecture, parameters, and the ability to compute exact input gradients via backpropagation. Within this setting, the adversarial objective can be formulated as either untargeted or targeted. In the untargeted case, the adversary seeks to maximize the classification loss in order to induce any misclassification, whereas in the targeted case, the objective is to minimize the loss toward a specific target class. Additionally, all adversarial examples are restricted to the valid input domain to preserve semantic similarity with the original inputs. Given clean samples and their corresponding ground-truth labels, the preprocessing steps applied by the model, such as normalization, resizing, or data type transformations, must be accurately replicated during the attack to ensure correct gradient computation. The perturbation is then obtained by optimizing the chosen objective function using gradient-based techniques. The success of generated adversarial inputs is typically evaluated using metrics such as the accuracy for untargeted attacks, or the percentage of inputs classified into the desired target class for targeted attacks. Overall, the white-box attack pipeline represents the most powerful adversarial setting, establishing an upper bound on model vulnerability and serving as a benchmark for evaluating the robustness of machine learning systems. Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 6/37
By contrast, black-box attacks occur when the adversary lacks direct access to the model’s internal structure and parameters (Bountakas et al., 2023). Instead, the attacker must rely on querying the model and analyzing its outputs to infer decision boundaries. A common strategy involves training a surrogate model to approximate the target model’s behavior, allowing adversaries to develop and evaluate adversarial examples without explicit knowledge of the original model’s inner workings. More precisely, in the black-box pipeline, the adversary is assumed to have no access to the internal architecture, parameters, or gradients of the target model and can only interact with it through its outputs. Depending on the level of feedback available, black-box attacks can be categorized into three main strategies. The first is transfer-based attacks, where the adversary cannot directly query the target model but instead trains a surrogate model on data from a similar distribution. Adversarial examples are crafted on the surrogate model using white-box techniques are then transferred to the target model, relying on the transferability property of adversarial examples. The second category is score-based attacks, where the adversary can query the target model and obtain confidence scores or logits. In this setting, the attacker estimates approximate gradients by analyzing the variations in the model’s output scores when small perturbations are applied to the inputs and then uses these estimated gradients to iteratively generate adversarial examples. The third category is decision-based attacks, where only the predicted class labels are accessible. These attacks typically start from a heavily perturbed input that is already misclassified and iteratively reduce the perturbation magnitude while ensuring the example remains adversarial, using techniques such as the Boundary Attack. While white-box access is typically unattainable in real-world settings, attackers may still obtain limited information, such as a subset of input features, output class labels, or, in the case of DNNs, intermediate representations from hidden layers. This partial insight allows adversaries to develop more informed attack strategies than in black-box settings while operating under realistic constraints. This is widely known as the gray-box attack. Here, the adversary has partial knowledge of the target model but lacks full access to its internal parameters or complete architecture. In this setting, the attacker may know aspects such as the backbone network, data distribution, preprocessing techniques, or normalization statistics, but other components, such as task-specific heads or stochastic defenses, remain unknown. Limited queries to obtain labels or confidence scores may also be permitted under strict constraints. The attack can be either untargeted, aiming to induce any misclassification, or targeted, forcing predictions into a specific class, while ensuring perturbations remain visually imperceptible and valid within the input domain. To exploit available knowledge, the adversary typically builds a calibrated surrogate model aligned with the known properties of the target system. When possible, the surrogate is refined through fine-tuning, synthetic data generation, or distillation from limited queries. For non-differentiable components or randomized defenses. Compared to white-box attacks, gray-box scenarios are more challenging but also more realistic, bridging the gap between fully transparent systems and complete black-box settings. Adversarial attacks can also be grouped by their strategy, defining their implementation and objectives. Evasion attacks introduce small, often imperceptible perturbations to data Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 7/37
during inference to mislead the model. Poisoning attacks compromise the training process by injecting malicious samples into the dataset. Model extraction attacks replicate a proprietary model by querying it and subsequently training a substitute. Finally, inference attacks (e.g., membership or model inference and attribute inference) aim to glean sensitive information from the model, such as whether a specific record was included in the training set. Categories of adversarial techniques Adversarial techniques exploit specific vulnerabilities in ML models, often targeting their behavior in various ways. While the spectrum of adversarial methods is extensive, this section concentrates on four key attack strategies—evasion attacks, poisoning attacks, model extraction attacks, and inference attacks—that exemplify adversaries’diverse approaches to compromise models. Evasion Attacks. Evasion attacks exploit ML models’vulnerabilities during inference by introducing small, carefully designed perturbations to the input data. While these perturbations usually remain imperceptible to the human eye, they are crafted to deceive the model into making incorrect predictions or classifications. By targeting a model’s decision boundaries, attackers can push inputs across these boundaries with minimal modifications, thereby causing a significant degradation in the model’s performance. For instance, an adversary could subtly alter an image of a stop sign so that a computer vision model, potentially integrated into an autonomous vehicle, misclassifies it as a yield sign (Papernot et al., 2017). Such scenarios can lead to dangerous real-world consequences. Evasion attacks fundamentally rely on gradient-based methods. Attackers compute the gradient of the model’s loss function with respect to the input data to determine the direction that maximally increases the model’s error. By applying a perturbation aligned with this direction, they create adversarial examples that appear visually unchanged to human observers. A commonly used formulation for crafting such perturbations is shown in Eq. (1) (Pantelakis et al., 2023): Xadv ¼xþ2.signðrxLðx;yÞÞ (1) where xis the original input, 2is the perturbation magnitude, which determines the quantity of noise that is added to the input, and rxLðx;yÞis the gradient of the loss function with respect to x. The effectiveness of evasion attacks stems from deep learning models’inherent sensitivity to slight input variations. While this sensitivity facilitates the capture of complex patterns, it also makes these models vulnerable to adversarial manipulations. A thorough understanding of evasion attacks helps researchers anticipate potential threats and develop strategies to fortify model robustness. Poisoning attacks. Unlike evasion attacks, which target the model during inference, poisoning attacks involve intentionally manipulating training data to introduce vulnerabilities into the model. These attacks exploit the reliance of ML algorithms on clean and representative datasets by contaminating the training set with maliciously crafted Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 8/37
samples. The adversary strategically injects these samples to influence the model’s learning process by degrading its overall performance or inducing specific erroneous behaviors under targeted conditions. Poisoning attacks typically exploit vulnerabilities in the data collection and model training pipeline by leveraging the following mechanisms: .Label flipping: Adversaries manipulate the labels of training samples to induce incorrect associations within the model. For example, altered labels in a facial recognition system may lead the model to misidentify individuals, thereby degrading its classification accuracy. .Feature injection: Attackers introduce malicious examples containing irrelevant or misleading features into the training dataset. Such perturbations distort the model’s feature space and learning trajectory. For instance, inserting benign-looking but carefully crafted patterns into spam emails can cause the classifier to misinterpret or overlook legitimate spam indicators. .Backdoor attacks: These constitute a specialized class of poisoning attacks, wherein adversaries embed specific“triggers”within the data that are covertly associated with particular target labels. During inference, the trigger compels the model to misclassify inputs, irrespective of their true content. Poisoning attacks pose a significant threat, mainly when training data is sourced from unverified or publicly accessible origins. Such vulnerabilities are prevalent in federated learning frameworks, open-source repositories, and collaboratively curated datasets. In these contexts, attackers can insert adversarial samples into the data stream, compromising the resulting model’s integrity and reliability. Model extraction attacks. These target ML systems by replicating their functionality through systematic querying. These attacks are particularly concerning for models deployed via publicly accessible application program interfaces (APIs), where adversaries can exploit the query-response interface to infer decision boundaries or approximate the underlying parameters of the target model. Such actions not only compromise the intellectual property of the model owner but also enable further adversarial activities, such as evasion attacks. The tactics employed by attackers are influenced by the type of model outputs available. When soft labels (i.e., class probabilities) are accessible, adversaries can efficiently approximate model parameters with relatively few queries. In contrast, when only hard labels (i.e., predicted classes) are returned, the extraction process becomes more challenging. Nonetheless, Tramèr et al. (2016) demonstrated that linear and non-linear models can be effectively extracted even in such constrained settings. Their work showed that it is possible to replicate a target model’s behavior with high fidelity despite limited access to output information with carefully crafted queries. Model extraction is often accompanied by surrogate training, wherein the adversary uses the collected query-response pairs to train a local model that mimics the decision-making process of the target system. This surrogate model can be exploited for Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 9/37
single-channel grayscale images for the MNIST and Fashion MNIST datasets. Input data adjustment: All images were resized to 224 224 pixels to match VGG11’s expected input dimensions. Output adjustment: The final fully connected layer was replaced with a new layer configured to output predictions for 10 classes, corresponding to the labels in MNIST, Fashion-MNIST, and CIFAR-10. Security requirements Defining security requirements for an adversarial AI evasion attack tool is essential to mitigate misuse, uphold ethical research standards, and maintain control over the tool’s operation. These requirements facilitate controlled access, restrict excessive resource consumption, and ensure the reproducibility of attacks. Furthermore, they safeguard sensitive data, preserve the integrity of targeted models, and support forensic analysis to monitor and address potential risks. Based on recent literature (Pantelakis et al., 2023; Petihakis et al., 2024), the following security requirements have been identified: S1—Secure model interaction.The tool must utilize controlled APIs for interaction with target models, thereby preventing direct filesystem modifications. All inputs and outputs associated with model queries must be logged and verified through checksums to detect unauthorized alterations. S2—Execution integrity.Modifications to the attack code or dynamic tampering of attack algorithms during execution must be strictly prohibited to ensure the integrity of the tool’s operation. S3—Controlled access.Prior to execution, the integrity of attack scripts must be verified through cryptographic signing mechanisms to prevent unauthorized code execution. S4—Resource and abuse controls.The tool must implement resource usage constraints to mitigate the risk of Denial-of-Service (DoS) attacks and must be capable of detecting and halting recursive attack chaining that could result in uncontrolled adversarial retraining. EVAISION architecture EVAISION is designed to perform adversarial attacks on ML models through an automated and modular framework. This design allows users to conduct multiple evaluations and collect performance metrics without developing separate scripts for each attack scenario. Its modular architecture ensures seamless integration of additional attacks, models, or evaluation metrics, making EVAISION inherently extensible for adversarial robustness testing. Figure 2 illustrates the architecture of EVAISION, highlighting its key components and their interactions. The core components of EVAISION include the main script as well as the attack and evaluation modules. Attack Manager. The Attack Manager acts as the central coordinator within EVAISION, overseeing the execution of adversarial attacks. It interfaces between user-defined parameters and internal components, ensuring a seamless workflow from input handling Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 16/37
to attack execution and performance evaluation. A critical responsibility of the Attack Manager is to interface with the Target Model Connector, facilitating communication with external AI models. It manages the delivery of perturbed inputs and collects corresponding predictions for analysis. Moreover, the Attack Manager selects appropriate attack strategies based on user-specified requirements and model access constraints (e.g., white-box or black-box). It ensures the Attack Generation Engine operates using the selected methods, such as gradient-based approaches (e.g., FGSM, PGD). It also monitors the entire attack lifecycle, from input preprocessing and attack generation to results aggregation. The Attack Manager works closely with the Evaluation Module to guarantee accurate and meaningful performance insights, including attack success rates and perturbation metrics. Its adaptable design allows for straightforward expansion, accommodating diverse AI models and attack configurations, thereby providing a robust framework for evaluating model robustness. Target model connector. This module serves as a standardized interface between EVAISION and external AI models, supporting both transparent (white-box) and opaque (black-box) settings. In transparent configurations, the connector enables direct access to gradients, model parameters, and architecture, facilitating highly optimized attacks. It supports query-based interactions in opaque scenarios, allowing EVAISION to send crafted inputs and analyze the model’s outputs to identify vulnerabilities. The Target Model Connector also ensures input/output compatibility by applying necessary transformations, such as normalization, encoding, or resizing, tailored to the requirements of the target model. Overall, this module ensures reliable integration with diverse AI systems, enabling realistic adversarial testing across various deployment environments. Attack generation engine. This module generates adversarial perturbations designed to deceive external AI systems. It implements diverse attack algorithms, categorized into gradient-based, optimization-based, and query-based techniques. It leverages methods such as FGSM, PGD, C&W, and DeepFool to exploit model vulnerabilities via carefully Attack Manager Target Model Connector Attack Generation Engine Perturbation Module P Attack Evaluation EvAIson Target Machine Evaison attacks Attack impact Figure 2 EVAISION blueprint. Full-size DOI: 10.7717/peerj-cs.3330/fig-2 Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 17/37
crafted input alterations in white-box scenarios. Its flexible design allows EVAISION to assess model robustness under various attack methodologies and operational conditions. Data perturbation module. This module ensures that perturbations remain subtle yet effective in misleading the target model. It preprocesses input data to meet the format requirements of both the attack algorithms and the target AI system, applying transformations such as normalization, resizing, and encoding based on the data type (e.g., image, text, or structured data). Once preprocessed, the module applies adversarial perturbations generated by the Attack Generation Engine, adhering to specific norm constraints to maintain imperceptibility. It incorporates refinement techniques, including optimization-based adjustments, to balance minimal distortion with high attack success rates. This module ensures that generated adversarial examples are both realistic and impactful. Attack evaluation module. This component evaluates the efficacy of adversarial attacks by analyzing the impact of perturbed inputs on the target model’s predictions. It provides quantitative and qualitative metrics, including accuracy, precision, recall, F1-score, misclassification rate, and mean confidence. Additionally, it measures shifts in prediction confidence, highlighting how adversarial inputs affect model certainty. The module supports side-by-side comparisons between clean and adversarial predictions, enabling detailed analysis of model vulnerabilities. This module strengthens the analysis of adversarial robustness and supports broader security assessments by providing a comprehensive evaluation framework. Processing flow. The tool’s processing pipeline begins with user-defined inputs and attack parameters, such as attack type (e.g., FGSM, PGD, C&W), perturbation constraints, and access mode (white-box or black-box). The input data is first processed by the data perturbation module, which performs necessary preprocessing (e.g., normalization, resizing, encoding, tokenization). The preprocessed data is passed to the Attack Generation Engine, which generates adversarial perturbations in accordance with the selected strategy. In white-box settings, the engine computes gradients to optimize perturbations; in black-box scenarios, it uses query-based techniques to refine inputs iteratively. The generated adversarial examples are then passed to the Target Model Connector, which interfaces with the external AI model to obtain predictions. The Attack Evaluation Module analyzes these outputs to compute the final metrics. Each attack type requires specific parameters, summarized as follows: .FGSM: epsilon .PGD: epsilon, step size, number of iterations .DeepFool: maximum iterations, overshoot .C&W: confidence, learning rate, maximum iterations Upon completion of the attack, the adversarial examples are used to evaluate the model’s robustness through the defined metrics. Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 18/37
FGSM implementation. The run_fgsm function leverages the Adversarial Robustness Toolbox (ART) (LF AI Foundation, 2025) to implement FGSM. The input is converted to a NumPy array as ART requires, and the FGSM class is instantiated with the classifier and epsilon (perturbation strength). The fgsm.generate() method applies perturbations that maximize the model’s loss. PGD implementation. The run_pgd function similarly uses ART for PGD. After converting input data to NumPy arrays, the PGD class is configured with parameters such as maximum perturbation, step size, and iterations. Adversarial examples are generated iteratively and returned as PyTorch tensors. DeepFool implementation. The run_deepfool function implements DeepFool via ART. It initializes the DeepFool class with the target classifier and generates minimal perturbations required for misclassification. The outputs are returned to the main pipeline for evaluation. C&W implementation. The run_carlini_wagner function uses ART’s CarliniL2Method class. Inputs are transformed into NumPy arrays, and the class is configured with confidence and iteration parameters. The generate method applies the C&W optimization algorithm, and results are returned for further analysis. PERFORMANCE EVALUATION The execution of all the attacks and the calculation of the metrics presented below were carried out on a machine equipped with a 13th Gen Intel Core i7 processor, an NVIDIA GeForce RTX 4060 graphics card, and 16 GB of RAM, running the Windows 11 Operating System. In EVAISION, a set of evaluation metrics was defined to assess the performance of the ML models against the adversarial techniques employed. These metrics were computed for the model performance on clean datasets and on the adversarial examples generated by the attacks. This dual approach ensures a more comprehensive comparison of the results. The metrics currently included in the evaluation module of EVAISION are described below. To ensure robustness and mitigate stochastic variability, each adversarial AI attack was independently executed five times per model-attack pair. The reported results represent the average performance across these runs, and standard deviations are also provided where applicable to reflect the statistical consistency of the outcomes. This repetition enables a more reliable comparison between models and attacks, contributing to the statistical validity of the evaluation. Accuracy (see Eq. (7)) measures the proportion of correctly classified samples out of the total dataset. It also functions as a general indicator of the model’s predictive capability. Accuracy ¼Number of Correct Predictions Total Number of Samples (7) Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 19/37
Precision evaluates the proportion of true positive predictions out of all positive predictions made by the model (see Eq. (8)). It reflects the model’s ability to avoid false positives. Precision ¼True Positives True Positives þFalse Positives (8) Recall measures the proportion of true positive predictions out of the actual positives in the dataset (see Eq. (9)). It assesses the model’s ability to identify all relevant instances without missing any. Recall ¼True Positives True Positives þFalse Negatives (9) F1-score is the harmonic mean of precision and recall, providing a single metric that balances both false positives and false negatives (see Eq. (10)). F1-score ¼2Precision Recall Precision þRecall (10) Misclassification rate complements accuracy by measuring the proportion of incorrect predictions (see Eq. (11)). It is defined as: Misclassification Rate ¼1Accuracy (11) Mean confidence measures the average confidence level of the model in its predictions for the true class labels (see Eq. (12)). If the output probabilities are not normalized, a softmax function is applied to ensure the values represent proper confidence scores. Mean Confidence ¼1 NX N i¼1 PðTrue ClassxiÞ(12) where PðTrueClassxiÞis the predicted probability for the true class of sample xi. Below, we present the overall impact summary per model and per dataset (MNIST, Fashion-MNIST, CIFAR-10). The impact is calculated as the difference between the metric value after the attack and the metric value before the attack (see Eq. (13)). Impact ¼MetricAfter MetricBefore:(13) For our experiments, we carefully selected the hyperparameters of the employed attacks based on commonly adopted practices in the literature to ensure fair comparisons. More precisely, for the FGSM, the perturbation magnitude ewas set to 0:2, which controls the maximum allowed distortion added to the input while generating adversarial examples. Regarding PGD, we used e¼0:1, a step size per iteration of 0:001, and the maximum number of optimization iterations was fixed at 40. In C&W, we set the confidence parameter to 0:1 to enforce a small separation margin from the decision boundary, and the maximum number of iterations was fixed at 10. Finally, for DeepFool, the maximum number of iterations was set to 100, with an evalue of 1e−6 to control the overshoot Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 20/37
parameter. Additionally, the number of class gradients computed per iteration was set to 10 to efficiently approximate decision boundaries. These hyperparameters were chosen to balance attack strength and computational efficiency, ensuring a fair evaluation across different adversarial techniques. Baseline The initial phase of our evaluation involved measuring the performance of the models under their original, unperturbed conditions before introducing adversarial AI attacks. The assessment is based on the aforementioned evaluation metrics. Table 1 summarizes the baseline performance of the models (i.e., FCNN, LeNet, Simple CNN, MobileNetV2, and VG11) during their correct operation. Notably, these baseline results were obtained from experiments conducted five times each in the described environment. Simple CNN consistently achieved the highest accuracy across all datasets (i.e., MNIST, FashionMNIST, and CIFAR-10). In contrast, LeNet performed the worst on MNIST and FashionMNIST, while MobileNetV2 exhibited the lowest accuracy on CIFAR-10. Although the evaluation is conducted on widely-used benchmark datasets (i.e., MNIST, FashionMNIST, and CIFAR-10), these datasets are standard in adversarial ML research and provide a controlled, reproducible environment for rigorous comparison across attack techniques and models. Their established role in the literature ensures baseline validity while enabling future extension to more complex, real-world datasets. This pattern is further corroborated by other metrics, including the F1-score, precision, recall, mean confidence, and misclassification rate. FGSM impact summary The results of the FGSM attack across all evaluated models demonstrate considerable variability in the degree of impact on performance metrics, thereby highlighting the Table 1 Baseline metrics (Initial performance on AI models). Model Value (%) MNIST F-MNIST CIFAR-10 MNIST F-MNIST CIFAR-10 MNIST F-MNIST CIFAR-10 Accuracy F1-score Precision FCNN 92 87 39 91 85 35 91 87 37 LeNet 91 82 48 93 81 45 94 82 48 Simple CNN 96 89 61 97 88 59 97 88 62 MobileNetV2 96 84 18 96 83 13 65 85 15 VG11 96 87 50 96 87 48 96 88 49 Recall Mean confidence Misclassification rate FCNN 93 85 37 91 83 35 7 12 60 LeNet 94 82 45 92 77 36 6 17 51 Simple CNN 98 90 61 96 88 60 3 10 38 MobileNetV2 96 84 17 92 80 16 3 14 81 VG11 97 87 51 97 86 46 3 12 50 Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 21/37
relative robustness and vulnerabilities inherent to different neural network architectures under adversarial conditions (see Table 2). A comparative analysis of model performance under FGSM perturbations across all datasets reveals that susceptibility to adversarial attacks is highly architecture-dependent. Notably, the Simple CNN exhibited substantial vulnerability in most datasets, though the FCNN experienced even greater degradation in performance, particularly on the MNIST dataset. The FCNN’s lack of convolutional layers, and consequently spatial awareness, forces it to process input as a flat vector, severely limiting its capacity to capture local patterns and increasing its sensitivity to FCNN’s gradient-based perturbations. In contrast, while Simple CNN incorporates convolutional layers that provide a degree of spatial awareness, its shallow architecture limits its capacity for robust feature extraction and the formation of firm decision boundaries. This inadequacy renders it similarly vulnerable to adversarial noise, albeit marginally more robust than FCNN. LeNet, among the simpler architectures, demonstrated the highest resilience. Its use of convolutional layers and max pooling not only facilitates spatial feature extraction but also contributes to noise reduction, improving its defense against FGSM perturbations. MobileNetV2 outperformed LeNet in adversarial robustness, attributable to its more advanced architectural elements, such as depthwise separable convolutions and residual connections, which enhance feature extraction efficiency and offer improved resistance to adversarial inputs. Among all models tested, VGG11 exhibited the greatest resilience to FGSM attacks. Its deep architecture allows for hierarchical feature extraction, wherein early layers capture low-level features and deeper layers abstract complex patterns. This depth and its ability to form robust decision boundaries provide superior defense against adversarial perturbations compared to the other architectures evaluated. Table 2 Impact of the FGSM attack on the model performance metrics. Model Impact (%) MNIST F-MNIST CIFAR-10 MNIST F-MNIST CIFAR-10 MNIST F-MNIST CIFAR-10 Accuracy F1-score Precision FCNN −68 −54 −24 −66 −53 −23 −62 −48 −22 LeNet −11 −43 −29 −11 −40 −26 −12 −39 −32 Simple CNN −84 −64 −43 −83 −62 −43 −83 −60 −43 MobileNetV2 −8−65 −3−9−68 −2−8−67 −5 VG11 −4−60 −31 −5−58 −33 −3−52 −34 Recall Mean confidence Misclassification rate FCNN −67 −53 −25 −67 −50 24 68 54 24 LeNet −10 −41 −27 −13 −39 29 11 43 29 Simple CNN −83 −62 −45 −81 −62 43 84 64 43 MobileNetV2 −9−69 −3−9−62 3 8 65 3 VG11 −5−60 −34 −5−58 31 4 60 31 Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 22/37
PGD impact summary The PGD attack is another adversarial technique evaluated in this study (refer Table 3). The PGD attack iteratively refines perturbations to maximize their impact on model predictions. The following analysis summarizes the performance of each model under the PGD attack. The results of the PGD attack across all models highlight the varying levels of vulnerability, as well as the different impacts on evaluation metrics, as presented in Table 3. The Simple CNN model was the most affected by PGD, similar to the effect of the FGSM attack. Although the model incorporates convolutional layers, which provide spatial awareness, its shallow architecture limits its ability to construct robust decision boundaries. Similarly, the FCNN exhibited significant vulnerability due to its lack of spatial awareness, processing inputs as flat vectors and relying on global gradients for predictions. While FGSM caused a notable degradation in FCNN’s performance, the PGD attack, with its iterative and more targeted perturbations, led to slightly improved performance compared to FGSM. Surprisingly, VGG11 did not perform as well under PGD as anticipated, with considerable drops in evaluation metrics. The deeper architecture, which was expected to offer resilience, appeared vulnerable to PGD’s iterative perturbations, potentially due to its reliance on learned patterns that may have become fragile under adversarial manipulation. In contrast, MobileNetV2 demonstrated strong resistance to PGD, outperforming both the simpler models (FCNN and Simple CNN) and even VGG11. This is likely attributable to its use of separable convolutions and residual connections, which enhance its ability to extract features efficiently. LeNet performed the best under the PGD attack, exhibiting the smallest performance drops across all metrics. Its convolutional layers and max pooling mechanisms provide Table 3 Impact of the PGD attack on the model performance metrics. Model Impact (%) MNIST F-MNIST CIFAR-10 MNIST F-MNIST CIFAR-10 MNIST F-MNIST CIFAR-10 Accuracy F1-score Precision FCNN −33 −24 −32 −34 −26 −30 −31 −25 −31 LeNet −1−25 −37 −1−26 −35 0 −21 −37 Simple CNN −86 −45 −43 −85 −44 −45 −85 −42 −46 MobileNetV2 −3−75 −11 −6−74 −8−5−74 −17 VG11 −15 −74 −38 −15 −75 −37 −13 −73 −37 Recall Mean confidence Misclassification rate FCNN −32 −25 −33 −32 −23 −23 33 24 32 LeNet −1−28 −37 −3−21 −22 1 25 37 Simple CNN −86 −46 −46 −84 −44 −40 86 45 43 MobileNetV2 −5−73 −8−3−72 −8 3 75 11 VG11 −13 −75 −37 −16 −71 −33 15 74 38 Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 23/37
substantial spatial awareness and noise reduction. While lacking the depth of VGG11, LeNet’s relatively simple architecture may have contributed to its robustness, as it did not overfit to specific patterns during training. DeepFool impact summary The results from the DeepFool attack indicate that all the models tested were significantly affected, exhibiting substantial degradation across all performance metrics (refer to Table 4). The Simple CNN demonstrated the most negligible impact on most metrics among the models evaluated, outperforming the other architectures tested in this attack. Its relatively simple decision boundaries limited the ability of the DeepFool-generated adversarial samples to degrade performance, in contrast to the more complex models. Despite this relative resilience, the Simple CNN still experienced noticeable reductions in all performance metrics, as illustrated in Table 4. The FCNN, while showing a considerable impact from the attack, exhibited performance comparable to, and in some cases slightly better than, deeper models such as VGG11 in specific metrics. Its simpler architecture and reliance on global gradients allowed it to retain a slight advantage in terms of stability under the DeepFool attack compared to more complex models. In contrast, LeNet and VGG11 demonstrated similarly compromised performance under the DeepFool attack. Although VGG11’s deeper architecture and more complex decision boundaries had previously provided it with some robustness, these features were insufficient in mitigating the effects of DeepFool’s iterative adjustments. The attack exploited the model’s complexity, resulting in significant misclassifications. LeNet, a shallower architecture that had shown resilience against earlier attacks, also failed to maintain its robustness under DeepFool’s iterative precision. Table 4 Impact of the DeepFool attack on the model performance metrics. Model Impact (%) MNIST F-MNIST CIFAR-10 MNIST F-MNIST CIFAR-10 MNIST F-MNIST CIFAR-10 Accuracy F1-score Precision FCNN −91 −76 −27 −90 −73 −26 −90 −70 −27 LeNet −93 −72 −27 −94 −74 −25 −94 −75 −25 Simple CNN −72 −83 −44 −70 −83 −43 −61 −85 −44 MobileNetV2 −96 −54 −11 −95 −52 −12 −94 −49 −11 VG11 −93 −78 −31 −93 −78 −30 −92 −79 −30 Recall Mean confidence Misclassification rate FCNN −91 −74 −29 −53 −46 −11 91 76 27 LeNet −94 −74 −27 −52 −35 −10 93 72 27 Simple CNN −72 −82 −45 −50 −42 −22 72 83 44 MobileNetV2 −96 −54 −17 −54 −37 −3965411 VG11 −94 −77 −33 −49 −41 −14 93 78 31 Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 24/37
Lastly, MobileNetV2 experienced the most significant degradation across all datasets, particularly in key metrics such as accuracy and mean confidence. Despite the advantages of residual connections in improving stability under simpler attacks like FGSM or PGD, these mechanisms did not provide the same level of protection against the DeepFool attack. Consequently, MobileNetV2’s performance was substantially impaired. C&W impact summary The results of the C&W attack highlight varying levels of impact across the tested models, demonstrating their relative robustness to adversarial perturbations (see Table 5). The C&W attack (see Table 5) induced varying degrees of disruption across the models, revealing their resilience to these adversarial perturbations. As expected, the Simple CNN model exhibited the greatest susceptibility, experiencing substantial performance drops across most metrics. While its convolutional layers provided some spatial awareness, its shallow depth and weak decision boundaries rendered it particularly vulnerable to this attack. LeNet, with its combination of convolutional layers and max pooling, displayed moderate robustness compared to other models; however, the targeted nature of the C&W attack ultimately led to misclassifications, as its simple decision boundaries were insufficient to resist the perturbations. MobileNetV2 also suffered a noticeable performance degradation under the C&W attack, positioning it below the FCNN in terms of robustness. Despite its separable convolutions and residual connections, which enhance feature extraction, MobileNetV2’s architecture was not optimized for handling highly targeted perturbations like those induced by the C&W attack. Interestingly, the FCNN performed better than some more advanced models, including MobileNetV2. Its simple architecture and linear decision boundaries, typically seen as disadvantages, may have Table 5 Impact of the C&W attack on the model performance metrics. Model Impact (%) MNIST F-MNIST CIFAR-10 MNIST F-MNIST CIFAR-10 MNIST F-MNIST CIFAR-10 Accuracy F1-score Precision FCNN −11 −32 −12 −12 −32 −9−11 −31 −6 LeNet −6−28 −18 −8−28 −17 −7−27 −17 Simple CNN −86 −78 −45 −87 −78 −44 −85 −77 −46 MobileNetV2 −17 −75 −5−19 −74 −2−16 −73 −3 VG11 −2−13 −15 −2−15 −16 −1−12 −14 Recall Mean confidence Misclassification rate FCNN −11 −32 −11 −5−16 −5113212 LeNet −8−28 −19 −3−13 −5 6 28 18 Simple CNN −87 −80 −46 −60 −51 −25 86 78 45 MobileNetV2 −18 −74 −5−10 −46 −11775 5 VG11 −2−15 −16 −1−9−8 2 13 15 Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 25/37
(RESCALE). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. Grant Disclosures The following grant information was disclosed by the authors: European Commission’s Horizon Europe and DIGITAL: 101131292 (AIAS), 101183162 (ANTIDOTE), 101168407 (cPAID) and 101120962 (RESCALE). Competing Interests Apostolis Zarras is employed by the Foundation for Research and Technology and Aristeidis Farao is employed by the University of Piraeus. Aristeidis Farao is also employed by InQbit Innovations SRL, Romania. Author Contributions .Apostolis Zarras conceived and designed the experiments, performed the experiments, analyzed the data, performed the computation work, prepared figures and/or tables, authored or reviewed drafts of the article, and approved the final draft. .Athanasia Kollarou conceived and designed the experiments, performed the experiments, analyzed the data, performed the computation work, prepared figures and/ or tables, authored or reviewed drafts of the article, and approved the final draft. .Aristeidis Farao conceived and designed the experiments, performed the experiments, analyzed the data, performed the computation work, prepared figures and/or tables, authored or reviewed drafts of the article, and approved the final draft. .Panagiotis Bountakas conceived and designed the experiments, performed the experiments, analyzed the data, performed the computation work, prepared figures and/ or tables, authored or reviewed drafts of the article, and approved the final draft. .Christos Xenakis conceived and designed the experiments, performed the experiments, analyzed the data, performed the computation work, prepared figures and/or tables, authored or reviewed drafts of the article, and approved the final draft. Data Availability The following information was supplied regarding data availability: The code and data is available at GitHub and Zenodo: -https://github.com/UniPiSSL/testing-the-limits-evAIsion. - University of Piraeus. (2025). EVAISION. Zenodo. https://doi.org/10.5281/zenodo. 17276197. The MNIST dataset is available at GitHub: https://git-disl.github.io/GTDLBench/ datasets/mnist_datasets/. The Fashion-MNIST dataset is available at GitHub: https://github.com/ zalandoresearch/fashion-mnist. The CIFAR-10 dataset: https://www.cs.toronto.edu/~kriz/cifar.html. Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 32/37
REFERENCES Abou Khamis R, Shafiq MO, Matrawy A. 2020. Investigating resistance of deep learning-based IDS against adversaries using min-max optimization. In: ICC 2020–2020 IEEE International Conference on Communications (ICC). Piscataway: IEEE, 1–7. Aguilera-Martínez F, Berzal F. 2025. LLM security: vulnerabilities, attacks, defenses, and countermeasures. ArXiv DOI 10.48550/arXiv.2505.01177. Ahmed AA, Echi M. 2021. Hawk-eye: an AI-powered threat detector for intelligent surveillance cameras. IEEE Access 9:63283–63293 DOI 10.1109/access.2021.3074319. Ahmed AA, Neeru N. 2024. A comparative analysis of adversarial attack methods on machine learning models. International Journal of Scientific Research in Engineering and Management 8(008):1–6DOI 10.55041/IJSREM37340. Algarni A, Thayananthan V. 2025. Digital health: the cybersecurity for AI-based healthcare communication. IEEE Access 13:5858–5870 DOI 10.1109/ACCESS.2025.3526666. Apruzzese G, Andreolini M, Marchetti M, Colacino VG, Russo G. 2020. AppCon: mitigating evasion attacks to ML cyber detectors. Symmetry 12(4):653 DOI 10.3390/sym12040653. Ardabili BR, Pazho AD, Noghre GA, Neff C, Bhaskararayuni SD, Ravindran A, Reid S, Tabkhi H. 2023. Understanding policy and technical aspects of AI-enabled smart video surveillance to address public safety. Computational Urban Science 3(1):21 DOI 10.1007/s43762-023-00097-8. Ayub MA, Johnson WA, Talbert DA, Siraj A. 2020. Model evasion attack on intrusion detection systems using adversarial machine learning. In: 2020 54th Annual Conference on Information Sciences and Systems (CISS). Piscataway: IEEE, 1–6. Bhagoji AN, Cullina D, Sitawarin C, Mittal P. 2018. Enhancing robustness of machine learning systems via data transformations. In: 2018 52nd Annual Conference on Information Sciences and Systems (CISS). Piscataway: IEEE, 1–5. Biggio B, Nelson B, Laskov P. 2012. Poisoning attacks against support vector machines. ArXiv DOI 10.48550/arXiv.1206.6389. Booth H. 2025. When AI thinks it will lose, it sometimes cheats, study finds. TIME. Available at https://time.com/7259395/ai-chess-cheating-palisade-research/. Bountakas P, Zarras A, Lekidis A, Xenakis C. 2023. Defense strategies for adversarial machine learning: a survey. Computer Science Review 49(5):100573 DOI 10.1016/j.cosrev.2023.100573. Carlini N, Wagner D. 2017. Towards evaluating the robustness of neural networks. In: 2017 IEEE Symposium on Security and Privacy (SP). Piscataway: IEEE, 39–57. Charalambous M, Farao A, Kalantzantonakis G, Kanakakis P, Salamanos N, Kotsifakos E, Froudakis E. 2022. Analyzing coverages of cyber insurance policies using ontology. In: Proceedings of the 17th International Conference on Availability, Reliability and Security,1–7. Chowdhury A, Karmakar G, Kamruzzaman J, Jolfaei A, Das R. 2020. Attacks on self-driving cars and their countermeasures: a survey. IEEE Access 8:207308–207342 DOI 10.1109/access.2020.3037705. Chuah J, Kruger U, Wang G, Yan P, Hahn J. 2022. Framework for testing robustness of machine learning-based classifiers. Journal of Personalized Medicine 12(8):1314 DOI 10.3390/jpm12081314. Clark L. 2025. Cheap ‘n’simple sign trickery will bamboozle self-driving cars, fresh research claims. The Registry. Available at https://www.theregister.com/2025/03/07/lowcost_malicious_attacks_ on_selfdriving/. Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 33/37
Cui J, Liew LS, Sabaliauskaite G, Zhou F. 2019. A review on safety failures, security attacks, and available countermeasures for autonomous vehicles. Ad Hoc Networks 90(Supplement C):101823 DOI 10.1016/j.adhoc.2018.12.006. Dasgupta P, Collins J. 2019. A survey of game theoretic approaches for adversarial machine learning in cybersecurity tasks. AI Magazine 40(2):31–43 DOI 10.1609/aimag.v40i2.2847. Dazed. 2025. This ugly AF t-shirt blocks facial recognition technology. Available at https://www. dazeddigital.com/science-tech/article/49183/1/this-t-shirt-blocks-facial-recognition-technology. Dong Y, Liao F, Pang T, Su H, Zhu J, Hu X, Li J. 2018. Boosting adversarial attacks with momentum. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE, 9185–9193. Dritsoula L, Loiseau P, Musacchio J. 2017. A game-theoretic analysis of adversarial classification. IEEE Transactions on Information Forensics and Security 12(12):3094–3109 DOI 10.1109/tifs.2017.2718494. Fang C-Y, Chen S-W, Fuh C-S. 2003. Road-sign detection and tracking. IEEE Transactions on Vehicular Technology 52(5):1329–1341 DOI 10.1109/tvt.2003.810999. Farao A, Ntantogian C, Karagiannis S, Magkos E, Dritsa A, Xenakis C. 2024. NITRO: an interconnected 5G-IoT cyber range. In: Proceedings of the 19th International Conference on Availability, Reliability and Security,1–6. Gao L, Yan Z, Liang X, Xu X, Wang J, Ding W, Yang LT. 2023. Taxonomy and recent advance of game theoretical approaches in adversarial machine learning: a survey. ACM Transactions on Sensor Networks. Epub ahead of print 8 May 2023 DOI 10.1145/3600094. Goodfellow I, Bengio Y, Courville A, Bengio Y. 2016. Deep learning. Cambridge: MIT Press. Goodfellow IJ, Shlens J, Szegedy C. 2014. Explaining and harnessing adversarial examples. ArXiv DOI 10.48550/arXiv.1412.6572. Hassan M, Younis S, Rasheed A, Bilal M. 2022. Integrating single-shot fast gradient sign method (FGSM) with classical image processing techniques for generating adversarial attacks on deep learning classifiers. In: Fourteenth International Conference on Machine Vision (ICMV 2021). Vol. 12084. Bellingham: SPIE, 323–334. Hinton G, Vinyals O, Dean J. 2015. Distilling the knowledge in a neural network. ArXiv DOI 10.48550/arXiv.1503.02531. Hussain M, Shang Z, Hong J-E. 2025. Adaptive precision layering for efficient adversarial training of deep learning models in intelligent vehicles. Expert Systems with Applications 272(1):126752 DOI 10.1016/j.eswa.2025.126752. Jiang H, Lin J, Kang H. 2022. FGMD: a robust detector against adversarial attacks in the IoT network. Future Generation Computer Systems 132:194–210 DOI 10.1016/j.future.2022.02.019. Joshi S, Kataria S, Shao Y, Zelasko P, Villalba J, Khudanpur S, Dehak N. 2022. Defense against adversarial attacks on hybrid speech recognition using joint adversarial fine-tuning with denoiser. ArXiv DOI 10.48550/arXiv.2204.03851. Kotyan S. 2023. A reading survey on adversarial machine learning: adversarial attacks and their understanding. ArXiv DOI 10.48550/arXiv.2308.03363. Krizhevsky A. 2009. Learning multiple layers of features from tiny images. Available at https://api. semanticscholar.org/CorpusID:18268744. Krizhevsky A, Sutskever I, Hinton GE. 2012. ImageNet classification with deep convolutional neural networks. Communication of the ACM 60(6):84–90 DOI 10.1145/3065386. Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 34/37
Lecun Y, Bottou L, Bengio Y, Haffner P. 1998. Gradient-based learning applied to document recognition. Proceedings of the IEEE 86(11):2278–2324 DOI 10.1109/5.726791. Lee H, Bae H, Yoon S. 2020. Gradient masking of label smoothing in adversarial robustness. IEEE Access 9:6453–6464 DOI 10.1109/access.2020.3048120. LF AI Foundation. 2025. Adversarial robustness toolbox. Available at https://github.com/TrustedAI/adversarial-robustness-toolbox. Li A, Zhou Y, Raghuram VC, Goldstein T, Goldblum M. 2025. Commercial LLM agents are already vulnerable to simple yet dangerous attacks. ArXiv DOI 10.48550/arXiv.2502.08586. Lin Y-C, Hong Z-W, Liao Y-H, Shih M-L, Liu M-Y, Sun M. 2017. Tactics of adversarial attack on deep reinforcement learning agents. ArXiv DOI 10.48550/arXiv.1703.06748. Madry A, Makelov A, Schmidt L, Tsipras D, Vladu A. 2017. Towards deep learning models resistant to adversarial attacks. ArXiv DOI 10.48550/arXiv.1706.06083. Mahimai LD, Gunasekaran M, Kim J, Kadry S. 2025. Adversarial robustness enhancement in deep learning-based breast cancer classification: a multi-faceted approach to poisoning and evasion attack mitigation. Alexandria Engineering Journal 115(1):65–82 DOI 10.1016/j.aej.2024.11.089. Meng D, Chen H. 2017. MagNet: a two-pronged defense against adversarial examples. In: Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, 135–147. Moosavi-Dezfooli S-M, Fawzi A, Frossard P. 2016. DeepFool: a simple and accurate method to fool deep neural networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Ning L-B, Wang S, Fan W, Li Q, Xu X, Chen H, Huang F. 2024. CheatAgent: attacking LLM-empowered recommender systems via LLM agent. In: Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, 2284–2295. Palmer G, Church P. 2024. The muah.AI data breach—extortion threats and cyber vulnerabilities. Linklaters. Available at https://www.linklaters.com/en/insights/blogs/digilinks/2024/october/themuah-ai-data-breach—extortion-threats-and-cyber-vulnerabilities. Pantelakis V, Bountakas P, Farao A, Xenakis C. 2023. Adversarial machine learning attacks on multiclass classification of IoT network traffic. In: Proceedings of the 18th International Conference on Availability, Reliability and Security,1–8. Papernot N, McDaniel P, Goodfellow I, Jha S, Celik ZB, Swami A. 2017. Practical black-box attacks against machine learning. In: Proceedings of the 2017 ACM on Asia Conference on Computer and Communications Security. New York: ACM, 506–519. Papernot N, McDaniel P, Wu X, Jha S, Swami A. 2016. Distillation as a defense to adversarial perturbations against deep neural networks. In: 2016 IEEE Symposium on Security and Privacy (SP). Piscataway: IEEE, 582–597. Paudice A, Muñoz-González L, Gyorgy A, Lupu EC. 2018. Detection of adversarial training examples in poisoning attacks through anomaly detection. ArXiv DOI 10.48550/arXiv.1802.03041. Pawlicki M, ChoraśM, Kozik R. 2020. Defending network intrusion detection systems against adversarial evasion attacks. Future Generation Computer Systems 110(11):148–154 DOI 10.1016/j.future.2020.04.013. Petihakis G, Farao A, Bountakas P, Sabazioti A, Polley J, Xenakis C. 2024. AIAS: AI-assisted cybersecurity platform to defend against adversarial AI attacks. In: Proceedings of the 19th International Conference on Availability, Reliability and Security,1–7. Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 35/37
PyTorch Foundation. 2025. torchvision. Available at https://pytorch.org/vision/stable/index.html. Rahman M, Roy P, Frizell S, Qian L. 2025. Evaluating pretrained deep learning models for image classification against individual and ensemble adversarial attacks. IEEE Access 13:35230–35242 DOI 10.1109/ACCESS.2025.3544107. Rosenberg I, Shabtai A, Elovici Y, Rokach L. 2019. Defense methods against adversarial examples for recurrent neural networks. ArXiv DOI 10.48550/arXiv.1901.09963. Sarkar TR, Das N, Maitra PS, Some B, Saha R, Adhikary O, Bose B, Sen J. 2024. Evaluating adversarial robustness: a comparison of FGSM, Carlini-Wagner attacks, and the role of distillation as defense mechanism. ArXiv DOI 10.48550/arXiv.2404.04245. Sen J, Dasgupta S. 2023. Adversarial attacks on image classification models: FGSM and patch attacks and their impact. ArXiv DOI 10.48550/arXiv.2307.02055. Shaheen MY. 2021. Applications of artificial intelligence (AI) in healthcare: a review. Berlin, Germany: ScienceOpen. Sharma S. 2025. Hacker allegedly puts massive OmniGPT breach data for sale on the dark web. CSO. Available at https://www.csoonline.com/article/3822911/hacker-allegedly-puts-massiveomnigpt-breach-data-for-sale-on-the-dark-web.html. Sharma N, Kaushik P. 2025. Integration of AI in healthcare systems—a discussion of the challenges and opportunities of integrating AI in healthcare systems for disease detection and diagnosis. In: AI in Disease Detection: Advancements and Applications. Hoboken, New Jersey, U.S.: Wiley, 239–263. Shokri R, Stronati M, Song C, Shmatikov V. 2017. Membership inference attacks against machine learning models. In: 2017 IEEE Symposium on Security and Privacy (SP). Piscataway: IEEE, 3–18. Suciu G, Farao A, Bernardinetti G, Palamà I, Sachian M-A, Vulpe A, Vochin M-C, Muresan P, Bampatsikos M, Muñoz A, Xenakis C. 2022. SAMGRID: security authorization and monitoring module based on SealedGRID platform. Sensors 22(17):6527 DOI 10.3390/s22176527. Szegedy C. 2013. Intriguing properties of neural networks. ArXiv DOI 10.48550/arXiv.1312.6199. Taheri R, Javidan R, Shojafar M, Pooranian Z, Miri A, Conti M. 2020. On defending against label flipping attacks on malware detection systems. Neural Computing and Applications 32(18):14781–14800 DOI 10.1007/s00521-020-04831-9. The Linux Foundation. 2025. PyTorch. Available at https://pytorch.org/. Tramèr F, Zhang F, Juels A, Reiter MK, Ristenpart T. 2016. Stealing machine learning models via prediction {APIs}. In: 25th USENIX Security Symposium (USENIX Security 16), 601–618. Villegas-Ch W, Jaramillo-Alcázar A, Luján-Mora S. 2024. Evaluating the robustness of deep learning models against adversarial attacks: an analysis with FGSM, PGD and CW. Big Data and Cognitive Computing 8(1):8 DOI 10.3390/bdcc8010008. Wang Y, Sun T, Li S, Yuan X, Ni W, Hossain E, Poor HV. 2023. Adversarial attacks and defenses in machine learning-empowered communication systems and networks: a contemporary survey. IEEE Communications Surveys & Tutorials 25:2245–2298 DOI 10.1109/COMST.2023.3319492. Wu B, Wei S, Zhu M, Zheng M, Zhu Z, Zhang M, Chen H, Yuan D, Liu L, Liu Q. 2023. Defenses in adversarial machine learning: a survey. ArXiv DOI 10.48550/arXiv.2312.08890. Xiao H, Rasul K, Vollgraf R. 2017. Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms. ArXiv DOI 10.48550/arXiv.1708.07747. Xu W, Evans D, Qi Y. 2017. Feature squeezing: detecting adversarial examples in deep neural networks. ArXiv DOI 10.48550/arXiv.1704.01155. Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 36/37
Xu X, Kong K, Liu N, Cui L, Wang D, Zhang J, Kankanhalli M. 2023. An LLM can fool itself: a prompt-based adversarial attack. ArXiv DOI 10.48550/arXiv.2310.13345. Zhang K, Cheng S, Shen G, Ribeiro B, An S, Chen P-Y, Zhang X, Li N. 2025. CENSOR: defense against gradient inversion via orthogonal subspace bayesian sampling. ArXiv DOI 10.48550/arXiv.2501.15718. Zarras et al. (2025), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.3330 37/37