Answers are grounded in this paper and cite their sources.
Language models have become good at reading, explaining and rewriting code, so it is no surprise that people want to use them for security work. The trouble is that most studies tune a single stage of the job, usually detection, and report numbers from benchmarks that flatter the result. We describe a framework that treats vulnerability analysis as a chain of stages, each of which must produce evidence that the next stage can check: detection, correlation, CWE classification, risk scoring, explanation, patch generation and validation. A conventional static analyser and an LLM examine the same code side by side, and their findings are merged without losing track of who found what. Severity comes from CVSS-style metrics instead of the model’s own confidence, explanations are scored against a rubric, and a patch counts only if it compiles, passes the tests, stops triggering re-analysis and actually touches the cited root cause. We also fix the evaluation in advance: PrimeVul as the benchmark, frozen prompts and baselines, six experiments, paired statistics, and a decision rule written before any test result exists. Eight research questions and four hypotheses guide the plan. This is a design and protocol paper. We report no experimental results, and every results table is an empty template.
No takes yet. Share an insight, caveat, or question.
Lohokare et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: