Hallucination-Resistant Security Planning with a Large Language Model
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are promising tools for supporting security management tasks, such as incident response planning. However, their unreliability and tendency to hallucinate remain significant challenges. In this paper, we address these challenges by introducing a principled framework for using an LLM as decision support in security management. Our framework integrates the LLM in an iterative loop where it generates candidate actions that are checked for consistency with system constraints and lookahead predictions. When consistency is low, we abstain from the generated actions and instead collect external feedback, e.g., by evaluating actions in a digital twin. This feedback is then used to refine the candidate actions through in-context learning (ICL). We prove that this design allows to control the hallucination risk by tuning the consistency threshold. Moreover, we establish a bound on the regret of ICL under certain assumptions. To evaluate our framework, we apply it to an incident response use case where the goal is to generate a response and recovery plan based on system logs. Experiments on four public datasets show that our framework reduces recovery times by up to 30% compared to frontier LLMs.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 36 of its 79 references that are in the map. First posted on arXiv 5 Feb 2026.
Builds on
36 of 79 references.
References · 36
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022A Survey on In-context Learningcited by 717
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
- 2022Large Language Models are Better Reasoners with Self-Verificationcited by 304
- 2025Why Language Models Hallucinatecited by 205
- 2023Universal Self-Consistency for Large Language Model Generationcited by 198
- 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
24 more
- 2024NetLLM: Adapting Large Language Models for Networkingcited by 76
- 2024Mitigating LLM Hallucinations via Conformal Abstentioncited by 56
- 2024Is In-Context Learning in Large Language Models Bayesian? A Martingale Perspectivecited by 51
- 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 36
- 2025A Survey of In-Context Reinforcement Learningcited by 35
- 2024KnowPhish: Large Language Models Meet Multimodal Knowledge Graphs for Enhancing Reference-Based Phishing Detectioncited by 29
- 2024Depending on yourself when you should: Mentoring LLM with RL agents to become the master in cybersecurity gamescited by 20
- 2024Oedipus: LLM-enchanced Reasoning CAPTCHA Solvercited by 20
- 2025Learning Conformal Abstention Policies for Adaptive Risk Management in Large Language and Vision-Language Modelscited by 20
- 2023Exploring ChatGPT's Capabilities on Vulnerability Managementcited by 19
- 2025A Framework for Evaluating Emerging Cyberattack Capabilities of AIcited by 15
- 2025Large Language Models are Autonomous Cyber Defenderscited by 14
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challengescited by 14
- 2024Automated Security Response through Online Learning with Adaptive Conjecturescited by 13
- 2023Introducing a New Alert Data Set for Multi-Step Attack Analysiscited by 12
- 2025Incident Response Planning Using a Lightweight Large Language Model with Reduced Hallucinationcited by 10
- 2024RACONTEUR: A Knowledgeable, Insightful, and Portable LLM-Powered Shell Command Explainercited by 9
- 2024Intrusion Tolerance for Networked Systems through Two-Level Feedback Controlcited by 8
- 2024Generating API Parameter Security Rules with LLM for API Misuse Detectioncited by 7
- 2024LLMPirate: LLMs for Black-box Hardware IP Piracycited by 7
- 2023NLP-Based Techniques for Cyber Threat Intelligencecited by 6
- 2025Adaptive Network Security Policies via Belief Aggregation and Rolloutcited by 6
- 2025OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMscited by 6
- 2024The Midas Touch: Triggering the Capability of LLMs for RM-API Misuse Detectioncited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.