PhD Position F/M PhD Position F/M: How does Reasoning with LLM Help Repair Vulnerabilities in Repo-level Software Projects?
Contract type : Fixed-term contract
Level of qualifications required : Graduate degree or equivalent
Fonction : PhD Position
About the research centre or Inria department
The Inria Rennes - Bretagne Atlantique Centre is one of Inria's eight centres and has more than thirty research teams. The Inria Center is a major and recognized player in the field of digital sciences. It is at the heart of a rich R&D and innovation ecosystem: highly innovative PMEs, large industrial groups, competitiveness clusters, research and higher education players, laboratories of excellence, technological research institute, etc.
Context
Within the framework of the ANR PRCI project "SecLLM4SVD (Secured Large Language Models in Reliable Software Vulnerability Detection)", Principal Investigator: Dr. Yufei Han.
Assignment
Context and Motivation:
Large Language Models (LLMs) have demonstrated remarkable capabilities in automating the detection of software vulnerabilities (SVD) due to their ability to process both natural and programming languages. However, a critical reliability concern with state-of-the-art LLMs is their susceptibility to adversarial attacks. Subtle, problem-space modifications to source code—such as variable renaming or dead code insertion—can mislead the model without changing the code's main functionality or underlying vulnerabilities. Furthermore, the opaque, "black-box" nature of LLMs makes it difficult to understand whether they truly grasp code semantics or simply recognize superficial statistical artifacts.
Collaboration :
The recruited person will be in connection with Dr. Yuejun Guo at Luxembourg Institute of Science and Technology.
Responsibilities :
The person recruited is responsible for conducing full-time research activities centered at the theme of the thesis.
Steering/Management :
The person recruited will be supervised by Dr. Yufei Han
Main activities
Thesis Objectives
This 36-month PhD position aims to advance the state of the art in software security by focusing on repository-level code vulnerability detection and root cause analysis using Large Language Models. The candidate will spearhead research in two dedicated phases, transitioning from deep vulnerability discovery across complex codebases to automated, reliable code remediation.
The first phase of the thesis will focus on navigating complex repository structures to detect systemic vulnerabilities. The candidate will investigate how to use reinforcement learning to guide the reasoning processes of Large Language Models during code analysis. By dynamically steering the model's analytical path, the research aims to successfully unveil hidden vulnerabilities that arise from intricate cross-function, cross-file, and cross-library dependencies. This approach will allow the model to trace execution and data flows across various architectural boundaries, moving beyond localized scanning to pinpoint the exact root causes of security flaws deeply embedded within the repository ecosystem.
Building upon the precise identification and root cause analysis achieved in the first phase, the subsequent research will shift towards automated remediation. The candidate will explore how Large Language Models can be leveraged to actively produce robust fixes for the detected vulnerabilities. A critical challenge in this phase will be ensuring utility integrity in parallel with the security enhancements. The research will require developing rigorous methodologies to guarantee that the LLM-generated patches seamlessly integrate into the broader repository context without breaking existing functionalities, introducing functional regressions, or degrading software performance, ultimately providing reliable and production-ready code repairs.
Skills
Candidate Profile and Requirements
To successfully carry out the research objectives of WP2 and WP3, the ideal candidate should possess a strong foundational background in both artificial intelligence and software security. We are looking for candidates who meet the following requirements:
- Educational Background: A Master’s degree or equivalent engineering degree in Computer Science, Artificial Intelligence, Cybersecurity, or a closely related discipline.
- Deep Learning Expertise: Solid knowledge and proven project experience in designing, training, and evaluating Deep Neural Network (DNN)-based classification models.
- Program Analysis Proficiency: Demonstrated understanding and practical experience in program analysis. Specifically, the candidate must be familiar with the static analysis of source code using semantic representations, such as Control Flow Graphs (CFG) and Data Flow Graphs (DFG).
- Programming Skills: Strong programming skills in Python and proficiency with standard deep learning frameworks (e.g., PyTorch, TensorFlow). Experience with code parsing and analysis tools (e.g., Tree-sitter, Joern) is highly desirable.
- Additional Assets: Prior exposure to Large Language Models (LLMs), Natural Language Processing (NLP), or Adversarial Machine Learning will be considered a significant plus.
- Soft Skills: Excellent analytical and problem-solving skills, an autonomous and rigorous work ethic, and good communication skills in English for scientific writing and presentation within an international consortium.
Benefits package
- Subsidized meals
- Partial reimbursement of public transport costs
- Leave: 7 weeks of annual leave + 10 extra days off due to RTT (statutory reduction in working hours) + possibility of exceptional leave (sick children, moving home, etc.)
- Possibility of teleworking (after 6 months of employment) and flexible organization of working hours
- Professional equipment available (videoconferencing, loan of computer equipment, etc.)
- Social, cultural and sports events and activities
- Access to vocational training
- Social security coverage
Remuneration
monthly gross salary 2300 euros
General Information
- Theme/Domain :
Data and Knowledge Representation and Processing
Information system (BAP E) - Town/city : Rennes
- Inria Center : Centre Inria de l'Université de Rennes
- Starting date : 2026-09-01
- Duration of contract : 3 years
- Deadline to apply : 2026-07-30
Warning : you must enter your e-mail address in order to save your application to Inria. Applications must be submitted online on the Inria website. Processing of applications sent from other channels is not guaranteed.
Instruction to apply
Please submit online : your resume, cover letter and letters of recommendation eventually
Defence Security :
This position is likely to be situated in a restricted area (ZRR), as defined in Decree No. 2011-1425 relating to the protection of national scientific and technical potential (PPST).Authorisation to enter an area is granted by the director of the unit, following a favourable Ministerial decision, as defined in the decree of 3 July 2012 relating to the PPST. An unfavourable Ministerial decision in respect of a position situated in a ZRR would result in the cancellation of the appointment.
Recruitment Policy :
As part of its diversity policy, all Inria positions are accessible to people with disabilities.
Contacts
- Inria Team : PIRAT
-
PhD Supervisor :
Han Yufei / yufei.han@inria.fr
The keys to success
Expected Outcomes and Impact
The successful candidate will produce vital transparency analyses and novel attack frameworks that directly assess the attack surface of LLMs used in security-critical software analysis. By exposing these limitations and explaining the underlying mechanics, the candidate's research will establish a quantifiable foundation for building provably robust, human-in-the-loop countermeasures in the later stages of the SecLLM4SVD project. The candidate will be expected to publish his/her research progress on top-tiered research conferences on cyber security and artificial intelligence, such as ACM CCS, Usenix Security, NeurIPS and ICML.
About Inria
Inria is the French national research institute dedicated to digital science and technology. It employs 2,600 people. Its 200 agile project teams, generally run jointly with academic partners, include more than 3,500 scientists and engineers working to meet the challenges of digital technology, often at the interface with other disciplines. The Institute also employs numerous talents in over forty different professions. 900 research support staff contribute to the preparation and development of scientific and entrepreneurial projects that have a worldwide impact.