Submitted:
30 November 2026
Posted:
02 December 2026
You are already at the latest version
Abstract
Intrusion detection began in the 1980s as the statistical analysis of audit records, and it has since become a field in which machine-learning detectors, human analysts and, most recently, large language models (LLMs) share the work of defending networks and the people who use them. That development is traced in this literature review from 1980 to 2026, beginning with audit-based and statistical intrusion detection in the 1980s, followed by signature and anomaly detectors, the first benchmark evaluations and their critiques in the 1990s, machine-learning detection and new benchmark data sets in the 2000s and 2010s, and deep learning, data-set critiques and the arrival of LLMs in security in the 2020s. Four areas of the current state of the art are then surveyed, namely machine learning for intrusion and web-attack detection, with the data sets and evaluation pitfalls that shape reported results, security awareness and the human factors of security operations, LLMs in cybersecurity, from knowledge benchmarks and assistants to quantisation, multilingual effects, prompt injection and its defences, and the open-source tools, data sets and implementation choices that decide whether systems can be reproduced and deployed. The literature was located through OpenAlex, Crossref, DataCite and arXiv, and every reference was checked against its registry record. In addition, comparison tables summarise benchmark data sets, evaluation pitfalls, awareness studies, LLM benchmarks and applications, prompt-injection attacks and defences, and open-source tools. Recent studies have shown that much of the apparent skill of detectors trained on popular benchmarks comes from data-set artefacts and label errors, that awareness training in its commonly deployed forms changes behaviour little, that quantised small models lose more of their security knowledge in a less-resourced language such as Greek than in English, that an assistant explaining attacker-written log lines can be steered by instructions hidden in them unless its verdict is fixed outside the model, and that the speedup reported for a rewrite in a faster language can come mostly from a change of algorithm. Finally, open challenges are discussed in evaluation realism, verdict integrity, multilingual equity, deployment under limited resources, behavioural change and reproducible reporting.
Keywords:
cybersecurity
; intrusion detection
; machine learning
; benchmark data sets
; shortcut learning
; security awareness
; phishing
; security operations
; large language models
; prompt injection
; quantisation
; multilingual evaluation
; open-source tools
1. Introduction
Computer security monitoring is older than the networks it now protects. In 1980, the question of how the audit records kept by a computer system could improve the surveillance of threats against it was studied by Anderson [1], and in 1987 a model of a real-time intrusion-detection expert system was described by Denning, built on the hypothesis that security violations can be detected by monitoring audit records for abnormal patterns of use [2]. In the same years, computer viruses were defined by Cohen, who also presented defences against them and described experiments with them [3], and the Internet worm of November 1988 exploited flaws in utility programs of BSD-derived Unix systems to infect thousands of machines and disrupt Internet connectivity for days [4]. From these beginnings, intrusion detection grew into a family of signature-based and anomaly-based systems that watch hosts, networks, applications and logs [5,6,7].
Four decades later, detection is still limited less by the ability to raise alarms than by the ability to raise the right ones. Because attacks are rare among benign events, the false-alarm rate rather than the detection rate limits the usefulness of a detector [8]. Moreover, analysts in security operation centres work under high stress and time pressure [9], and the volume of alerts produced by detection software leads to threat-alert fatigue, in which true attacks are missed in the noise of false alarms [10]. Machine learning has long promised to automate detection, yet it is rarely deployed in operational network intrusion detection [11], research and practice remain far apart [12], and the evaluation of learning-based security systems is prone to pitfalls that inflate reported performance [13]. In addition, the size and skills of the cybersecurity workforce are a concern in their own right [14].
Security also depends on people who are not security specialists. Users compromise security mechanisms when these ignore human factors [15], this weakness is exploited by attackers through phishing [16], and organisations rely on awareness campaigns and training whose effect on behaviour has been questioned [17]. Furthermore, it has been found in large field studies that embedded phishing training, as commonly deployed, does not make employees more resilient and can even make them more susceptible [18], and that recent completion of annual awareness training is not significantly related to the likelihood of failing a phishing simulation [19].
Since 2023, large language models (LLMs) have entered all of these areas. The Transformer architecture [20], large-scale pre-training [21,22] and instruction tuning [23] led to general assistants that can explain alerts, answer security questions, parse logs, repair code and draft phishing emails, and their use in cybersecurity is surveyed by a rapidly growing literature [24,25,26,27,28]. At the same time, new attack surfaces are opened by the same models, since instructions hidden in the data an LLM processes can hijack the application built around it [29,30]. Small open models that run on ordinary computers [31,32,33] and the quantisation methods that compress them [34,35] make on-premise assistants possible for organisations without specialised hardware, but the effects of compression are not the same in every language [36].
How these strands meet is illustrated by recent work on an integrated platform. In SentinelSphere, a deep-neural-network detector trained on public intrusion-detection benchmarks is combined with a quantised LLM that provides security-awareness training, and threats are presented through a traffic-light interface meant for both professionals and non-technical users [37,38,39]. Its parts were then examined one at a time in follow-on studies, which asked whether the HTTP-aware features of its detector carry a real signal on the benchmark on which they were evaluated [40], whether a small local security assistant can be talked out of an alert by instructions hidden in log lines [41], how much security knowledge quantised small models lose in Greek [42], and where the speedup of a Rust rewrite of its threat scorer comes from [43]. Each of these questions belongs to a larger line of research that is followed in this literature review.
Parts of this landscape are covered by existing reviews, namely machine learning and data mining for intrusion detection [44], anomaly detection [6,7], intrusion-detection data sets [45], tools for awareness and education [46], and LLMs in security [24,26,28]. This literature review differs from them in three ways. First, the field is followed over the whole period from 1980 to 2026, so that current problems, such as unreliable benchmarks, false alarms and attacks that exploit the data a system reads, can be seen against their history. Second, detection, human factors and LLMs are treated together, because in practice they meet in the same operations and often in the same tool. Third, particular weight is given to evaluation validity and to the constraints of small deployments, namely limited hardware, a less-resourced language and the need to reproduce reported results.
The contributions of this literature review are as follows.
- A historical account of intrusion detection, security awareness and LLMs in security from 1980 to 2026 (Section 3).
- A review of machine learning for intrusion and web-attack detection that relates benchmark data sets to the evaluation pitfalls documented for them (Section 4).
- A review of security awareness, training and security operations from the perspective of human factors (Section 5).
- A review of LLMs in cybersecurity covering knowledge benchmarks, applications, small quantised models in more than one language, and prompt injection with its defences (Section 6).
How the literature was located and verified is described in Section 2.
2. Methodology
2.1. Sources and Search Strategy
The literature was located with four open scholarly infrastructures. OpenAlex was used for keyword searches, for citation-ranked lists and for the annual counts in Figure 1. The metadata of journal articles, conference papers and book chapters registered with a DOI were obtained from Crossref, whereas the metadata of arXiv and Preprints.org postings and of software and data deposited on Zenodo were obtained from DataCite. Works without a DOI, such as technical reports, conference papers held by their publishers’ websites, data-set pages and software projects, were checked on the publisher, repository or project page.
The four search strings in Table 1 were combined with filters on publication year. For each string, the most cited works of each period and the most recent works were screened by title and abstract. In addition, the reference lists of the main surveys [12,24,26,28,44,45,46] were then followed backwards, and the works that introduced the data sets, models, defences and open-source tools discussed in Section 4 to 7 were added.
2.2. Inclusion Criteria
Works were included when they introduced or evaluated an intrusion, web-attack, malware or log-anomaly detector, described a data set used to evaluate such detectors or a flaw in one, studied the evaluation methodology of learning-based security systems, studied security awareness, training, phishing or the work of security analysts, evaluated or applied language models for a security task, described an attack on a language-model application or a defence against one, or provided an open-source tool or data set used in this literature review. In addition, work on language models, quantisation, tokenisation and performance measurement was included where it underpins these topics. Where several versions of a work exist, the version of record is cited when it carries a DOI, and otherwise the arXiv version. For recent works, preprints are cited together with the published version where both exist.
2.3. Verification of the References
Every reference was checked after the text was written. Each DOI was resolved through the doi.org handle service, and the title, first author and year were compared with the Crossref or DataCite record. Where the registry record differs from the published work, for example where a conference paper carries the date of its electronic deposit instead of its year of publication or a record gives only the main title of an article, the published work was followed and the difference is recorded in the verification log. Works without a DOI were checked against the publisher, repository or project record. Moreover, statements about the content of a specific work are based on its abstract or text. The log is provided with the LaTeX source of this literature review.
2.4. Growth of the Literature
The annual number of works that match each search string is shown in Figure 1 on a logarithmic scale. Intrusion detection grew from a few works a year in the 1980s to 176 in 2000, 1,421 in 2005 and 1,822 in 2010, stayed near that level until the late 2010s, and then rose again to 3,044 in 2020 and 10,141 in 2025. Machine learning accounts for an increasing share of this work, since works that also mention machine learning, deep learning or neural networks numbered 204 in 2010, about 11% of the intrusion-detection total, 1,377 in 2020, about 45%, and 6,423 in 2025, about 63%. Security awareness and phishing training grew steadily, from 16 works in 2000 to 178 in 2010, 578 in 2020 and 1,696 in 2025. Work on language models in cybersecurity is the youngest series, with 3 works found in 2021, 5 in 2022, 124 in 2023, 612 in 2024 and 1,697 in 2025, when it matched the annual output on security awareness. The counts rest on the wording of titles and abstracts, and phrase searches miss works that use other terms. They therefore show trends rather than totals.
3. Historical Development
3.1. Audit Trails, Statistical Profiles and the First Network Monitor
Intrusion detection began as the analysis of the records that operating systems already kept. The aim of a report by Anderson on computer security threat monitoring and surveillance, written in 1980, was to improve the security auditing and surveillance capability of a customer’s computer systems [1]. This idea was turned into a general model by Denning. Her intrusion-detection expert system rested on the hypothesis that security violations can be detected by monitoring a system’s audit records for abnormal patterns of use. In this system, the behaviour of subjects with respect to objects was represented by profiles built from metrics and statistical models, with rules for acquiring knowledge about this behaviour from the audit records and for detecting anomalous behaviour. Moreover, the system was independent of any particular system, vulnerability or type of intrusion [2].
The same decade showed what such systems would have to face. Computer viruses were defined by Cohen, who also presented defences against them and described experiments with them [3]. On 2 November 1988, the Internet worm exploited flaws in utility programs of BSD-derived Unix systems to break into machines and copy itself, spreading to thousands of machines and disrupting normal activities and Internet connectivity for many days [4]. Networks thus became both the medium of attack and a source of evidence. The profile idea was subsequently applied by Heberlein and colleagues to a broadcast local area network, and their network security monitor built profiles of the use of network resources and compared current usage with the historical profile to identify possible violations [47].
3.2. Signature and Anomaly Detection and the First Evaluations
During the 1990s, the field divided into two approaches that remain in use. Anomaly detectors learn what is normal and flag departures from it. Normal behaviour was defined by Forrest and colleagues through short-range correlations in the system calls of a process, an approach inspired by the immune system, and the definition was found to be stable for standard Unix programs and able to detect several common intrusions involving sendmail and lpr [48]. Misuse or signature detectors, by contrast, encode known attacks. Snort was designed as a lightweight, cross-platform network intrusion detection tool for small networks and was distributed under the GNU General Public License. When a set of web exploits was disclosed, rules to detect the corresponding probes were made available within a few hours [49]. Similarly, network intruders were detected in real time by the Bro system of Paxson [50]. Matching many signatures against a stream is a multi-pattern string search, for which all occurrences of a finite set of keywords are found in a single pass over the text by the Aho–Corasick automaton [51]. In addition, the growing variety of detectors was organised in a taxonomy of intrusion-detection systems from this period [5].
Machine learning entered the field as a way to build detectors faster. It was observed by Lee, Stolfo and Mok that detectors built by manually encoding expert knowledge are expensive and slow to update, and a data-mining framework was proposed that extracts an extensive set of features describing each network connection or host session and learns rules that capture the behaviour of intrusions and of normal activity, for use in both misuse and anomaly detection [52]. Learning required data, and evaluation required common data. In 1998 and 1999, comparative evaluations of intrusion-detection systems developed under DARPA funding were conducted by MIT Lincoln Laboratory [53,54]. In a critique of these evaluations, it was argued by McHugh that some of the methods used were questionable and may have biased the results, and that little had been published on critical aspects such as the validation of the test data [54]. In the same year, it was shown by Axelsson that, under a reasonable set of assumptions, the false-alarm rate is the limiting factor for the performance of an intrusion-detection system. Because of the base-rate fallacy, a substantial probability that an alarm signals a real intrusion requires a false-alarm rate that may be unattainably low [8].
3.3. Machine Learning and New Benchmark Data Sets
Web applications brought attacks into the application layer. It was argued by Kruegel and Vigna that signature systems cannot keep up with the daily disclosure of web vulnerabilities and with flaws specific to each installation, and an anomaly detector was presented that correlates the server-side programs referenced by client queries with the parameters of those queries, thereby reducing the number of false positives [55]. Furthermore, the methods of the decade were consolidated in surveys of anomaly-based network intrusion detection and of anomaly detection in general [6,7].
Benchmark data became a research topic in its own right. Two issues were found by Tavallaee and colleagues in the KDD Cup 99 data set, then the most widely used for evaluating anomaly detectors, that strongly affect the performance of evaluated systems, and NSL-KDD was proposed as a selection of its records that does not suffer from them [56]. In addition, it was asked by Sommer and Paxson why machine learning, despite extensive research, was rarely used in operational network intrusion detection, and it was argued that finding attacks is fundamentally different from the tasks in which machine learning succeeds, which makes it much harder to apply effectively [11]. For web attacks, the CSIC 2010 data set was generated by Nguyen and colleagues because the public data set they had used did not target a real web application [57]. This data set contains about 36,000 normal and more than 25,000 anomalous requests to an e-commerce application [58]. Moreover, it was noted by Moustafa and Slay that KDD98, KDD Cup 99 and NSL-KDD had been generated a decade earlier and did not reflect modern traffic and low-footprint attacks, and UNSW-NB15 was created from a hybrid of real modern normal traffic and synthesised attacks [59]. Machine-learning and data-mining methods for intrusion detection, together with the data sets used with them, were surveyed by Buczak and Guven [44].
Flow statistics, computed over the packets of each connection, became a common representation. Time-related flow features were shown to characterise encrypted and VPN traffic [60], and CIC-IDS2017 was released after a study of eleven data sets published since 1998 found many of them out of date or unreliable, lacking traffic diversity and volume, attack variety, payloads or metadata. The new data set contains benign traffic and seven common attack categories in the form of network flows [61]. It was followed by CIC-DDoS2019, which provided a taxonomy of distributed denial-of-service attacks and a data set for their detection and classification [62].
3.4. Deep Learning, Data Set Critiques and Language Models
Deep learning reached security in the mid-2010s. A deep neural network for malware detection achieved a 95% detection rate at a 0.1% false-positive rate on more than 400,000 binaries [63], detection from raw bytes posed a sequence problem with over two million time steps [64], and EMBER provided features of 1.1 million Windows executables for training static malware detectors [65]. In logs, DeepLog modelled a system log as a natural-language sequence with a long short-term memory network and flagged deviations from patterns learned in normal execution [66]. In addition, logs were parsed online by Drain with a fixed-depth parse tree [67], and self-supervised Transformer training was applied to log anomaly detection by LogBERT [68]. In networks, attacks were detected without supervision by Kitsune with an ensemble of autoencoders, running online even on a Raspberry Pi [69], and deep neural networks were compared with classical classifiers on many public data sets [70].
The same years brought a critical reassessment of evaluation. Published F1 scores of up to 0.99 for Android malware classification were shown to be inflated by spatial and temporal bias in the splits of training and test data [71]. It had also been shown in adversarial machine learning how learned models can be manipulated [72], and shortcut learning, namely the use of decision rules that perform well on benchmarks but fail to transfer to harder conditions, was recognised as a common failure of deep networks [73]. Furthermore, pitfalls in the design, implementation and evaluation of learning-based security systems were identified by Arp and colleagues and were found to be widespread in 30 papers from top security venues [13]. For CIC-IDS2017, problems with traffic generation, flow construction, feature extraction and labelling were uncovered by Engelen and colleagues, and more than 20% of the original traffic traces were reconstructed or relabelled [74]. Errors in the same data set were shown to make significant differences to detection performance [75], and a standard feature set was proposed in order to make data sets comparable [76]. Moreover, a significant discrepancy between research and practice was found in a holistic review of machine learning in cybersecurity [12].
Language models arrived through natural language processing. The Transformer [20] led to bidirectional pre-training [21], few-shot learning at scale [22], retrieval-augmented generation [77], instruction following trained with human feedback [23] and open foundation models [78]. Pre-trained models of code followed [79], and in a systematic study of GitHub Copilot, the first self-described AI pair programmer, about 40% of 1,689 programs generated in security-relevant scenarios were found to be vulnerable [80]. From 2022 onwards, attacks specific to language-model applications appeared. These included handcrafted inputs that hijack the goal of a model or leak its prompt [29], and indirect prompt injection, in which instructions planted in data that an application retrieves take control of it [30]. Benchmarks of security knowledge and risk followed in 2023 and 2024 [81,82,83,84,85], together with reports that LLM agents can carry out parts of penetration tests [86] and exploit known vulnerabilities from their descriptions [87]. In 2025, defences that protect an agent by design rather than by training were introduced [88], and the value of anti-phishing training in its common forms was questioned in a large randomised study [19].
By 2026, the three strands of detection, awareness and language models had begun to meet in single systems. In SentinelSphere, a detector trained on CIC-IDS2017 and CIC-DDoS2019 was combined with a quantised LLM for security training [37,38,39]. In follow-on studies, the features of its detector were re-examined on two data sets [40], and the exposure of a local assistant to injected log content [41], the cost of quantisation in Greek [42] and the sources of a reported speedup [43] were investigated. The milestones discussed in this section are placed on a single time axis in Figure 2, with detection systems, data sets and evaluation on the left and threats, human factors and language models on the right.
4. Machine Learning for Intrusion and Web Attack Detection
4.1. Detection Tasks and Data Representations
Learning-based detectors differ, in the first place, in what they observe. Host-based detectors read audit records and system calls [2,48], network detectors read packets or flow records summarising the packets of each connection [47,61], web detectors read HTTP requests and their parameters [55,57], log detectors read the event messages of systems and services [66,68], and malware detectors read binaries or features extracted from them [63,65]. In the second place, they differ in what they learn. Misuse detectors learn or encode the characteristics of known attacks, while anomaly detectors learn a model of normal behaviour and flag departures from it [5,6,7], and both approaches have been supported by data mining [52].
The representation determines what a detector is able to see. A flow record describes the timing, sizes and flags of the packets of a connection but not the content of an HTTP request, while a request-level record contains the path, the parameters and, where captured, the body. Time-related flow features suffice to characterise classes of encrypted traffic [60], whereas attacks such as SQL injection or cross-site scripting reside in the content of requests [55,58]. Logs present a further difficulty, since they must first be parsed from free text into structured events. This is done by online methods as the log grows [67], and it can also be done by LLMs with appropriate prompts [89].
4.2. Benchmark Data Sets
The data sets that dominate the evaluation of the detectors discussed in this literature review are listed in Table 2, together with the issues documented for them. Many more are catalogued in surveys of network intrusion-detection data sets [45]. Two patterns stand out. First, each new generation of data sets was motivated by shortcomings found in its predecessors. The DARPA evaluations drew a methodological critique [54], KDD Cup 99 was found to contain issues that distort evaluation [56], the older sets were judged not to reflect modern traffic [59], and many of eleven data sets published since 1998 were found to be out of date or unreliable [61]. Second, the newer data sets have themselves been found to contain errors once examined closely [40,74,75]. In addition, differences in feature sets make results difficult to compare across data sets, which motivated a proposal for a standard feature set [76].
4.3. Models and Reported Performance
The models applied to these data span the history of machine learning. Machine-learning and data-mining methods of many kinds were surveyed in the mid-2010s [44], and deep neural networks were compared with classical classifiers across public data sets [70]. Furthermore, normal traffic was learned online and without labels by ensembles of autoencoders [69], log sequences were modelled by recurrent networks [66], and Transformer encoders were trained on log sequences [68] and on encoded network traffic, where an overall accuracy of 98.2% was reported for SecurityBERT in identifying fourteen attack types on an IoT data set [90]. Language models have also been tried as network detectors. GPT-4 and Llama 3 were found to struggle to detect malicious flows precisely and were judged unfit for that task, although they showed potential as complementary agents that explain detections and support the response [91].
The performance of complete systems is reported in platform papers. The detector of SentinelSphere, an enhanced deep neural network with specialised feature engineering trained on CIC-IDS2017 and CIC-DDoS2019, was reported to reach a 94% F1 score with a 69.5% reduction in false positives compared with baseline models, and nearly 11 million security events were processed by the system in 30 minutes [37]. Because of the strong class imbalance of the data, with 168,186 benign samples against 21 samples of SQL injection, the detector was trained with class weights inversely proportional to class frequency [38], and its features included HTTP-layer features intended to capture application-level attack signatures [39]. Results of this kind are what the benchmark allows to be measured, whereas their transfer to operation depends on the pitfalls discussed next.
4.4. Evaluation Pitfalls
The oldest pitfall concerns the base rate. If an intrusion is denoted by I and an alarm by A, the probability that an alarm signals a real intrusion is given by
and when intrusions are rare, the second term of the denominator dominates unless the false-alarm rate is extremely low [8]. For illustration, a detector that finds every intrusion but raises a false alarm on one benign event in a thousand would, if one event in 100,000 were an intrusion, be right in only about one alarm in a hundred. Scores computed on balanced or attack-rich test sets therefore reveal little about the alarm load in operation, and the false alarms produced by the base rate contribute to the alert fatigue discussed in Section 5 [10].
The pitfalls documented in the literature examined in this study are collected in Table 3. Several of them concern the data rather than the model. Benchmarks have been built with unvalidated or biased test data [54,56], splits of training and test data have been spatially and temporally unrealistic [71], and labels have been wrong. In CIC-IDS2017, for instance, problems with flow construction, feature extraction and labelling affected more than 20% of the traffic traces [74], and such errors were shown to change the measured detection performance significantly [75]. Furthermore, learned models exploit whatever separates the classes, including artefacts of how a data set was made. This is the shortcut learning described by Geirhos and colleagues for deep networks in general [73]. Such pitfalls were found by Arp and colleagues to be widespread in the security literature, and it was shown how they lead to unrealistic performance and interpretations [13]. The same problems appear in vulnerability detection, where a 7-billion-parameter code model that scored a 68.26% F1 score on an older benchmark scored 3.09% on a de-duplicated, chronologically split data set with more accurate labels [92,93].
A recent reassessment of HTTP-aware features shows how several of these pitfalls combine in a single design [40,94]. A deep neural network over 21 flow statistics and 10 HTTP-aware features from the SentinelSphere platform was retested under a protocol that controls for known pitfalls. On the flow-based CIC-IDS2017 data, the ten HTTP features were identically zero, because flow records contain none of the request fields that they read. In addition, the 64-by-64 network as described reached only 6% recall at the conventional threshold and found none of the 21 SQL-injection flows. Tree ensembles exceeded a 94% F1 score, but a depth-three tree on a single flow metadata feature, namely the backward initial TCP window size, already reached an area under the curve of 0.985, which indicates that much of the apparent skill was an artefact of the data set. Under corrected labels for the same traffic, only 104 of the 2,056 web-attack flows were successful attacks, and these were harder to catch. On CSIC 2010, which holds complete HTTP requests, an F1 score of about 0.91 was reached by the ten features once the request body was included and decoded, whereas a plain character n-gram model reached 0.97. Moreover, an ablation traced the signal to a generic path-entropy feature rather than to the flags for attack patterns. Three general lessons follow from this case. Features must be tested on data that contain what they read, a strong score on one benchmark should be checked against a trivial baseline and a second data set, and labels should be audited before they are trusted.
4.5. Explanations and Robustness
Analysts need to know why a detector raised an alarm. Individual predictions of any classifier can be explained by model-agnostic methods [95,96], but neural networks remain difficult to interpret, and their use in security calls for criteria that compare explanation methods for security tasks [97]. Explanations also expose shortcuts. An ablation that attributes the skill of a web-attack detector to a generic entropy feature rather than to attack patterns is itself a form of explanation [40]. Language models offer a different kind of explanation, in natural language, and in a study of LLM-based network detection their main value was seen in such explanations rather than in detection itself [91]. As shown in Section 6.5, such explanations can themselves be attacked. Finally, learned detectors face adaptive adversaries who modify their inputs to evade them [72], and this threat is not measured by any benchmark of fixed traffic.
5. Security Awareness and Human Factors
5.1. People in the Security Chain
Security mechanisms are designed, implemented, used and breached by people. It was argued by Adams and Sasse that users compromise security mechanisms such as passwords when their design ignores human factors, and that attackers pay more attention to the human link than designers do, using social engineering to obtain passwords [15]. Organisations, in turn, depend on employees following their security policies. Compliance was modelled by Bulgurcu and colleagues with the theory of planned behaviour, in which attitude, normative beliefs and self-efficacy determine the intention to comply, and the attitude is shaped by beliefs about the benefit of compliance, the cost of compliance and the cost of non-compliance [98]. In addition, questionnaires such as the Human Aspects of Information Security Questionnaire were developed to measure the awareness of employees [99]. Phishing, the attack that most directly targets this human link, lacked a commonly accepted definition. In a systematic review of the literature, 113 distinct definitions were analysed and a consensual one was proposed [16].
5.2. Awareness Training and Its Measured Effect
Training was the natural response, and early studies were encouraging. Anti-Phishing Phil, an online game designed with learning-science principles, improved the ability of participants to identify fraudulent websites after 15 minutes of play, more than a tutorial or existing online training material did [100]. The same group identified the challenges of security education, namely that users are not motivated to learn about security, that security is a secondary task for most of them, and that it is difficult to teach people to recognise threats without making them misjudge non-threats as threats. Furthermore, an email-based training system and the game were shown to be effective, although it was argued that automated detection should remain the first line of defence [101]. Serious games for cyber security training showed early positive indications, but a structured review found that the evidence was not yet sufficient for definite conclusions, with most products aimed at the general public rather than IT professionals and managers [102]. Moreover, in a review of 119 tools for awareness and education aimed at non-experts, grouped into five media categories, their use of instructional design was assessed and an evaluation checklist was proposed [46]. From a psychological perspective, awareness campaigns fail when they only provide information about risks, because more than information is required to change behaviour [17].
Large field studies have since measured behaviour directly, with sobering results. In a 15-month experiment with more than 14,000 employees of a company, warnings on emails were found to be effective, and employees who reported suspicious emails formed a practical collective detection mechanism. However, embedded training during simulated phishing exercises, as commonly deployed in industry, did not make employees more resilient and had side effects that could make them even more susceptible [18]. Similarly, in an eight-month randomised controlled experiment with ten simulated phishing campaigns sent to more than 19,500 employees of a healthcare organisation, no significant relationship was found between recent completion of annual awareness training and the likelihood of failing a simulation. In addition, an extremely small difference in failure rates between users who had and had not received embedded training, minimal time spent with the training material, and, for some content, a higher likelihood of failing after more training were observed [19]. These studies and the others examined in this section are summarised in Table 4.
5.3. Analysts and Security Operations
Security monitoring is not only a technical problem. Interviews with analysts in security operation centres are limited by the stress and time pressure of their work and by the trust they extend to researchers. For this reason, computer science students were trained by Sundaramurthy and colleagues in anthropological methods and embedded as analysts, who performed the same job and observed operations from the point of view of the analyst [9]. One recurrent problem is the volume of alerts. Threat-detection software produces more alerts than analysts can properly investigate, so true attacks are missed in the noise of false alarms. This threat-alert fatigue was addressed by NoDoze, which builds a causal dependency graph for each alert, scores its edges by how often related events had occurred before in the enterprise and propagates the scores in order to rank the alerts. On 364 alerts, true alerts were consistently ranked above false ones [10]. The base-rate argument of Section 4.4 explains why the problem does not disappear with better classifiers alone [8]. In addition, the number of alerts that can be read is limited by the size and skills of the workforce [14]. Analysts are revisited in Section 6, where language models that summarise, explain and triage are discussed.
5.4. Combining Detection with Education
A recent direction joins detection and awareness in a single system, on the argument that the same evidence can serve both. In SentinelSphere, threats are presented through a traffic-light display that turns threat intelligence into intuitive visual indicators, intended both as an operational tool for security professionals and as an educational interface for non-technical users, and a conversational LLM is added that gives context-aware security guidance and training on standard enterprise hardware [37]. The assistant is a quantised Phi-4 model of 14 billion parameters [38], fine-tuned for the security domain and run in the four-bit Q4_K_M format on commodity hardware with 16 GB of memory and no dedicated graphics processor [39]. In two workshops with 79 stakeholders in Greece, namely three professionals from the maritime, education and manufacturing sectors and 76 participants in an educational setting, high satisfaction and improved comprehension of security concepts were reported for most participants after training, and gaps were revealed in awareness of data protection regulations and in the adoption of multi-factor authentication [38]. Furthermore, the traffic-light display and the assistant were found intuitive by the participants [39], and the aggregated questionnaire data are openly available [103]. It is noted by the authors that longitudinal studies are needed to establish sustained behavioural change [38]. The field studies of Section 5.2 show why this caveat matters, since satisfaction and comprehension measured after a workshop are not the same as the click, submission and reporting rates measured over months [18,19], and an assistant that tutors users must itself be trustworthy, as examined in Section 6.
6. Large Language Models in Cybersecurity
6.1. Existing Surveys and Questions Addressed
Surveys of LLMs in cybersecurity have multiplied with the literature itself. In one systematic review, over 40,000 papers were collected and 185 were analysed from top security and software-engineering venues [24], while other surveys characterise defensive and adversarial applications and their research gaps [25], the positive effects of LLMs on security and privacy alongside their risks and inherent vulnerabilities [26], their use in cyber defence [27], and applications that range from hardware design security, intrusion detection and software engineering to threat intelligence, malware and phishing detection, together with vulnerabilities of the models such as prompt injection, insecure output handling and data poisoning [28]. These surveys are not repeated in this literature review. Instead, this section concentrates on four questions that matter for deployment, namely how security knowledge is measured, what LLMs have been shown to do in security tasks, what is lost when small models are compressed and used in a less-resourced language, and how applications built on LLMs can be attacked through the data they read.
6.2. Benchmarks of Security Knowledge and Risk
Benchmarks of the security knowledge and risk of LLMs are summarised in Table 5. Most of them measure knowledge with multiple-choice questions, often generated with the help of an LLM and then checked. The questions of SecQA were drawn from a computer security textbook with GPT-4, and two versions of increasing difficulty are offered [81]. CyberMetric provides sets of 80, 500, 2,000 and 10,000 questions generated with GPT-3.5 and retrieval from standards, research papers, books and RFCs. More than 200 hours were spent by human experts on validating them, and the best of the 25 models evaluated were more accurate than the 30 human participants who answered the smallest set without access to reference material [83]. Other benchmarks target specific competences or risks, such as threat intelligence [85], hazardous knowledge in biosecurity, cybersecurity and chemical security as a proxy for malicious use [84], certification questions and capture-the-flag challenges [104,105], and the tendency of coding assistants to suggest insecure code or to comply with requests to assist in attacks, where insecure code was suggested more often by more capable models [82].
Most of these benchmarks were built in English, and many of them evaluate large models served through cloud interfaces rather than compressed models on local hardware. A deployment on an office computer in another language differs on both counts, and, as shown in Section 6.4, the difference can be large.
6.3. Applications in Security Tasks
Studies that apply LLMs to security tasks are summarised in Table 6. In software security, about 40% of 1,689 programs generated by GitHub Copilot were found to be vulnerable in a systematic study [80], while LLMs could collectively repair all synthetic and hand-crafted vulnerable scenarios in a zero-shot setting, that is, without examples of repairs, although historical real-world examples exposed difficulties in producing functionally correct code [106]. Vulnerability detection with learned models of code, from graph neural networks [107] to pre-trained code models [79], has proved harder than benchmark scores suggested. With 18,945 vulnerable functions across 150 weakness types, deep learning was found not to be ready for the task because of high false-positive rates and low F1 scores [93]. Moreover, on a de-duplicated, chronologically split data set, even GPT-3.5 and GPT-4 performed close to random guessing in the most stringent settings [92].
In operations, promising log-parsing results were achieved by ChatGPT with appropriate prompts, especially prompts with a few examples [89], attacks on IoT networks were detected by encoder models trained on encoded traffic [90], and general LLMs proved unfit for detecting malicious flows but promising as explainers that work with retrieval and function calling [91]. Phishing shows both sides of the technology. Emails generated automatically by GPT-4 were clicked by 30 to 44% of participants, against 19 to 28% for generic phishing, whereas emails designed manually with a set of rules that exploit cognitive biases reached 69 to 79%. At the same time, a strong ability to detect malicious intent was shown by four LLMs, sometimes surpassing human detection although often slightly less accurate than humans [108]. In offensive security, LLMs handle sub-tasks of penetration testing, such as using tools and interpreting their output, but lose track of the overall scenario, a problem addressed by PentestGPT with three interacting modules [86]. Furthermore, GPT-4 exploited 87% of a set of 15 one-day vulnerabilities when given the CVE description, while the other models and the open-source scanners tested exploited none [87].
6.4. Small Local Models, Quantisation and Language
Organisations that cannot send logs or questions to a cloud service need models that run locally. Running models on the device reduces cloud costs and protects the privacy of users, which motivates low-bit weight quantisation [35]. Small models have become capable enough for such use. Phi-3-mini, with 3.8 billion parameters, rivals much larger models on academic benchmarks while being small enough to run on a phone [31], and the 14-billion-parameter Phi-4 relies on synthetic data throughout training [32], and open families such as Qwen2.5 and Llama 3 provide further options [33,109]. Quantisation compresses a model by storing its weights with fewer bits. Eight-bit matrix multiplication halves the memory needed for inference without loss of performance [110], GPTQ quantises weights in one shot using approximate second-order information [34], AWQ protects the small fraction of salient weights identified from the activations [35], and QLoRA fine-tunes models through a frozen four-bit base [111]. Furthermore, the open-source llama.cpp project runs such models on ordinary hardware with integer quantisation from 1.5 to 8 bits [112].
Compression and language interact. Quantisation affects languages unequally, with non-Latin scripts affected most, and the harm observed by human evaluators is severely underestimated by automatic metrics [36]. Even before a model runs, languages are treated unequally by tokenisers, the components that split text into units, with tokenisation lengths for the same text differing by up to 15 times between languages [113], so that speakers of many languages pay more for poorer results from commercial models [114]. Moreover, safety behaviour weakens outside English. Low-resource languages were about three times as likely to elicit harmful content [115], and the safeguards of GPT-4 were bypassed 79% of the time when unsafe requests were translated into low-resource languages [116]. Language-specific models narrow the gap for Greek. Meltemi adapted a 7-billion-parameter model with 40 billion Greek tokens [117], and Llama-Krikri-8B extended Llama 3.1 for Modern Greek and English [118].
These effects were measured for a security tutor in a recent study [42,119]. A sample of CyberMetric questions was translated into Greek with an open translation model that was not itself tested, the translation was checked by back-translation, and the same questions were put in both languages to Phi-4-mini at three levels of compression, to the general model Qwen2.5-3B and to the Greek-adapted Krikri-8B, all on a two-core processor. Phi-4-mini Greek questions were answered clearly worse than English ones by Phi-4-mini, even with light compression. The four-bit compression shipped by platforms cost almost nothing in English but a clear share of accuracy in Greek, and the strongest compression brought Greek close to guessing while English remained usable. Qwen2.5-3B was the most accurate model in English but among the weakest in Greek, where about four times as many tokens per question were needed, whereas the gap was kept smallest by Krikri-8B at the price of a larger and slower file. In addition, four-bit files made without the calibration step, which relies on mostly English text, lost the same Greek accuracy, and the file published by the platform is one of them. A compression level found acceptable in English should therefore not be assumed to be acceptable in another language, and benchmarks run in English on full-precision models reveal little about a quantised assistant used in Greek.
6.5. Prompt Injection, Jailbreaks and Defences
An LLM application receives instructions and data in the same stream of text, and this is exploited by attackers. In direct prompt injection, handcrafted inputs are used to hijack the goal of a model or make it leak its prompt [29]. In indirect prompt injection, instructions are planted in content that the application retrieves while it runs. This blurs the line between data and instructions, enables data theft and self-propagating attacks, and was demonstrated against real systems, where processing retrieved prompts acted like arbitrary code execution [30]. In a formal framework, existing attacks are treated as special cases, and combinations of 5 attacks and 10 defences on 10 LLMs and 7 tasks are benchmarked [120]. Furthermore, LLMs were found by the BIPIA benchmark to be universally vulnerable to indirect injection because they cannot distinguish informational context from actionable instructions and do not avoid executing instructions found in external content [121]. Jailbreaks, which aim at the safety training of the model rather than at the application, can be found automatically as adversarial suffixes that transfer to black-box models [122], and succeed through competing objectives and mismatched generalisation of safety training [123] and, as noted in Section 6.4, through languages in which safety training is thin [115,116].
Defences act at several levels, as shown in Table 7. Prompts and responses are screened by classifier guards against a taxonomy of risks [124]. Prompt-level defences mark the provenance of untrusted input, as spotlighting does by transforming it, which reduced the success rate of indirect attacks from above 50% to below 2% with minimal impact on the task [125]. Similarly, the black-box defence of BIPIA, which requires no access to the internals of the model and is based on boundary awareness and explicit reminders, gave substantial mitigation, while its white-box defence, which requires such access, reduced attack success to near zero [121]. Training-level defences teach models an instruction hierarchy that gives application instructions priority over third-party text [126], or fine-tune models to follow instructions only in the prompt channel of a structured query, which improved resistance to injection with little or no loss of utility [127]. System-level defences change the architecture. CaMeL, for instance, extracts the control and data flow from the trusted query so that untrusted data cannot change the program flow, enforces capabilities on data flows, and solved 77% of the tasks of the AgentDojo environment with provable security, against 84% for an undefended system [88,128]. In addition, models are probed for these weaknesses by frameworks such as garak and PyRIT in a structured way [129,130].
Security assistants face a particularly direct form of indirect injection, because much of what they read is written by the attacker they are meant to describe. This was measured in a study of a small local assistant that labels web-server log lines as malicious or benign and explains them to a learner, with Phi-4-mini in four-bit form, synthetic logs containing real attack strings and four kinds of hidden instruction [41,131]. A fake end-of-record that declared the line benign hid most attacks from a plain prompt. Furthermore, warning the model that the log was untrusted gave no protection and caused false alarms on harmless lines, and the danger of each instruction depended strongly on its exact wording. A quarantine that removed instruction-like text found by a rule-based detector stopped the instructions for which it was written but let every reworded one through, whereas a locked verdict, in which the traffic-light colour is set by the detector and the model only explains it, hid no attack under any instruction. Explanations proved far more fragile than labels, and the locked verdict removed almost all false denials of the attack except those caused by a fake outcome. This conclusion agrees with the design-level defences discussed above, namely that the verdict of a security assistant should be decided outside the language model, and every explanation should be checked against that verdict.
Injection is not the only route by which an assistant can betray the data it handles. Assistants grounded in retrieved records can also disclose content they should not. In a study of a community-edited knowledge base, a tool-calling agent that queried a live, gated interface disclosed gated content in none of 240 probes, whereas vector retrieval with batch re-indexing disclosed every revoked record until the index was rebuilt, and an indexer that ignored the gating flags disclosed gated content in 93 of 96 probes. It was therefore concluded that access control must be enforced wherever content is copied [132]. Security assistants that retrieve incident data, logs or internal documentation inherit the same requirement.
7. Open Source Tools, Data and Systems Performance
7.1. Open Source Tools
Open-source software has been central to intrusion detection since the 1990s. Snort was distributed under the GNU General Public License as a lightweight network intrusion detector [49], intruders were detected in real time by Bro [50], and Suricata, developed by a non-profit foundation under the GNU General Public License version 2, combines intrusion detection, intrusion prevention, network security monitoring and offline processing of packet captures in one engine [133]. In addition, the collection and sharing of indicators of compromise among the organisations that respond to incidents are supported by MISP [134]. Learning-based detectors are built with general-purpose libraries for machine learning [135], deep learning [136] and pre-trained language models [137]. For language-model applications, llama.cpp runs quantised models on ordinary hardware [112], Llama Guard screens prompts and responses [124], garak and PyRIT probe models and applications for vulnerabilities [129,130], and the environments and code of several attack and defence studies were released by their authors, including a platform for benchmarking prompt injection [120], the AgentDojo environment [128], StruQ [127] and CaMeL [88]. These tools are listed in Table 8.
7.2. Open Data and Released Artefacts
Most of the data sets in Table 2 are publicly available, which made them the common currency of the field and also allowed their flaws to be found [59,61,74]. Moreover, the release of code and results allows an analysis to be repeated by others on the same data. EMBER was released with open-source code for extracting features from further binaries [65], PentestGPT was open-sourced [86], and the analysis code, result tables and figures of each follow-on study of SentinelSphere were deposited on Zenodo under the MIT licence, for the reassessment of HTTP features [94], the prompt-injection experiments [131], the quantisation benchmark [119] and the timing study [138]. These deposits exclude third-party data sets and benchmark items, which must be obtained from their sources. In addition, the aggregated questionnaire data of the SentinelSphere workshops are available under a Creative Commons Attribution licence [103].
7.3. Performance of security tooling
Detection must keep up with traffic. Signature matching is a multi-pattern search for which the Aho–Corasick automaton processes the text in a single pass [51], graphics processors were applied to network intrusion detection [139], and when single-processor performance stopped growing exponentially while traffic and the complexity of analyses kept growing, parallel architectures for intrusion prevention on multi-core processors were proposed [140]. Many detectors summarise events over a recent window. The sliding-window model of data streams shows that such statistics can be maintained with small memory. For instance, the number of ones among the last N bits of a stream can be estimated within a factor of one plus epsilon by means of memory that grows with the square of the logarithm of N and inversely with the tolerated error [141].
The choice of implementation language matters for both safety and speed. Memory-corruption bugs in software written in low-level languages such as C and C++ are among the oldest problems in computer security, and deployed protections against their exploitation can be defeated [142]. Rust offers a static type system with strong guarantees about isolation, concurrency and memory safety, together with a clear performance model and fine-grained control over memory representation [143], and the safety of a realistic subset of the language was established by a machine-checked proof in a form that extends to libraries that use unsafe features internally [144]. In addition, languages differ in energy efficiency [145].
Reported speedups, however, are difficult to measure and easy to misattribute. Changing a seemingly innocuous aspect of an experimental setup can bias an evaluation enough to overstate an effect or reverse a conclusion [146], and run-to-run variation calls for statistically rigorous methods of performance evaluation [147]. A further caution is added by a recent timing study, namely that a rewrite usually changes the language and the algorithm at once [43,138]. On a sliding-window threat scorer modelled on the traffic-light calculator of SentinelSphere, five implementations, three in Python and two in Rust, produced bit-identical scores, confirmed by a shared checksum, and were timed from 100 to one million events in a bounded and a burst regime. The language alone contributed a factor between about 4 and 29. Replacing the rescan of the window at every event by an incremental update contributed more than 11,000 times in the burst regime, so that the end-to-end factor reached about 195,000 times when the window kept filling and levelled off near 13,000 times when it did not. Moreover, a power-law fit to the timings reported for the original rewrite gave growth exponents of 1.85 for Python and 0.88 for Rust, the signature of an algorithmic difference. The platform article had reported a substantial speedup from Rust-based processing [38]. However, the timing study shows that most of such a factor can come from the algorithm, and that performance claims for security tooling should report the contributions of language and algorithm separately.
8. Open Challenges and Future Directions
Evaluation that reflects deployment. The pitfalls of Section 4.4 are known, yet they keep recurring. Reported detection scores should be accompanied by the base rate and the false-alarm rate expected in operation [8], by per-class recall for rare attack classes, by results under audited or corrected labels [74,75], by temporally consistent splits [71] and by a trivial baseline that would reveal a shortcut, such as a shallow tree on a single feature [40]. Furthermore, features should be tested on data that contain the fields they read, and a second data set with a different representation should be used before a feature set is credited with a gain [13,40].
Verdict integrity for language-model assistants. An assistant that explains attacker-written content can be steered by that content, and rule-based filters fail against reworded instructions [41]. Defences that fix the verdict or the control flow outside the model [41,88], separate instructions from data [126,127] and are evaluated against adaptive attacks [120,128] are more promising than warnings in the prompt. Moreover, explanations need their own checks, because they proved more fragile than labels [41], and the evaluation of explanation methods for security is still young [97].
Security knowledge in the users’ language. Quantisation, tokenisation and safety training all favour English [36,113,114,115,116], and the cost of compression for security knowledge was found to be larger in Greek than in English [42]. Consequently, assistants should be evaluated in the languages of their users and at the precision at which they are shipped, translated benchmarks should be checked, for example by back-translation, and language-adapted models [117,118] should be weighed against their larger size and slower inference.
Deployment under limited resources. Small and medium-sized organisations need detectors and assistants that run without enterprise infrastructure [38,39], which is why local inference and quantisation matter [35,112]. Accordingly, accuracy, latency and memory should be reported on the hardware on which a system is meant to run, and the cost of each compression level should be measured on the task and in the language of use [42].
Behavioural change rather than satisfaction. It has been shown in randomised and long-term field studies that common forms of awareness training change behaviour little [18,19], while games and multimedia tools still lack strong evidence [46,102]. Platforms that combine detection with education report high satisfaction and improved comprehension in pilot workshops [38], and the next step is to measure click, credential-submission and reporting rates over months, and to use reporting by employees as a detection channel [18].
Support for analysts. False alarms and alert volumes remain the daily burden of security operations [9,10], and the size of the workforce is limited [14]. The evidence so far suggests that language models are better used to explain, summarise and triage than to detect [91], provided their explanations are tied to a verdict reached by other means.
Reproducible reporting. Code, results and, where licences allow, data should be released with each study [94,119,131,138]. In addition, performance claims should follow statistically rigorous methods [146,147] and separate the effect of the implementation language from that of the algorithm [43].
Dual use and data exposure. The same models that help defenders lower the cost of phishing [108], exploit known vulnerabilities [87] and may hold hazardous knowledge [84]. Assistants that retrieve internal data can disclose it unless access control is enforced wherever content is copied [132]. Consequently, security assistants must be designed and evaluated as systems that an attacker will probe, with structured red teaming as part of their evaluation [129,130].
9. Conclusions
Intrusion detection began in the 1980s as the statistical analysis of audit records, grew in the 1990s into signature-based and anomaly-based detectors evaluated on shared data, and absorbed machine learning in the 2000s and 2010s, when new benchmark data sets and deep networks raised reported detection scores. Over the same period, it was shown by research on human factors that security depends on users and analysts as much as on detectors, and since 2023 large language models have entered detection, explanation, training and attack alike.
Five conclusions follow from this literature review. First, high scores on public intrusion-detection benchmarks are weak evidence, since they can be produced by label errors, data-set artefacts and features that read fields absent from the data, and they should therefore be checked against corrected labels, trivial baselines and a second data set. Second, awareness training in its commonly deployed forms has shown little effect on behaviour in large field studies, so platforms that combine detection with education should be judged by behaviour measured over time and not only by satisfaction and comprehension after a workshop. Third, language models are useful to defenders as explainers, tutors and assistants, but an assistant that reads attacker-written content must have its verdict fixed outside the model and its explanations checked against that verdict. Fourth, the small quantised models that make local assistants affordable lose more of their security knowledge in a less-resourced language such as Greek than in English, so they must be evaluated in the language and at the precision in which they are used. Fifth, performance claims for security tooling should separate the effect of the implementation language from that of the algorithm, and should be accompanied by released code and results.
Future work should build evaluation protocols that reflect operational base rates and audited labels, design assistants whose verdicts cannot be talked away, extend benchmarks of security knowledge to more languages and to compressed models, and measure the behavioural effect of training in long-term field studies. Pursued together, these steps can turn the combination of machine-learning detection, human-centred awareness and language-model assistance into security that organisations without large security teams can rely on.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
No new experimental data were created. The bibliometric counts in Figure 1 were retrieved from the OpenAlex API on 24 November 2026 with the queries listed in Table 1. The counts (fig_bibliometrics.csv), the queries (fig_bibliometrics_queries.json) and the reference verification log (reference_verification.csv) are provided with the LaTeX source of this preprint.
Acknowledgments
During the preparation of this manuscript, the author used Claude (Anthropic) to assist with literature searching, drafting and reference checking. The author has reviewed and edited the output and takes full responsibility for the content of this publication.
Conflicts of Interest
The author declares no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| AUC | area under the curve |
| CTI | cyber threat intelligence |
| CVE | Common Vulnerabilities and Exposures |
| DARPA | Defense Advanced Research Projects Agency |
| DDoS | distributed denial of service |
| HTTP | Hypertext Transfer Protocol |
| IoT | Internet of Things |
| LLM | large language model |
| MISP | Malware Information Sharing Platform |
| RFC | Request for Comments |
| SQL | Structured Query Language |
| VPN | virtual private network |
References
- Anderson, J.P. Contract 79F296400; Computer Security Threat Monitoring and Surveillance. Technical report; James P. Anderson Co.: Fort Washington, PA, USA, 1980.
- Denning, D. An Intrusion-Detection Model. IEEE Trans. Softw. Eng. 1987, SE-13, 222–232. [Google Scholar] [CrossRef]
- Cohen, F. Computer viruses: Theory and experiments. Comput. Secur. 1987, 6, 22–35. [Google Scholar] [CrossRef]
- Spafford, E.H. The internet worm program: an analysis. ACM SIGCOMM Comput. Commun. Rev. 1989, 19, 17–57. [Google Scholar] [CrossRef]
- Debar, H.; Dacier, M.; Wespi, A. Towards a taxonomy of intrusion-detection systems. Comput. Netw. 1999, 31, 805–822. [Google Scholar] [CrossRef]
- Garca-Teodoro, P.; Daz-Verdejo, J.; Maciá-Fernández, G.; Vázquez, E. Anomaly-based network intrusion detection: Techniques, systems and challenges. Comput. Secur. 2009, 28, 18–28. [Google Scholar] [CrossRef]
- Chandola, V.; Banerjee, A.; Kumar, V. Anomaly detection: A survey. ACM Comput. Surv. 2009, 41, 1–58. [Google Scholar] [CrossRef]
- Axelsson, S. The base-rate fallacy and the difficulty of intrusion detection. ACM Trans. Inf. Syst. Secur. 2000, 3, 186–205. [Google Scholar] [CrossRef]
- Sundaramurthy, S.C.; Case, J.; Truong, T.; Zomlot, L.; Hoffmann, M. A Tale of Three Security Operation Centers. In Proceedings of the Proceedings of the 2014 ACM Workshop on Security Information Workers, 2014; ACM; pp. 43–50. [Google Scholar] [CrossRef]
- Hassan, W.U.; Guo, S.; Li, D.; Chen, Z.; Jee, K.; Li, Z.; Bates, A. NoDoze: Combatting Threat Alert Fatigue with Automated Provenance Triage. In Proceedings of the Proceedings 2019 Network and Distributed System Security Symposium, 2019; Internet Society. [Google Scholar] [CrossRef]
- Sommer, R.; Paxson, V. Outside the Closed World: On Using Machine Learning for Network Intrusion Detection. In Proceedings of the 2010 IEEE Symposium on Security and Privacy; IEEE, 2010; pp. 305–316. [Google Scholar] [CrossRef]
- Apruzzese, G.; Laskov, P.; Montes de Oca, E.; Mallouli, W.; Brdalo Rapa, L.; Grammatopoulos, A.V.; Di Franco, F. The Role of Machine Learning in Cybersecurity. Digit. Threat. Res. Pract. 2023, 4, 1–38. [Google Scholar] [CrossRef]
- Arp, D.; Quiring, E.; Pendlebury, F.; Warnecke, A.; Pierazzi, F.; Wressnegger, C.; Cavallaro, L.; Rieck, K. Dos and Don’ts of Machine Learning in Computer Security. arXiv 2020, arXiv:2010.09470. [Google Scholar] [CrossRef]
- Furnell, S. The cybersecurity workforce and skills. Comput. Secur. 2021, 100, 102080. [Google Scholar] [CrossRef]
- Adams, A.; Sasse, M.A. Users are not the enemy. Commun. ACM 1999, 42, 40–46. [Google Scholar] [CrossRef]
- Lastdrager, E.E. Achieving a consensual definition of phishing based on a systematic review of the literature. Crime. Sci. 2014, 3, 9. [Google Scholar] [CrossRef]
- Bada, M.; Sasse, A.M.; Nurse, J.R.C. Cyber Security Awareness Campaigns: Why do they fail to change behaviour? arXiv 2019, arXiv:1901.02672. [Google Scholar] [CrossRef]
- Lain, D.; Kostiainen, K.; Čapkun, S. Phishing in Organizations: Findings from a Large-Scale and Long-Term Study. In Proceedings of the 2022 IEEE Symposium on Security and Privacy (SP); IEEE, 2022; pp. 842–859. [Google Scholar] [CrossRef]
- Ho, G.; Mirian, A.; Luo, E.; Tong, K.; Lee, E.; Liu, L.; Longhurst, C.A.; Dameff, C.; Savage, S.; Voelker, G.M. Understanding the Efficacy of Phishing Training in Practice. In Proceedings of the 2025 IEEE Symposium on Security and Privacy (SP); IEEE, 2025; pp. 37–54. [Google Scholar] [CrossRef]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention Is All You Need. arXiv 2017, arXiv:1706.03762. [Google Scholar] [CrossRef]
- Devlin, J.; Chang, M.W.; Lee, K.; Toutanova, K. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of the Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies; Association for Computational Linguistics, 2019; Volume 1, pp. 4171–4186. [Google Scholar] [CrossRef]
- Brown, T.B.; Mann, B.; Ryder, N.; Subbiah, M.; Kaplan, J.; Dhariwal, P.; Neelakantan, A.; Shyam, P.; Sastry, G.; Askell, A.; et al. Language Models are Few-Shot Learners. arXiv 2020, arXiv:2005.14165. [Google Scholar] [CrossRef]
- Ouyang, L.; Wu, J.; Jiang, X.; Almeida, D.; Wainwright, C.L.; Mishkin, P.; Zhang, C.; Agarwal, S.; Slama, K.; Ray, A.; et al. Training language models to follow instructions with human feedback. arXiv 2022, arXiv:2203.02155. [Google Scholar] [CrossRef]
- Xu, H.; Wang, S.; Li, N.; Wang, K.; Zhao, Y.; Chen, K.; Yu, T.; Liu, Y.; Wang, H. Large Language Models for Cyber Security: A Systematic Literature Review. arXiv 2024, arXiv:2405.04760. [Google Scholar] [CrossRef]
- Motlagh, F.N.; Hajizadeh, M.; Majd, M.; Najafi, P.; Cheng, F.; Meinel, C. Large Language Models in Cybersecurity: State-of-the-Art. arXiv 2024, arXiv:2402.00891. [Google Scholar] [CrossRef]
- Yao, Y.; Duan, J.; Xu, K.; Cai, Y.; Sun, Z.; Zhang, Y. A survey on large language model (LLM) security and privacy: The Good, The Bad, and The Ugly. High-Confid. Comput. 2024, 4, 100211. [Google Scholar] [CrossRef]
- Hassanin, M.; Moustafa, N. A Comprehensive Overview of Large Language Models (LLMs) for Cyber Defences: Opportunities and Directions. arXiv 2024, arXiv:2405.14487. [Google Scholar] [CrossRef]
- Ferrag, M.A.; Alwahedi, F.; Battah, A.; Cherif, B.; Mechri, A.; Tihanyi, N.; Bisztray, T.; Debbah, M. Generative AI in cybersecurity: A comprehensive review of LLM applications and vulnerabilities. Internet Things Cyber-Phys. Syst. 2025, 5, 1–46. [Google Scholar] [CrossRef]
- Perez, F.; Ribeiro, I. Ignore Previous Prompt: Attack Techniques For Language Models. arXiv 2022, arXiv:2211.09527. [Google Scholar] [CrossRef]
- Greshake, K.; Abdelnabi, S.; Mishra, S.; Endres, C.; Holz, T.; Fritz, M. Not What You’ve Signed Up For: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection. In Proceedings of the Proceedings of the 16th ACM Workshop on Artificial Intelligence and Security, 2023; ACM; pp. 79–90. [Google Scholar] [CrossRef]
- Abdin, M.; Aneja, J.; Awadalla, H.; Awadallah, A.; Awan, A.A.; Bach, N.; Bahree, A.; Bakhtiari, A.; Bao, J.; Behl, H.; et al. Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phone. arXiv 2024, arXiv:2404.14219. [Google Scholar] [CrossRef]
- Abdin, M.; Aneja, J.; Behl, H.; Bubeck, S.; Eldan, R.; Gunasekar, S.; Harrison, M.; Hewett, R.J.; Javaheripi, M.; Kauffmann, P.; et al. Phi-4 Technical Report. arXiv 2024, arXiv:2412.08905. [Google Scholar] [CrossRef]
- Qwen; Yang, A.; Yang, B.; Zhang, B.; Hui, B.; Zheng, B.; Yu, B.; Li, C.; Liu, D.; Huang, F.; et al. Qwen2.5 Technical Report. arXiv 2024, arXiv:2412.15115. [Google Scholar] [CrossRef]
- Frantar, E.; Ashkboos, S.; Hoefler, T.; Alistarh, D. GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers. arXiv 2022, arXiv:2210.17323. [Google Scholar] [CrossRef]
- Lin, J.; Tang, J.; Tang, H.; Yang, S.; Chen, W.M.; Wang, W.C.; Xiao, G.; Dang, X.; Gan, C.; Han, S. AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration. arXiv 2023, arXiv:2306.00978. [Google Scholar] [CrossRef]
- Marchisio, K.; Dash, S.; Chen, H.; Aumiller, D.; Üstün, A.; Hooker, S.; Ruder, S. How Does Quantization Affect Multilingual LLMs? Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2024. Association for Computational Linguistics 2024, 15928–15947. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A. SentinelSphere: AI-Driven Cybersecurity Platform Combining Threat Detection with Security Awareness. Int. Conf. Cyber Warf. Secur. 2026, 21, 476–485. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. SentinelSphere: An AI-driven cybersecurity platform integrating real-time threat detection with security awareness education. Open Res. Eur. 2026, 6, 58. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. SentinelSphere: Integrating AI-Powered Real-Time Threat Detection with Cybersecurity Awareness Training. arXiv 2026, arXiv:2604.06900. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. Do HTTP Features Carry the Signal? Shortcut Learning and Label Errors in Web Attack Detection on CIC-IDS2017 and CSIC 2010. In Preprints; Preprint, 2026. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. Can a Log Line Talk a Security Assistant out of an Alert? Prompt Injection, Quarantine and Locked Verdicts on a Small Local Model. In Preprints; Preprint, 2026. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. Quantisation Costs More in Greek than in English, Cybersecurity Knowledge of Small Local Language Models. Preprints 2026. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. Where does a rust speedup come from? Language and algorithm effects in sliding window threat scorer. arXiv 2026, arXiv:2610.07931. [Google Scholar] [CrossRef]
- Buczak, A.L.; Guven, E. A Survey of Data Mining and Machine Learning Methods for Cyber Security Intrusion Detection. IEEE Commun. Surv. Tutor. 2016, 18, 1153–1176. [Google Scholar] [CrossRef]
- Ring, M.; Wunderlich, S.; Scheuring, D.; Landes, D.; Hotho, A. A survey of network-based intrusion detection data sets. Comput. Secur. 2019, 86, 147–167. [Google Scholar] [CrossRef]
- Zhang-Kennedy, L.; Chiasson, S. A Systematic Review of Multimedia Tools for Cybersecurity Awareness and Education. ACM Comput. Surv. 2022, 54, 1–39. [Google Scholar] [CrossRef]
- Heberlein, L.; Dias, G.; Levitt, K.; Mukherjee, B.; Wood, J.; Wolber, D. A network security monitor. In Proceedings of the Proceedings. 1990 IEEE Computer Society Symposium on Research in Security and Privacy.; IEEE, 1990; pp. 296–304. [Google Scholar] [CrossRef]
- Forrest, S.; Hofmeyr, S.; Somayaji, A.; Longstaff, T. A sense of self for Unix processes. In Proceedings of the Proceedings 1996 IEEE Symposium on Security and Privacy. IEEE Comput. Soc. Press, 1996; pp. 120–128. [Google Scholar] [CrossRef]
- Roesch, M. Snort: Lightweight Intrusion Detection for Networks. In Proceedings of the Proceedings of the 13th Systems Administration Conference (LISA ’99), Seattle, WA, USA, 1999; pp. 229–238. [Google Scholar]
- Paxson, V. Bro: a system for detecting network intruders in real-time. Comput. Netw. 1999, 31, 2435–2463. [Google Scholar] [CrossRef]
- Aho, A.V.; Corasick, M.J. Efficient string matching: an aid to bibliographic search. Commun. ACM 1975, 18, 333–340. [Google Scholar] [CrossRef]
- Lee, W.; Stolfo, S.; Mok, K. A data mining framework for building intrusion detection models. In Proceedings of the Proceedings of the 1999 IEEE Symposium on Security and Privacy (Cat. No.99CB36344)., 1999; IEEE Comput. Soc; pp. 120–132. [Google Scholar] [CrossRef]
- Lippmann, R.; Haines, J.W.; Fried, D.J.; Korba, J.; Das, K. The 1999 DARPA off-line intrusion detection evaluation. Comput. Netw. 2000, 34, 579–595. [Google Scholar] [CrossRef]
- McHugh, J. Testing Intrusion detection systems: a critique of the 1998 and 1999 DARPA intrusion detection system evaluations as performed by Lincoln Laboratory. ACM Trans. Inf. Syst. Secur. 2000, 3, 262–294. [Google Scholar] [CrossRef]
- Kruegel, C.; Vigna, G. Anomaly detection of web-based attacks. In Proceedings of the Proceedings of the 10th ACM conference on Computer and communications security, 2003; ACM; pp. 251–261. [Google Scholar] [CrossRef]
- Tavallaee, M.; Bagheri, E.; Lu, W.; Ghorbani, A.A. A detailed analysis of the KDD CUP 99 data set. In Proceedings of the 2009 IEEE Symposium on Computational Intelligence for Security and Defense Applications; IEEE, 2009; pp. 1–6. [Google Scholar] [CrossRef]
- Nguyen, H.T.; Torrano-Gimenez, C.; Alvarez, G.; Petrović, S.; Franke, K. Application of the Generic Feature Selection Measure in Detection of Web Attacks. In Lecture Notes in Computer Science; Springer Berlin Heidelberg: Berlin, Heidelberg, 2011; pp. 25–32. [Google Scholar] [CrossRef]
- Torrano Giménez, C.; Pérez Villegas, A.; Álvarez Marañón, G. HTTP Dataset CSIC 2010. In Information Security Institute; Accessed; Spanish National Research Council (CSIC), 2010; (accessed on 24 November 2026). [Google Scholar]
- Moustafa, N.; Slay, J. UNSW-NB15: a comprehensive data set for network intrusion detection systems (UNSW-NB15 network data set). In Proceedings of the 2015 Military Communications and Information Systems Conference (MilCIS); IEEE, 2015; pp. 1–6. [Google Scholar] [CrossRef]
- Draper-Gil, G.; Lashkari, A.H.; Mamun, M.S.I.; Ghorbani, A.A. Characterization of Encrypted and VPN Traffic using Time-related Features. In Proceedings of the Proceedings of the 2nd International Conference on Information Systems Security and Privacy, 2016; SCITEPRESS - Science and and Technology Publications; pp. 407–414. [Google Scholar] [CrossRef]
- Sharafaldin, I.; Habibi Lashkari, A.; Ghorbani, A.A. Toward Generating a New Intrusion Detection Dataset and Intrusion Traffic Characterization. In Proceedings of the Proceedings of the 4th International Conference on Information Systems Security and Privacy, 2018; SCITEPRESS - Science and Technology Publications; pp. 108–116. [Google Scholar] [CrossRef]
- Sharafaldin, I.; Lashkari, A.H.; Hakak, S.; Ghorbani, A.A. Developing Realistic Distributed Denial of Service (DDoS) Attack Dataset and Taxonomy. In Proceedings of the 2019 International Carnahan Conference on Security Technology (ICCST); IEEE, 2019; pp. 1–8. [Google Scholar] [CrossRef]
- Saxe, J.; Berlin, K. Deep neural network based malware detection using two dimensional binary program features. In Proceedings of the 2015 10th International Conference on Malicious and Unwanted Software (MALWARE); IEEE, 2015; pp. 11–20. [Google Scholar] [CrossRef]
- Raff, E.; Barker, J.; Sylvester, J.; Brandon, R.; Catanzaro, B.; Nicholas, C. Malware Detection by Eating a Whole EXE. arXiv 2017, arXiv:1710.09435. [Google Scholar] [CrossRef]
- Anderson, H.S.; Roth, P. EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models. arXiv 2018, arXiv:1804.04637. [Google Scholar] [CrossRef]
- Du, M.; Li, F.; Zheng, G.; Srikumar, V. DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning. In Proceedings of the Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, 2017; ACM; pp. 1285–1298. [Google Scholar] [CrossRef]
- He, P.; Zhu, J.; Zheng, Z.; Lyu, M.R. Drain: An Online Log Parsing Approach with Fixed Depth Tree. In Proceedings of the 2017 IEEE International Conference on Web Services (ICWS); IEEE, 2017; pp. 33–40. [Google Scholar] [CrossRef]
- Guo, H.; Yuan, S.; Wu, X. LogBERT: Log Anomaly Detection via BERT. In Proceedings of the 2021 International Joint Conference on Neural Networks (IJCNN); IEEE, 2021; pp. 1–8. [Google Scholar] [CrossRef]
- Mirsky, Y.; Doitshman, T.; Elovici, Y.; Shabtai, A. Kitsune: An Ensemble of Autoencoders for Online Network Intrusion Detection. In Proceedings of the Proceedings 2018 Network and Distributed System Security Symposium. Internet Society, 2018. [Google Scholar] [CrossRef]
- Vinayakumar, R.; Alazab, M.; Soman, K.P.; Poornachandran, P.; Al-Nemrat, A.; Venkatraman, S. Deep Learning Approach for Intelligent Intrusion Detection System. IEEE Access 2019, 7, 41525–41550. [Google Scholar] [CrossRef]
- Pendlebury, F.; Pierazzi, F.; Jordaney, R.; Kinder, J.; Cavallaro, L. TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Time. arXiv 2018, arXiv:1807.07838. [Google Scholar] [CrossRef]
- Biggio, B.; Roli, F. Wild patterns: Ten years after the rise of adversarial machine learning. Pattern Recognit. 2018, 84, 317–331. [Google Scholar] [CrossRef]
- Geirhos, R.; Jacobsen, J.H.; Michaelis, C.; Zemel, R.; Brendel, W.; Bethge, M.; Wichmann, F.A. Shortcut learning in deep neural networks. Nat. Mach. Intell. 2020, 2, 665–673. [Google Scholar] [CrossRef]
- Engelen, G.; Rimmer, V.; Joosen, W. Troubleshooting an Intrusion Detection Dataset: the CICIDS2017 Case Study. In Proceedings of the 2021 IEEE Security and Privacy Workshops (SPW); IEEE, 2021; pp. 7–12. [Google Scholar] [CrossRef]
- Lanvin, M.; Gimenez, P.F.; Han, Y.; Majorczyk, F.; Mé, L.; Totel, É. Errors in the CICIDS2017 Dataset and the Significant Differences in Detection Performances It Makes. In Lecture Notes in Computer Science; Springer Nature Switzerland: Cham, 2023; pp. 18–33. [Google Scholar] [CrossRef]
- Sarhan, M.; Layeghy, S.; Portmann, M. Towards a Standard Feature Set for Network Intrusion Detection System Datasets. Mob. Netw. Appl. 2022, 27, 357–370. [Google Scholar] [CrossRef]
- Lewis, P.; Perez, E.; Piktus, A.; Petroni, F.; Karpukhin, V.; Goyal, N.; Küttler, H.; Lewis, M.; Yih, W.t.; Rocktäschel, T.; et al. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. arXiv 2020, arXiv:2005.11401. [Google Scholar] [CrossRef]
- Touvron, H.; Lavril, T.; Izacard, G.; Martinet, X.; Lachaux, M.A.; Lacroix, T.; Rozière, B.; Goyal, N.; Hambro, E.; Azhar, F.; et al. LLaMA: Open and Efficient Foundation Language Models. arXiv 2023, arXiv:2302.13971. [Google Scholar] [CrossRef]
- Feng, Z.; Guo, D.; Tang, D.; Duan, N.; Feng, X.; Gong, M.; Shou, L.; Qin, B.; Liu, T.; Jiang, D.; et al. CodeBERT: A Pre-Trained Model for Programming and Natural Languages. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2020; Association for Computational Linguistics, 2020; pp. 1536–1547. [Google Scholar] [CrossRef]
- Pearce, H.; Ahmad, B.; Tan, B.; Dolan-Gavitt, B.; Karri, R. Asleep at the Keyboard? Assessing the Security of GitHub Copilot’s Code Contributions. In Proceedings of the 2022 IEEE Symposium on Security and Privacy (SP); IEEE, 2022; pp. 754–768. [Google Scholar] [CrossRef]
- Liu, Z. SecQA: A Concise Question-Answering Dataset for Evaluating Large Language Models in Computer Security. arXiv 2023, arXiv:2312.15838. [Google Scholar] [CrossRef]
- Bhatt, M.; Chennabasappa, S.; Nikolaidis, C.; Wan, S.; Evtimov, I.; Gabi, D.; Song, D.; Ahmad, F.; Aschermann, C.; Fontana, L.; et al. Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Models. arXiv 2023, arXiv:2312.04724. [Google Scholar] [CrossRef]
- Tihanyi, N.; Ferrag, M.A.; Jain, R.; Bisztray, T.; Debbah, M. CyberMetric: A Benchmark Dataset based on Retrieval-Augmented Generation for Evaluating LLMs in Cybersecurity Knowledge. In Proceedings of the 2024 IEEE International Conference on Cyber Security and Resilience (CSR); IEEE, 2024; pp. 296–302. [Google Scholar] [CrossRef]
- Li, N.; Pan, A.; Gopal, A.; Yue, S.; Berrios, D.; Gatti, A.; Li, J.D.; Dombrowski, A.K.; Goel, S.; Phan, L.; et al. The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning. arXiv 2024, arXiv:2403.03218. [Google Scholar] [CrossRef]
- Alam, M.T.; Bhusal, D.; Nguyen, L.; Rastogi, N. CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligence. arXiv 2024, arXiv:2406.07599. [Google Scholar] [CrossRef]
- Deng, G.; Liu, Y.; Mayoral-Vilches, V.; Liu, P.; Li, Y.; Xu, Y.; Zhang, T.; Liu, Y.; Pinzger, M.; Rass, S. PentestGPT: An LLM-empowered Automatic Penetration Testing Tool. arXiv 2023, arXiv:2308.06782. [Google Scholar] [CrossRef]
- Fang, R.; Bindu, R.; Gupta, A.; Kang, D. LLM Agents can Autonomously Exploit One-day Vulnerabilities. arXiv 2024, arXiv:2404.08144. [Google Scholar] [CrossRef]
- Debenedetti, E.; Shumailov, I.; Fan, T.; Hayes, J.; Carlini, N.; Fabian, D.; Kern, C.; Shi, C.; Terzis, A.; Tramèr, F. Defeating Prompt Injections by Design. arXiv 2025, arXiv:2503.18813. [Google Scholar] [CrossRef]
- Le, V.H.; Zhang, H. Log Parsing: How Far Can ChatGPT Go? In Proceedings of the 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE); IEEE, 2023; pp. 1699–1704. [Google Scholar] [CrossRef]
- Ferrag, M.A.; Ndhlovu, M.; Tihanyi, N.; Cordeiro, L.C.; Debbah, M.; Lestable, T.; Thandi, N.S. Revolutionizing Cyber Threat Detection With Large Language Models: A Privacy-Preserving BERT-Based Lightweight Model for IoT/IIoT Devices. IEEE Access 2024, 12, 23733–23750. [Google Scholar] [CrossRef]
- Houssel, P.R.B.; Singh, P.; Layeghy, S.; Portmann, M. Towards Explainable Network Intrusion Detection using Large Language Models. In Proceedings of the 2024 IEEE/ACM International Conference on Big Data Computing, Applications and Technologies (BDCAT); IEEE, 2024; pp. 67–72. [Google Scholar] [CrossRef]
- Ding, Y.; Fu, Y.; Ibrahim, O.; Sitawarin, C.; Chen, X.; Alomair, B.; Wagner, D.; Ray, B.; Chen, Y. Vulnerability Detection with Code Language Models: How Far are We? In Proceedings of the 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE); IEEE, 2025; pp. 1729–1741. [Google Scholar] [CrossRef]
- Chen, Y.; Ding, Z.; Alowain, L.; Chen, X.; Wagner, D. DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection. In Proceedings of the Proceedings of the 26th International Symposium on Research in Attacks, Intrusions and Defenses, 2023; ACM; pp. 654–668. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. A pragmatic reassessment of HTTP aware features for web attack detection on CIC-IDS2017 and CSIC 2010. Zenodo 2026. [Google Scholar] [CrossRef]
- Ribeiro, M.T.; Singh, S.; Guestrin, C. Why Should I Trust You?": Explaining the Predictions of Any Classifier. In Proceedings of the Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016; ACM; pp. 1135–1144. [Google Scholar] [CrossRef]
- Lundberg, S.; Lee, S.I. A Unified Approach to Interpreting Model Predictions. arXiv 2017, arXiv:1705.07874. [Google Scholar] [CrossRef]
- Warnecke, A.; Arp, D.; Wressnegger, C.; Rieck, K. Evaluating Explanation Methods for Deep Learning in Security. In Proceedings of the 2020 IEEE European Symposium on Security and Privacy (EuroS&P); IEEE, 2020; pp. 158–174. [Google Scholar] [CrossRef]
- Bulgurcu, B.; Cavusoglu, H.; Benbasat, I. Information Security Policy Compliance: An Empirical Study of Rationality-Based Beliefs and Information Security Awareness. MIS Q. 2010, 34, 523–548. [Google Scholar] [CrossRef]
- Parsons, K.; McCormac, A.; Butavicius, M.; Pattinson, M.; Jerram, C. Determining employee awareness using the Human Aspects of Information Security Questionnaire (HAIS-Q). Comput. Secur. 2014, 42, 165–176. [Google Scholar] [CrossRef]
- Sheng, S.; Magnien, B.; Kumaraguru, P.; Acquisti, A.; Cranor, L.F.; Hong, J.; Nunge, E. Anti-Phishing Phil: the design and evaluation of a game that teaches people not to fall for phish. In Proceedings of the Proceedings of the 3rd symposium on Usable privacy and security, 2007; ACM; pp. 88–99. [Google Scholar] [CrossRef]
- Kumaraguru, P.; Sheng, S.; Acquisti, A.; Cranor, L.F.; Hong, J. Teaching Johnny not to fall for phish. ACM Trans. Internet Technol. 2010, 10, 1–31. [Google Scholar] [CrossRef]
- Hendrix, M.; Al-Sherbaz, A.; Bloom, V. Game Based Cyber Security Training: are Serious Games suitable for cyber security training? Int. J. Serious Games 2016, 3. [Google Scholar] [CrossRef]
- Tantaroudas, N.D. SentinelSphere Workshop Questionnaire Data (Aggregated); Zenodo, 2026. [Google Scholar] [CrossRef]
- Tann, W.; Liu, Y.; Sim, J.H.; Seah, C.M.; Chang, E.C. Using Large Language Models for Cybersecurity Capture-The-Flag Challenges and Certification Questions. arXiv 2023, arXiv:2308.10443. [Google Scholar] [CrossRef]
- Shao, M.; Chen, B.; Jancheska, S.; Dolan-Gavitt, B.; Garg, S.; Karri, R.; Shafique, M. An Empirical Evaluation of LLMs for Solving Offensive Security Challenges. arXiv 2024, arXiv:2402.11814. [Google Scholar] [CrossRef]
- Pearce, H.; Tan, B.; Ahmad, B.; Karri, R.; Dolan-Gavitt, B. Examining Zero-Shot Vulnerability Repair with Large Language Models. In Proceedings of the 2023 IEEE Symposium on Security and Privacy (SP); IEEE, 2023; pp. 2339–2356. [Google Scholar] [CrossRef]
- Zhou, Y.; Liu, S.; Siow, J.; Du, X.; Liu, Y. Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networks. arXiv 2019, arXiv:1909.03496. [Google Scholar] [CrossRef]
- Heiding, F.; Schneier, B.; Vishwanath, A.; Bernstein, J.; Park, P.S. Devising and Detecting Phishing Emails Using Large Language Models. IEEE Access 2024, 12, 42131–42146. [Google Scholar] [CrossRef]
- Grattafiori, A.; Dubey, A.; Jauhri, A.; Pandey, A.; Kadian, A.; Al-Dahle, A.; Letman, A.; Mathur, A.; Schelten, A.; Vaughan, A.; et al. The Llama 3 Herd of Models. arXiv 2024, arXiv:2407.21783. [Google Scholar] [CrossRef]
- Dettmers, T.; Lewis, M.; Belkada, Y.; Zettlemoyer, L. int8(): 8-bit Matrix Multiplication for Transformers at Scale. arXiv 2022, arXiv:2208.07339. [Google Scholar] [CrossRef]
- Dettmers, T.; Pagnoni, A.; Holtzman, A.; Zettlemoyer, L. QLoRA: Efficient Finetuning of Quantized LLMs. arXiv 2023, arXiv:2305.14314. [Google Scholar] [CrossRef]
- ggml-org. llama.cpp: LLM Inference in C/C++. Open-source software. Accessed. 2026; (accessed on 24 November 2026)MIT License.
- Petrov, A.; La Malfa, E.; Torr, P.H.S.; Bibi, A. Language Model Tokenizers Introduce Unfairness Between Languages. arXiv 2023, arXiv:2305.15425. [Google Scholar] [CrossRef]
- Ahia, O.; Kumar, S.; Gonen, H.; Kasai, J.; Mortensen, D.; Smith, N.; Tsvetkov, Y. Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Models. In Proceedings of the Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 2023; Association for Computational Linguistics; pp. 9904–9923. [Google Scholar] [CrossRef]
- Deng, Y.; Zhang, W.; Pan, S.J.; Bing, L. Multilingual Jailbreak Challenges in Large Language Models. arXiv 2023, arXiv:2310.06474. [Google Scholar] [CrossRef]
- Yong, Z.X.; Menghini, C.; Bach, S.H. Low-Resource Languages Jailbreak GPT-4. arXiv 2023, arXiv:2310.02446. [Google Scholar] [CrossRef]
- Voukoutis, L.; Roussis, D.; Paraskevopoulos, G.; Sofianopoulos, S.; Prokopidis, P.; Papavasileiou, V.; Katsamanis, A.; Piperidis, S.; Katsouros, V. Meltemi: The first open Large Language Model for Greek. arXiv 2024, arXiv:2407.20743. [Google Scholar] [CrossRef]
- Roussis, D.; Voukoutis, L.; Paraskevopoulos, G.; Sofianopoulos, S.; Prokopidis, P.; Papavasileiou, V.; Katsamanis, A.; Piperidis, S.; Katsouros, V. Krikri: Advancing Open Large Language Models for Greek. arXiv 2025, arXiv:2505.13772. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. How far does quantisation take a local security tutor in Greek and in English, a benchmark of small open models on cybersecurity questions. Zenodo 2026. [Google Scholar] [CrossRef]
- Liu, Y.; Jia, Y.; Geng, R.; Jia, J.; Gong, N.Z. Formalizing and Benchmarking Prompt Injection Attacks and Defenses. arXiv 2023, arXiv:2310.12815. [Google Scholar] [CrossRef]
- Yi, J.; Xie, Y.; Zhu, B.; Kiciman, E.; Sun, G.; Xie, X.; Wu, F. Benchmarking and Defending against Indirect Prompt Injection Attacks on Large Language Models. In Proceedings of the Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1. ACM, 2025; pp. 1809–1820. [Google Scholar] [CrossRef]
- Zou, A.; Wang, Z.; Carlini, N.; Nasr, M.; Kolter, J.Z.; Fredrikson, M. Universal and Transferable Adversarial Attacks on Aligned Language Models. arXiv 2023, arXiv:2307.15043. [Google Scholar] [CrossRef]
- Wei, A.; Haghtalab, N.; Steinhardt, J. Jailbroken: How Does LLM Safety Training Fail? arXiv 2023, arXiv:2307.02483. [Google Scholar] [CrossRef]
- Inan, H.; Upasani, K.; Chi, J.; Rungta, R.; Iyer, K.; Mao, Y.; Tontchev, M.; Hu, Q.; Fuller, B.; Testuggine, D.; et al. Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations. arXiv 2023, arXiv:2312.06674. [Google Scholar] [CrossRef]
- Hines, K.; Lopez, G.; Hall, M.; Zarfati, F.; Zunger, Y.; Kiciman, E. Defending Against Indirect Prompt Injection Attacks With Spotlighting. arXiv 2024, arXiv:2403.14720. [Google Scholar] [CrossRef]
- Wallace, E.; Xiao, K.; Leike, R.; Weng, L.; Heidecke, J.; Beutel, A. The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions. arXiv 2024, arXiv:2404.13208. [Google Scholar] [CrossRef]
- Chen, S.; Piet, J.; Sitawarin, C.; Wagner, D. StruQ: Defending Against Prompt Injection with Structured Queries. arXiv 2024, arXiv:2402.06363. [Google Scholar] [CrossRef]
- Debenedetti, E.; Zhang, J.; Balunović, M.; Beurer-Kellner, L.; Fischer, M.; Tramèr, F. AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents. arXiv 2024, arXiv:2406.13352. [Google Scholar] [CrossRef]
- Derczynski, L.; Galinkin, E.; Martin, J.; Majumdar, S.; Inie, N. garak: A Framework for Security Probing Large Language Models. arXiv 2024, arXiv:2406.11036. [Google Scholar] [CrossRef]
- Munoz, G.D.L.; Minnich, A.J.; Lutz, R.; Lundeen, R.; Dheekonda, R.S.R.; Chikanov, N.; Jagdagdorj, B.E.; Pouliot, M.; Chawla, S.; Maxwell, W.; et al. PyRIT: A Framework for Security Risk Identification and Red Teaming in Generative AI System. arXiv 2024, arXiv:2410.02828. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. Instructions hidden in log fields, measuring prompt injection against a local security assistant and two detector informed defences. Zenodo 2026. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. After the Edit, Freshness and Access Control of Tool-Calling Retrieval and Vector RAG for a Community-Edited Knowledge Base. In Preprints; Preprint, 2026. [Google Scholar] [CrossRef]
- Open Information Security Foundation. Suricata: Network Threat Detection Engine GNU General Public License version 2, 2026. Open-source software. (accessed on 24 November 2026).
- Wagner, C.; Dulaunoy, A.; Wagener, G.; Iklody, A. MISP: The Design and Implementation of a Collaborative Threat Intelligence Sharing Platform. In Proceedings of the Proceedings of the 2016 ACM on Workshop on Information Sharing and Collaborative Security, 2016; ACM; pp. 49–56. [Google Scholar] [CrossRef]
- Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
- Paszke, A.; Gross, S.; Massa, F.; Lerer, A.; Bradbury, J.; Chanan, G.; Killeen, T.; Lin, Z.; Gimelshein, N.; Antiga, L.; et al. PyTorch: An Imperative Style, High-Performance Deep Learning Library. arXiv 2019, arXiv:1912.01703. [Google Scholar] [CrossRef]
- Wolf, T.; Debut, L.; Sanh, V.; Chaumond, J.; Delangue, C.; Moi, A.; Cistac, P.; Rault, T.; Louf, R.; Funtowicz, M.; et al. Transformers: State-of-the-Art Natural Language Processing. In Proceedings of the Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations Association for Computational Linguistics, 2020; pp. 38–45. [Google Scholar] [CrossRef]
- Tantaroudas, N.D.; Karachalios, I.; McCracken, A.J. Separating algorithmic change from language change in a Rust rewrite of a real time threat scorer. Zenodo 2026. [Google Scholar] [CrossRef]
- Vasiliadis, G.; Antonatos, S.; Polychronakis, M.; Markatos, E.P.; Ioannidis, S. Gnort: High Performance Network Intrusion Detection Using Graphics Processors. In Lecture Notes in Computer Science; Springer Berlin Heidelberg: Berlin, Heidelberg, 2008; pp. 116–134. [Google Scholar] [CrossRef]
- Sommer, R.; Paxson, V.; Weaver, N. An architecture for exploiting multi-core processors to parallelize network intrusion prevention. Concurr. Comput. Pract. Exp. 2009, 21, 1255–1279. [Google Scholar] [CrossRef]
- Datar, M.; Gionis, A.; Indyk, P.; Motwani, R. Maintaining Stream Statistics over Sliding Windows. SIAM J. Comput. 2002, 31, 1794–1813. [Google Scholar] [CrossRef]
- Szekeres, L.; Payer, M.; Wei, T.; Song, D. SoK: Eternal War in Memory. In Proceedings of the 2013 IEEE Symposium on Security and Privacy; IEEE, 2013; pp. 48–62. [Google Scholar] [CrossRef]
- Matsakis, N.D.; Klock, F.S. The rust language. In Proceedings of the Proceedings of the 2014 ACM SIGAda annual conference on High integrity language technology, 2014; ACM; pp. 103–104. [Google Scholar] [CrossRef]
- Jung, R.; Jourdan, J.H.; Krebbers, R.; Dreyer, D. RustBelt: securing the foundations of the Rust programming language. Proc. ACM Program. Lang. 2018, 2, 1–34. [Google Scholar] [CrossRef]
- Pereira, R.; Couto, M.; Ribeiro, F.; Rua, R.; Cunha, J.; Fernandes, J.P.; Saraiva, J. Ranking programming languages by energy efficiency. Sci. Comput. Program. 2021, 205, 102609. [Google Scholar] [CrossRef]
- Mytkowicz, T.; Diwan, A.; Hauswirth, M.; Sweeney, P.F. Producing wrong data without doing anything obviously wrong! In Proceedings of the Proceedings of the 14th international conference on Architectural support for programming languages and operating systems, 2009; ACM; pp. 265–276. [Google Scholar] [CrossRef]
- Georges, A.; Buytaert, D.; Eeckhout, L. Statistically rigorous java performance evaluation. In Proceedings of the Proceedings of the 22nd annual ACM SIGPLAN conference on Object-oriented programming systems, languages and applications, 2007; ACM; pp. 57–76. [Google Scholar] [CrossRef]
Figure 1.
Annual number of works in OpenAlex matching each search string of Table 1, on a logarithmic scale. Each series is shown from its first year of uninterrupted records.
Figure 1.
Annual number of works in OpenAlex matching each search string of Table 1, on a logarithmic scale. Each series is shown from its first year of uninterrupted records.

Figure 2.
Milestones discussed in Section 3, with detection systems, data sets and evaluation on the left and threats, human factors and language models on the right.
Figure 2.
Milestones discussed in Section 3, with detection systems, data sets and evaluation on the left and threats, human factors and language models on the right.

Table 1.
OpenAlex search strings and number of matching works, retrieved on 24 November 2026.
| Series in Figure 1 | Search string | Works |
|---|---|---|
| Intrusion detection | “intrusion detection” | 64,026 |
| Machine learning for intrusion detection | “intrusion detection” AND (“machine learning” OR “deep learning” OR “neural network”) | 23,864 |
| Security awareness and phishing training | “security awareness” OR “cybersecurity awareness” OR “phishing training” OR “anti-phishing” | 9,587 |
| Language models in cybersecurity | (“large language model” OR “large language models”) AND (cybersecurity OR “cyber security” OR “intrusion detection” OR malware OR phishing OR “prompt injection”) | 2,443 |
Table 2.
Benchmark data sets for intrusion, web-attack and malware detection and their documented issues.
Table 2.
Benchmark data sets for intrusion, web-attack and malware detection and their documented issues.
| Data set | Year | Source of the data | Content | Documented issues | References |
|---|---|---|---|---|---|
| DARPA evaluations | 1998–1999 | Evaluation data of MIT Lincoln Laboratory | Data for the off-line evaluation of intrusion-detection systems | Questionable methods and little published on the validation of the test data | [53,54] |
| KDD Cup 99 | 1999 | Not reported | The most widely used data set for evaluating anomaly detectors in the 2000s | Two issues that strongly affect evaluated performance | [56] |
| NSL-KDD | 2009 | KDD Cup 99 | Selected records of the KDD Cup 99 data | Does not reflect modern traffic and low-footprint attacks | [56,59] |
| CSIC 2010 | 2010 | Generated requests to an e-commerce web application | About 36,000 normal and more than 25,000 anomalous HTTP requests | Generated traffic of a single application | [57,58] |
| UNSW-NB15 | 2015 | Real normal traffic and synthesised attacks | Network traffic with generated features | Attack activity synthesised | [59] |
| CIC-IDS2017 | 2017 | Benign traffic and seven common attack categories | Network flows with flow statistics | Errors in traffic generation, flow construction, feature extraction and labelling, label errors that change detection results and artefacts that a single feature can exploit | [40,61,74,75] |
| CIC-DDoS2019 | 2019 | Generated denial-of-service attacks | Network flows of DDoS attack families | None reported | [62] |
| EMBER | 2018 | Windows portable executable files | Features of 1.1 million binaries | None reported | [65] |
Table 3.
Pitfalls in the evaluation of learning-based detectors and the reported evidence.
| Pitfall | What goes wrong | Reported evidence | References |
|---|---|---|---|
| Base-rate fallacy | Rare attacks let even small false-alarm rates dominate the alarms | The false-alarm rate limits the performance of intrusion detection | [8] |
| Closed-world assumption | Finding attacks differs fundamentally from tasks where machine learning succeeds | Machine learning rarely deployed in operational network intrusion detection | [11] |
| Flawed benchmark construction | Unvalidated or statistically biased test data | Critique of the DARPA evaluations and issues in KDD Cup 99 | [54,56] |
| Spatial and temporal bias | Unrepresentative class ratios and time-inconsistent splits | Inflated F1 scores of up to 0.99 in Android malware classification | [71] |
| Label errors | Wrong labels and failed attacks labelled as attacks | More than 20% of CIC-IDS2017 traces reconstructed or relabelled, with only 104 of 2,056 web-attack flows successful | [40,74,75] |
| Shortcut learning | A model learns an artefact correlated with the label | A depth-three tree on one flow metadata feature reaches an AUC of 0.985 on CIC-IDS2017 web attacks | [40,73] |
| Features absent from the representation | Features read fields that the records do not contain | Ten HTTP features identically zero on flow records | [40] |
| Duplicated and mislabelled training data | Leakage and poor labels inflate scores | F1 of a code model falls from 68.26% to 3.09% on a cleaner benchmark | [92,93] |
| Widespread pitfalls | Design, implementation and evaluation errors | Pitfalls found widespread in 30 papers from top security venues | [13] |
| Adversarial manipulation | Attackers adapt inputs to evade a learned model | A decade of attacks on learned models | [72] |
Table 4.
Studies of security awareness, training and security operations.
| Work | Approach | Setting and sample | Main finding |
|---|---|---|---|
| Adams and Sasse, 1999 [15] | Study of password practice | Users of password mechanisms | Mechanisms that ignore human factors are compromised and attackers target the human link |
| Sheng et al., 2007 [100] | Online anti-phishing game | User study with 15 minutes of training | Game players identified fraudulent websites better than other groups |
| Kumaraguru et al., 2010 [101] | Email-based training and game | User studies | Both tools effective, with education complementing automated detection |
| Bulgurcu et al., 2010 [98] | Theory of planned behaviour | Employees and security policies | Attitude shaped by benefits and costs of compliance and non-compliance |
| Lastdrager, 2014 [16] | Systematic literature review | 113 definitions of phishing | Consensual definition of phishing |
| Sundaramurthy et al., 2014 [9] | Anthropological fieldwork | Students embedded as analysts in operation centres | Operational challenges seen from the analyst’s viewpoint |
| Hendrix et al., 2016 [102] | Structured literature review | Serious games for security training | Early positive indications but not enough evidence |
| Hassan et al., 2019 [10] | Provenance-based alert triage | 364 threat alerts in an enterprise | True alerts ranked above false alerts |
| Bada et al., 2019 [17] | Psychological analysis | Awareness campaigns | Information alone does not change behaviour |
| Zhang-Kennedy and Chiasson, 2022 [46] | Systematic review | 119 tools for non-expert users | Checklist for design and evaluation |
| Lain et al., 2022 [18] | Simulated phishing over 15 months | More than 14,000 employees | Embedded training did not improve resilience, whereas reporting works at scale |
| Ho et al., 2025 [19] | Randomised controlled experiment over 8 months | More than 19,500 employees | Training in its common forms offered little protection |
| Tantaroudas et al., 2026 [38] | Detection platform with LLM tutor and two workshops | 79 stakeholders in Greece | High satisfaction, with gaps on data protection rules and multi-factor authentication |
Table 5.
Benchmarks of the security knowledge and risk of language models.
| Work | What is measured | Setting | Reported finding |
|---|---|---|---|
| SecQA, 2023 [81] | Security knowledge | Multiple-choice questions generated by GPT-4 from a textbook, in two versions | Capabilities and limitations vary across models |
| CyberSecEval, 2023 [82] | Insecure code and compliance with attack requests | Seven models of the Llama 2, Code Llama and GPT families | More advanced models more often suggested insecure code |
| Tann et al., 2023 [104] | Certification questions and capture-the-flag | Three chat assistants and five Cisco certifications | Jailbreak prompts bypassed ethical safeguards |
| CyberMetric, 2024 [83] | General security knowledge | 80 to 10,000 validated questions, 25 models and 30 humans | Best models more accurate than humans |
| WMDP, 2024 [84] | Hazardous knowledge | 3,668 questions in three domains | Proxy for malicious-use risk and benchmark for unlearning |
| CTIBench, 2024 [85] | Threat intelligence | Several CTI-specific tasks | Strengths and weaknesses in CTI contexts |
| Shao et al., 2024 [105] | Capture-the-flag solving | Human-in-the-loop and fully automated workflows | Higher success rate than the average human participant |
| Tantaroudas et al., 2026 [42] | Security knowledge in Greek and English | CyberMetric sample, three small local models, several quantisation levels and a two-core processor | Four-bit quantisation costs little in English but a clear share of accuracy in Greek |
Table 6.
Applications of language models to security tasks.
| Work | Task | Setting | Reported finding |
|---|---|---|---|
| Pearce et al., 2022 [80] | Code generation | 89 scenarios and 1,689 programs | About 40% of programs vulnerable |
| Pearce et al., 2023 [106] | Zero-shot vulnerability repair | Commercial, open and locally trained models | All synthetic and hand-crafted scenarios repaired, whereas real-world code proved harder |
| Chen et al., 2023 [93] | Vulnerability detection | 18,945 vulnerable functions, 150 weakness types; 11 architectures | High false-positive rates and low F1 scores |
| Ding et al., 2025 [92] | Vulnerability detection | De-duplicated, chronologically split data | F1 of a 7B model falls from 68.26% to 3.09% |
| Le and Zhang, 2023 [89] | Log parsing | ChatGPT with several prompting methods | Promising with few-shot prompts |
| Ferrag et al., 2024 [90] | IoT threat detection | Encoded traffic with 14 attack types | 98.2% overall accuracy |
| Houssel et al., 2024 [91] | Network intrusion detection | GPT-4 and Llama 3 on flow records | Unfit for detection but potential for explanation |
| Heiding et al., 2024 [108] | Phishing generation and detection | 112 participants and four LLMs as detectors | GPT-4 emails clicked by 30 to 44% and strong intent detection |
| Deng et al., 2023 [86] | Penetration testing | Benchmark of test machines | Sub-tasks handled but integrated understanding lacking |
| Fang et al., 2024 [87] | Exploiting one-day vulnerabilities | 15 vulnerabilities with CVE descriptions | GPT-4 exploited 87%, other models and scanners none |
| Tantaroudas et al., 2026 [41] | Explaining log lines to learners | Four-bit Phi-4-mini on synthetic web-server logs with hidden instructions | Only a verdict fixed outside the model hid no attack |
Table 7.
Prompt-injection and jailbreak attacks on language-model applications and defences against them.
Table 7.
Prompt-injection and jailbreak attacks on language-model applications and defences against them.
| Work | Type | Mechanism | Reported finding |
|---|---|---|---|
| Perez and Ribeiro, 2022 [29] | Direct injection | Handcrafted inputs | Goal hijacking and prompt leaking |
| Greshake et al., 2023 [30] | Indirect injection | Prompts planted in retrieved data | Data theft and control of real applications |
| Liu et al., 2023 [120] | Framework and benchmark | Formal model of injection attacks | 5 attacks and 10 defences on 10 LLMs and 7 tasks |
| Zou et al., 2023 [122] | Jailbreak | Adversarial suffixes from greedy and gradient search | Suffixes transfer to black-box models |
| Wei et al., 2023 [123] | Jailbreak analysis | Competing objectives and mismatched generalisation | Explains failures of safety training |
| Deng et al., 2023 [115] | Multilingual jailbreak | Non-English prompts | About three times the harmful content in low-resource languages |
| Yong et al., 2023 [116] | Multilingual jailbreak | Translation into low-resource languages | Safeguards bypassed 79% of the time |
| Inan et al., 2023 [124] | Classifier guard | LLM classifies prompts and responses | Input–output safeguard against a risk taxonomy |
| Hines et al., 2024 [125] | Prompt-level defence | Transformations that mark input provenance | Attack success from above 50% to below 2% |
| Wallace et al., 2024 [126] | Training defence | Instruction hierarchy | Large gain in robustness, minimal loss of capability |
| Chen et al., 2024 [127] | Training and interface defence | Separate channels for prompt and data | Higher resistance with little loss of utility |
| Debenedetti et al., 2024 [128] | Evaluation environment | 97 agent tasks and 629 security test cases | Attacks break some security properties but not all |
| Yi et al., 2025 [121] | Benchmark and defences | Boundary awareness and explicit reminders | Models universally vulnerable, and near zero attack success under the white-box defence |
| Debenedetti et al., 2025 [88] | System defence | Control and data flow fixed by the trusted query | 77% of tasks with provable security |
| Tantaroudas et al., 2026 [41] | Injection through log fields and system defence | Warning, quarantine, locked verdict | Only the locked verdict hid no attack |
Table 8.
Open-source tools for detection, threat intelligence, learning and the security of language-model applications.
Table 8.
Open-source tools for detection, threat intelligence, learning and the security of language-model applications.
| Tool | Purpose | Typical use in security research | Reference |
|---|---|---|---|
| Snort | Lightweight network intrusion detection | Signature-based detection on small networks | [49] |
| Bro | Real-time network intrusion detection | Network monitoring and detection | [50] |
| Suricata | Network threat detection engine | Intrusion detection and prevention and network security monitoring | [133] |
| MISP | Threat-intelligence sharing platform | Collecting and sharing indicators of compromise | [134] |
| scikit-learn | Machine learning in Python | Classical classifiers and baselines | [135] |
| PyTorch | Deep learning library | Neural detectors | [136] |
| Transformers | Library of pre-trained language models | Encoder and generative models | [137] |
| llama.cpp | LLM inference in C/C++ with integer quantisation | Local assistants on ordinary hardware | [112] |
| Llama Guard | Input–output safeguard model | Screening prompts and responses | [124] |
| garak | Security probing of LLMs | Discovering weaknesses of a target model | [129] |
| PyRIT | Risk identification and red teaming | Red teaming generative AI systems | [130] |
| Open-Prompt-Injection | Benchmark platform | Evaluating prompt-injection attacks and defences | [120] |
| AgentDojo | Environment for agents over untrusted data | Evaluating attacks, defences and adaptive attacks | [128] |
| CaMeL | System-level injection defence | Protecting agents by design | [88] |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.