Skip to Content
You are currently on the new version of our website. Access the old version .
  • 3.8
    Impact Factor
  • 8.8
    CiteScore
  • 24 days
    Submission to First Decision
  • 6 days
    Acceptance to Publication

Journal of Cybersecurity and Privacy

Journal of Cybersecurity and Privacy is an international, peer-reviewed, open access journal on all aspects of computer, systems, and information security, published bimonthly online by MDPI.

Get Alerted

Add your email address to receive forthcoming issues of this journal.

All Articles (485)

  • Article
  • Open Access

A Controlled Experimental Methodology for Evaluating LLM-Based Vulnerability Repair Using Cascaded Program Analysis Context

  • Rohini Murugesan,
  • Sanjai Kommina Chandrasekaran Kirubaa and
  • M. Sethumadhavan
  • + 5 authors

Large language models (LLMs) have gained popularity in automatic code vulnerability fixing tasks. However, the effectiveness of LLMs in this setting relies heavily on the quality and structure of the input context. Prior work has shown that LLM repair accuracy improves when guided with static analysis output, with one system reporting fixes for over 80% of reported vulnerabilities when code slicing from static analysis is used. More recently, pairing CPG-derived code slices with Static Application Security Testing (SAST) findings has been shown to help LLMs distinguish vulnerable from non-vulnerable code with F1 scores above 99% on the Juliet benchmark. However, it remains unclear whether the same kind of richer context that benefits detection also translates into better fix generation and how different combinations of context affect repair quality for a fixed LLM under a defined experimental setting. This paper presents a controlled experimental methodology to examine the effect of progressively richer program–analysis context on LLM-based vulnerability repair. Using a cascaded evaluation strategy across four context levels (L0–L3), we evaluate the repair outcomes obtained when static analysis, graph-derived data-flow information, and hybrid analysis are provided as context. The four context levels are: (L0) raw source code only, (L1) source code with SAST findings, (L2) source code with CPG-derived data flow paths, and (L3) a combination of SAST findings and CPG-derived data flow paths. Starting from a pool of 100 vulnerable C/C++ programs from the Juliet test suite covering nine CWE categories, cases that the model fails to fix at each level are escalated to the next. The 100 cases are used as a bounded evaluation sample, and the same LLM is used throughout the experiment to maintain a consistent model configuration. The methodology evaluates each context level using mutually exclusive repair outcome metrics: Correct Fix Rate (CFR), Plausible but Incorrect Rate (PIR), and Invalid Fix Rate (IFR), along with the Recovery Rate at each level and the Cumulative Fix Rate across the cascade. A separate validation experiment applies a three-level cascade (L0; L1 adding SAST findings and application context; L2 adding Dynamic Application Security Testing findings and vulnerability-specific repair guidance) to 53 PHP files drawn from 18 vulnerability modules of the Damn Vulnerable Web Application. Within the evaluated experimental setting, the results show that SAST context (L1) gives the largest improvement over the no-context baseline on Juliet, raising the Cumulative Fix Rate from 54% to 90%. When L1, L2, and L3 are evaluated directly on the same pool of 46 cases that L0 failed to fix, L1 achieves the highest observed repair performance, compared with the CPG-derived code slice approach alone (L2, 83% cumulative) and CPG combined with SAST (L3, 86% cumulative), indicating that, for the evaluated model and cases, adding CPG context to the prompt did not improve repair performance relative to SAST alone. On DVWA, independent validation establishes that the cascade repairs 39 of the 53 files (73.6%); the scanner-based automated classification that drove the cascade returned an upper bound of 52 of 53 (98.1%), thirteen of whose labels did not survive manual review, exploit replay, behavioral smoke testing, or a check that the target weakness recorded for each file matched the weakness its module exhibits. Because the three security-level variants within a module target the same weakness, this corresponds to 18 distinct vulnerabilities rather than 53. A preliminary three-case comparison within a single module, the only module for which both context types could be supplied in isolation, repaired two cases with vulnerability-specific repair guidance alone and none with runtime findings alone. The findings should be interpreted within the scope of the evaluated LLM, selected vulnerability cases, and experimental configuration. They provide empirical observations within this setting and are not intended to establish model-independent conclusions or generalize directly to all LLMs, vulnerability datasets, or real-world software projects.

J. Cybersecur. Priv.

9 November 2026

Overview of the evaluation pipeline.
  • Feature Paper
  • Article
  • Open Access

Federated learning has emerged as a privacy-preserving paradigm that collaboratively trains a model without sharing raw data. However, federated learning remains highly vulnerable to abnormal or malicious participants. Differential privacy techniques are widely adopted to safeguard client data during federated optimization, but the added privacy noise makes it harder to detect such malicious behaviors. Existing malicious client detection techniques make the implicit assumption that behavioral signals are still identifiable. However, these signals are distorted by differential privacy, the very mechanism that protects client information, making it harder to identify between benign and malicious clients. Because of this, enhancing privacy often reduces attack detection effectiveness, a problem that is still mostly unsolved. We present a new privacy-preserving temporal multi-relational graph learning framework, which improves the ability to detect malicious clients in the differentially private setting. By taking into account the temporal and relational dependency structures of clients through the communication rounds, our framework minimizes the dependence on single behavioral information that is distorted due to privacy noise. In addition, exponential moving average smoothing and persistence-based temporal voting are introduced to ensure detector stability and minimize potential false positives due to privacy-induced perturbations. The proposed framework is comprehensively evaluated on three benchmark datasets, namely, FashionMNIST, CSE-CIC-IDS2018, and CIC-IoT2023, under both IID and non-IID data distributions across diverse adversarial scenarios, including label-flip, backdoor, gradient-lie, free-rider, and Sybil attacks. Experimental evaluation, supported by privacy-budget analysis, component-wise ablation studies, and comparisons with representative robust aggregation methods and recent malicious client detection baselines, demonstrates that the proposed approach consistently achieves a better balance among malicious client detection accuracy, attack mitigation, global model utility, and privacy preservation. On CIC-IoT2023, under the non-IID gradient-lie attack, the detector achieved a detection accuracy of 0.8467±0.0231 and a recall of 1.0000±0.0000 at a composed privacy budget of approximately ϵtotal=7.05, demonstrating that malicious client detection can be retained while providing stronger privacy protection. In addition to improving detection performance, the proposed work quantitatively assesses the degradation of malicious client separability caused by increased differential privacy and shows that temporal relational modeling significantly mitigates this effect.

J. Cybersecur. Priv.

8 November 2026

Overview of the proposed privacy-preserving temporal multi-relation graph neural network framework for malicious client detection in federated learning.
  • Article
  • Open Access

Data protection laws have spread quickly across developing countries, but enactment has often run ahead of citizens’ awareness and of the capacity to turn statutory rights into practical protection. This study examines that gap in Zimbabwe, whose Cyber and Data Protection Act came into force in December 2021, using a 2023 national survey of 1193 adults in all ten provinces, collected for the national regulator, and multivariable regression. Awareness was low and uneven: only 27.9% had heard of the Act, and education alone accounted for 30.8% of the variance in an Awareness Index. Perceived regulatory literacy, a self-assessed measure of personal capability, was positively associated with trust in data-handling organisations once factual awareness was controlled, while awareness itself was weakly and negatively associated with trust; both trust models explained less than 5% of the variance. Literacy was strongly associated with self-reported knowledge of how to opt out of unsolicited communications (odds ratio = 3.09), but neither awareness nor literacy was associated with willingness to share personal information, and higher trust was associated with less scrutiny of cookie notices. These cross-sectional associations provide a baseline for data protection outreach in Zimbabwe and hypotheses for comparative research.

J. Cybersecur. Priv.

6 November 2026

Core indicators of data protection awareness in Zimbabwe (N = 1193). Awareness narrows progressively from general institutional recognition to specific regulatory knowledge.
  • Article
  • Open Access

Intrusion detection systems for Internet of Drones (IoD) networks face persistent challenges, including severe class imbalance, redundant features, data leakage, and traffic patterns that differ fundamentally from enterprise networks. Most existing pipelines are tuned to a single dataset and fail to generalize across domains. We propose a dataset-unified pipeline, configured identically across settings with feature selection and automated hyperparameter search, requiring no dataset-specific tuning. Validation was conducted on two contrasting benchmarks: the large-scale, imbalanced CSE-CIC-IDS2018 dataset (~6.3M records, 15 classes) and the near-balanced UAVIDS-2025 UAV/MANET dataset (122,171 records, 5 classes). The pipeline integrates three-stage leakage screening, multivariate k-NN-anchored Gaussian jittering with Tomek-link cleaning, permutation-importance feature selection, and an Optuna-tuned XGBoost classifier. On CSE-CIC-IDS2018, it achieved an overall accuracy of 78.8%, a macro-F1 score of 72.7%, and a weighted F1 score of 86.2%. On UAVIDS-2025, accuracy reached 95.58% with a 95.82% macro-F1 score. Notably, this performance gap co-occurred with fundamental domain and architectural differences between the two benchmarks. Multi-seed and split-validation experiments confirmed the pipeline’s stability. Performance ceilings appear to be governed by sample scarcity and feature separability, underscoring the importance of per-class precision–recall analysis for minority-class reliability in operational IoD intrusion detection.

J. Cybersecur. Priv.

4 November 2026

Overview of the proposed dataset-unified intrusion detection pipeline, from raw network data through leakage screening, class balancing, and the Optuna–XGBoost classifier.

Featured Articles of Last Quarter

Evaluation pipeline for backdoor learning in LoRA-adapted code-generation models.
Preserving privacy for LLMs by using Private Association Editing.

Highly Accessed Articles

News & Conferences

Latest Issues

Open for Submission

Journal Sections

XFacebookLinkedIn
J. Cybersecur. Priv. - ISSN 2624-800X