Metraipolis › archive › dc_bc0f6aa949a0
Learning from Failures: A Failure-Driven Prompt Refinement for LLM-Based Vulnerability Analysis — arXiv:2610.08405
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.08405
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T11:21:45.226Z
- SHA-256 of the archived text
3d05a5584c5ed9ac04900c4bb52135692a121d340e13312eeb962e909cdf86c8- Stable URL of this page
https://metraipolis.com/documento/dc_bc0f6aa949a0
How to cite
Learning from Failures: A Failure-Driven Prompt Refinement for LLM-Based Vulnerability Analysis — arXiv:2610.08405 — arXiv (en), https://arxiv.org/abs/2610.08405 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_bc0f6aa949a0 (Metraipolis archive dc_bc0f6aa949a0, sha256 3d05a5584c5ed9ac04900c4bb52135692a121d340e13312eeb962e909cdf86c8)
BibTeX
@misc{dcbc0f6aa949a0,
title = {Learning from Failures: A Failure-Driven Prompt Refinement for LLM-Based Vulnerability Analysis — arXiv:2610.08405},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.08405},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_bc0f6aa949a0; sha256 3d05a5584c5ed9ac04900c4bb52135692a121d340e13312eeb962e909cdf86c8},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.08405. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large Language Models have emerged as promising tools for software vulnerability analysis, but their effectiveness depends heavily on prompt design. Existing research primarily compares prompting strategies using aggregate performance metrics, providing limited insight into why models fail or how prompts can be improved systematically. We propose Failure-Driven Prompt Refinement (FDPR), a methodology that analyzes recurring model failures to guide evidence-based prompt refinement. Using the Damn Vulnerable Java Application (DVJA), we identify recurring failure modes, including false positives, false negatives, unsupported reasoning, and CWE misclassification, and translate them into targeted prompt refinements. We then evaluate the resulting prompt on the Juliet Test Suite and perform cross-model validation to assess generalizability. The results show that failure-driven refinement improves the reliability of LLM-based vulnerability analysis while yielding reusable prompt design principles. More broadly, this work demonstrates that recurring model failures provide a principled foundation for prompt engineering, enabling the systematic development of more reliable LLM-based vulnerability analysis systems. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2610.08405 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T11:15:24.825Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).