Presented my work on scalable security dataset generation for AI training and evaluation at FSE 2026 in Montréal (talk and poster).
Hi, I’m
Amine Lbath
AI researcher at NIST · PhD candidate in computer science
I am an AI researcher at the National Institute of Standards and Technology near Washington, D.C., and a PhD candidate in computer science at Université Grenoble Alpes (LIG, CNRS), advised by Prof. Massih-Reza Amini.
Before my PhD, I graduated with highest distinction from INSA Lyon with an M.S. in computer science and data science, studied machine learning at DTU in Copenhagen, and worked on energy-efficient deep learning at Nokia Bell Labs.
Research
My doctoral research sits at the intersection of AI agents, large language models, and software engineering: how intelligent systems can understand, test, and secure real-world software. In particular, I have built agentic frameworks that synthesize verifiable, executable training environments for code-security agents, and post-trained these agents with SFT and RLVR. I also work on self-improving AI, from agents that learn from their own trajectories to a framework that iteratively builds their harness from execution feedback. More recently, my research interests have expanded toward designing and pretraining novel prior-data fitted networks from scratch for software engineering problems, and toward probing LLMs’ internal representations to detect vulnerabilities in real time.
News
Presented Teaching AI to Break Code for Stronger Software Security at the Sigma Xi research symposium, NIST (poster).
Selected to present AVIATOR: Towards AI-Agentic Vulnerability Injection Workflow to NIST researchers at AI@NIST Day (talk and poster).
Invited to present Agents for Software Security at the France Science Summit, French Embassy, Washington, D.C. (poster).
Presented AI Agents for Bug Injection at the Sigma Xi research symposium, NIST (poster).
Started my PhD at Université Grenoble Alpes.
Joined NIST as an AI researcher.
Selected publications
-
CyberForge: Verified Vulnerability Injection at Repository Level for Cybersecurity Agent Training
*equal contribution
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}}
-
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}}
-
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}}
-
Reva: Real-Time Vulnerability Detection through Contextual Probing of Large Language Models
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}}
-
Toward Scalable Automated Repository-Level Datasets for Software Vulnerability Detection
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}}
Service
Finance Chair of the 30th Annual Software Technology Conference (STC 2027), held in May 2027.
Reviewer for the Privacy in the Era of Large Opaque Models (PriLOM) workshop at NeurIPS 2026.
Contact
The best way to reach me is by email at amine_dot_lbath_at_univ-grenoble-alpes_dot_fr. You can also find me on GitHub and LinkedIn.