Publications

Peer-reviewed papers and preprints.

  1. CyberForge: Verified Vulnerability Injection at Repository Level for Cybersecurity Agent Training

    Amine Lbath*, Manan Suri*, Aurelien Delaitre, Vadim Okun, Massih-Reza Amini, Ram D. Sriram, Dinesh Manocha

    *equal contribution

    Submitted July 2026, under review

    Despite recent advances, frontier large language model (LLM) agents remain limited in discovering and patching complex vulnerabilities in real-world software. Generally available agents can already aid attackers, who only need to find one exploitable weakness, while defenders must continuously identify and patch all vulnerabilities across fast-growing codebases. Stronger defensive agents would help close this gap, yet the scarcity of security training data with reproducible build and execution environments remains a bottleneck. We present CyberForge, a framework that synthesizes executable, repository-level security training data by injecting vulnerabilities into real C/C++ projects. It validates each instance dynamically: the injected build must pass the project's unit tests, and generated proof-of-vulnerability (PoV) must trigger on the injected build and not on the clean one. CyberForge is not limited by the availability of disclosed vulnerabilities, therefore it can scale in comparison to data augmentation techniques which rely on historic CVE data. The resulting corpus holds 1034 validated vulnerabilities across 80 projects and 63 weakness categories, with edit locality similar to real CVE patches under a real-versus-real noise floor. Fine-tuning on trajectories collected over this corpus improves SEC-bench patch repair by +3.3 to +14.7 points, in all six configurations of three model scales and two teachers, with the 31B student reaching its GPT-5.4-mini teacher, 72.7% against 74.0%. These gains generalize out of distribution to PatchEval, a corpus containing other programming languages, where every configuration also improves and the 31B student passes its teacher.

    @misc{lbath2026cyberforge,  title         = {CyberForge: Verified Vulnerability Injection at Repository Level for Cybersecurity Agent Training},  author        = {Lbath, Amine and Suri, Manan and Delaitre, Aurelien and Okun, Vadim and Amini, Massih-Reza and Sriram, Ram D. and Manocha, Dinesh},  year          = {2026},  eprint        = {2608.06471},  archivePrefix = {arXiv},  primaryClass  = {cs.CR},  url           = {https://arxiv.org/abs/2608.06471}}
  2. AVIATOR: Towards AI-Agentic Vulnerability Injection Workflow for High-Fidelity, Large-Scale Code Security Dataset

    Amine Lbath, Massih-Reza Amini, Aurelien Delaitre, Vadim Okun

    Journal of Systems and Software (in press)

    The increasing complexity of software systems and the sophistication of cyber-attacks have underscored the need for reliable automated software vulnerability detection. Data-driven approaches using deep learning models show promise but critically depend on the availability of large, accurately labeled datasets. Yet existing datasets either suffer from noisy labels, limited vulnerability coverage, or fail to reflect vulnerabilities as they occur in real-world software. This also limits large-scale benchmarking of such solutions. Automated vulnerability injection provides a way to address these limitations, but existing techniques remain limited in coverage, contextual fidelity, or injection success. In this paper, we present AVIATOR, the first AI-agentic vulnerability injection framework. AVIATOR decomposes vulnerability injection into a coordinated workflow of specialized AI agents, tool-based analysis, and iterative self-correction, explicitly mirroring expert reasoning. It integrates RAG and lightweight LoRA-based fine-tuning to produce realistic, category-specific vulnerabilities without relying on handcrafted patterns. Across three benchmarks, AVIATOR achieves high injection fidelity (91-95%) surpassing existing injection techniques in both accuracy and vulnerability coverage. When used for data augmentation to train deep learning-based vulnerability detection (DLVD) models, AVIATOR provides the strongest downstream gains in vulnerability detection. Across models and base datasets, AVIATOR improves average F1 scores by +22% over no augmentation, +25% over VGX, holding the prior best injection success rate, and +3% over VulScribeR, the prior state-of-the-art LLM-based injection model, with +7% higher recall and no precision loss. Its augmented data exhibits the lowest distributional distortion and scales efficiently with <2% syntax rejection at 4.3x lower cost than VulScribeR.

    @misc{lbath2025aviator,  title         = {AVIATOR: Towards AI-Agentic Vulnerability Injection Workflow for High-Fidelity, Large-Scale Code Security Dataset},  author        = {Lbath, Amine and Amini, Massih-Reza and Delaitre, Aurelien and Okun, Vadim},  year          = {2025},  eprint        = {2508.20866},  archivePrefix = {arXiv},  primaryClass  = {cs.CR},  note          = {Minor revision, Journal of Systems and Software},  url           = {https://arxiv.org/abs/2508.20866}}
  3. SNAPPerf: Software-Aware Tabular Foundation Model for Retraining-Free Performance Prediction of Configurable Systems

    Amine Lbath, Massih-Reza Amini, Vadim Okun

    Preprint, 2026

    Modern software systems expose hundreds of configuration options whose combinations can substantially affect execution time, memory and energy usage. Measuring software performance resulting from a configuration set requires running a realistic workload. Since the configuration space grows exponentially, exhaustive benchmarking is infeasible. Prior work therefore trains models on a small set of measured configurations to predict the performance of the rest. Yet these models are specific to a particular software version, hardware platform, and workload, so changes require new measurements and retraining, and such changes are becoming more frequent with coding agents. We challenge this per-system training assumption with SNAPPerf (Software-aware, No-retraining, Adaptive Prediction), a sample- efficient tabular foundation model specialized for configurable software. SNAPPerf is pretrained once on synthetic data. Each new update only requires a few measured configurations as context to predict the rest without any per-system training or hyperparameter tuning. Across 39,866 configurations from 12 real-world systems, spanning 6 domains and 4 performance metrics, SNAPPerf reduces prediction error by 38% over the prior state of the art at the same measurement budget, and by 25% over the best general-purpose tabular foundation model. It matches the state of the art’s accuracy with 54% fewer measurements on average. These results suggest that knowledge about software can be encoded in pretraining data rather than in per-system models, opening a new research direction in software-aware pretraining.

    @misc{lbath2026snapperf,  title         = {SNAPPerf: Software-Aware Tabular Foundation Model for Retraining-Free Performance Prediction of Configurable Systems},  author        = {Lbath, Amine and Amini, Massih-Reza and Okun, Vadim},  year          = {2026},  eprint        = {2611.00944},  archivePrefix = {arXiv},  primaryClass  = {cs.SE},  url           = {https://arxiv.org/abs/2611.00944}}
  4. Reva: Real-Time Vulnerability Detection through Contextual Probing of Large Language Models

    Amine Lbath, Massih-Reza Amini

    Preprint, 2026

    A vulnerability costs more to fix the later it is discovered. As coding agents generate code faster than developers can review it, software needs a first line of defense screening each new function in real time. LLM agents have recently become capable of finding real-world vulnerabilities by working as a security expert would: they run analysis tools, explore the surrounding code, test hypotheses and weigh the evidence before forming their own judgement. This reasoning, however, spans many model calls, so that each verdict takes minutes of compute, far too long for real-time screening. Faster detectors, which fine-tune deep learning models or prompt an LLM for a direct verdict, are less accurate: they judge a function without the context an agent gathers, and an LLM's generated verdict is unreliable even when given some of it.

    We present REVA (REal-time Vulnerability Analysis), an AI vulnerability detector that brings the security context and code understanding components behind agentic detectors into a single forward pass of an LLM. For each new function, REVA gives the LLM a pre-computed threat model of its module, lightweight static analysis findings and call-graph information. REVA leverages a trained probe to read the LLM's internal representations of the new function in this context. On PrimeVul's held-out test set, REVA on GLM-5.3-Flash reaches 60.0% accuracy in about one second per function. This matches VulTriage (59.2%), the state-of-the-art agentic detector, run on the same LLM, while being over 250 times faster and less than a tenth as costly. On the same prompt, the probe is 14% to 17% more accurate than the LLM's own direct verdict. Across three open LLMs, REVA is at least as accurate as VulTriage, and about 10% more accurate on two of them. An LLM's internal representations thus encode much of what agentic detectors obtain through reasoning.

    @misc{lbath2026reva,  title         = {Reva: Real-Time Vulnerability Detection through Contextual Probing of Large Language Models},  author        = {Lbath, Amine and Amini, Massih-Reza},  year          = {2026},  eprint        = {2610.35829},  archivePrefix = {arXiv},  primaryClass  = {cs.CR},  url           = {https://arxiv.org/abs/2610.35829}}
  5. A Randomized Framework for Validating Benchmark Claims

    Amine Lbath, Massih-Reza Amini

    Privacy in the Era of Large Opaque Models (PriLOM) Workshop, NeurIPS 2026

    Benchmark questions can appear in a model's training data without necessarily affecting its evaluation performance. A model may see an item during training and not retain it. It may retain the item and still answer by reasoning, leaving its evaluation score unaffected. Or it may retain the item and use this information, overstating its performance. These are different claims, and evidence for one does not establish another. Telling them apart requires comparing against the same model trained without that item. For a released model, that comparison is not available.

    We introduce TRACE (Target-Randomized Assessment of Contamination Effects), a method for estimating the effect of benchmark exposure directly. We train two copies of a model under the same recipe and token budget, assigning each benchmark item to one copy or the other at random, so every item is seen by one copy and withheld from its sibling. Comparing the two copies on the same item gives a controlled contrast between exposure and no exposure. From that contrast we measure three effects separately: changes in preference for the exposed solution, reproduction of that solution, and accuracy.

    We evaluate TRACE across four pretrained model families. Benchmark exposure consistently increases preference for and reproduction of the exposed solutions, but its effect on accuracy varies substantially, from large improvements to no measurable change. Evidence that a model has retained a benchmark item therefore does not by itself show that contamination inflated its score. Where exposure is known, TRACE establishes what contamination evidence is entitled to mean.

    @inproceedings{lbath2026randomized,  title         = {A Randomized Framework for Validating Benchmark Claims},  author        = {Lbath, Amine and Amini, Massih-Reza},  booktitle     = {NeurIPS 2026 Workshop on Privacy in the Era of Large Opaque Models (PriLOM)},  year          = {2026}}
  6. CovCast: When Will Fuzzing Stop Paying Off? A Specialized Tabular Foundation Model for Coverage-Rate Forecasting

    Amine Lbath

    Preprint, 2026, under review

    Fuzzing finds security vulnerabilities by executing a program on millions of randomly generated and mutated inputs, and a single campaign often runs for days on many machines. As fewer parts of the program remain unexplored, the probability of finding new bugs decreases, and practitioners must decide when to stop a campaign. This decision requires forecasting the coverage rate of a campaign, the number of new code elements it will cover per unit of time in the coming hours or days. Forecasting coverage is challenging because coverage grows irregularly, alternating between long plateaus and sudden increases. Existing forecasting methods adapt statistical estimators whose assumptions fuzzers violate, and analyze each campaign in isolation, which limits their accuracy.

    We present CovCast (Coverage foreCaster), a novel tabular foundation model for forecasting fuzzing coverage. CovCast is pretrained on synthetic fuzzing campaigns generated by a simulator, and forecasts the future coverage of any new campaign from the coverage observed so far, without any re-training. On the FuzzTastic benchmark (133 campaigns on five programs), CovCast reduces the median forecast error of the prior state of the art by 17%, and by 39% for forecasts made on the second and third days of a campaign, when stopping saves the most compute. Stopping campaigns based on its forecasts saves almost four times as much compute as a fixed time budget for the same loss of coverage, as much as the prior state of the art. Unlike existing methods, which require per-element execution counts, CovCast only needs the coverage over time that every fuzzer reports, which makes it applicable to any campaign. On 1,833 FuzzBench campaigns of 11 fuzzers, which do not record the data that existing methods need, CovCast reduces the forecast error of the strongest applicable baseline by 23% and is the most accurate method for every fuzzer and every program.

    @unpublished{lbath2026covcast,  title         = {CovCast: When Will Fuzzing Stop Paying Off? A Specialized Tabular Foundation Model for Coverage-Rate Forecasting},  author        = {Lbath, Amine},  year          = {2026},  note          = {Preprint, under review}}
  7. Toward Scalable Automated Repository-Level Datasets for Software Vulnerability Detection

    Amine Lbath

    34th ACM International Conference on the Foundations of Software Engineering (FSE 2026), Doctoral Symposium

    Software vulnerabilities continue to grow in volume and remain difficult to detect in practice. Although learning-based vulnerability detection has progressed, existing benchmarks are largely function-centric and fail to capture realistic, executable, interprocedural settings. Recent repo-level security benchmarks demonstrate the importance of realistic environments, but their manual curation limits scale. This doctoral research proposes an automated benchmark generator that injects realistic vulnerabilities into real-world repositories and synthesizes reproducible proof-of-vulnerability (PoV) exploits, enabling precisely labeled datasets for training and evaluating repo-level vulnerability detection agents. We further investigate an adversarial co-evolution loop between injection and detection agents to improve robustness under realistic constraints.

    @inproceedings{lbath2026toward,  title         = {Toward Scalable Automated Repository-Level Datasets for Software Vulnerability Detection},  author        = {Lbath, Amine},  booktitle     = {Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering (FSE), Doctoral Symposium},  year          = {2026},  publisher     = {ACM},  doi           = {10.1145/3803437.3804870},  url           = {https://dl.acm.org/doi/10.1145/3803437.3804870}}
  8. Energy Efficiency in AI for 5G and Beyond: A DeepRx Case Study

    Amine Lbath, Ibtissam Labriji

    2024 Joint European Conference on Networks and Communications & 6G Summit (EuCNC/6G Summit)

    This study addresses the challenge of balancing energy efficiency with performance in AI/ML models, focusing on DeepRX, a deep learning receiver based on a fully convolutional ResNet architecture. We evaluate the energy consumption of DeepRX, considering factors including FLOPs/Watt and FLOPs/clock, and find consistency between estimated and actual energy usage, influenced by memory access patterns. The research extends to comparing energy dynamics during training and inference phases. A key contribution is the application of knowledge distillation (KD) to train a compact DeepRX student model that emulates the performance of the teacher model but with reduced energy consumption. We experiment with different student model sizes, optimal teacher sizes, and KD hyperparameters. Performance is measured by comparing the Bit Error Rate (BER) performance versus Signal-to-Interference & Noise Ratio (SINR) values of the distilled model and a model trained from scratch. The distilled models demonstrate a lower error floor across SINR levels, highlighting the effectiveness of KD in achieving energy-efficient AI solutions.

    @inproceedings{lbath2024energy,  title         = {Energy Efficiency in AI for 5G and Beyond: A DeepRx Case Study},  author        = {Lbath, Amine and Labriji, Ibtissam},  booktitle     = {2024 Joint European Conference on Networks and Communications \& 6G Summit (EuCNC/6G Summit)},  publisher     = {IEEE},  year          = {2024},  doi           = {10.1109/EuCNC/6GSummit60053.2024.10597065}}