RulePilot: An LLM-Powered Agent for Security Rule Generation
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
The real-time demand for system security leads to the detection rules becoming an integral part of the intrusion detection life-cycle. Rule-based detection often identifies malicious logs based on the predefined grammar logic, requiring experts with deep domain knowledge for rule generation. Therefore, automation of rule generation can result in significant time savings and ease the burden of rule-related tasks on security engineers. In this paper, we propose RulePilot, which mimics human expertise via LLM-based agent for addressing rule-related challenges like rule creation or conversion. Using RulePilot, the security analysts do not need to write down the rules following the grammar, instead, they can just provide the annotations such as the natural-language-based descriptions of a rule, our RulePilot can automatically generate the detection rules without more intervention. RulePilot is equipped with the intermediate representation (IR), which abstracts the complexity of config rules into structured, standardized formats, allowing LLMs to focus on generation rules in a more manageable and consistent way. We present a comprehensive evaluation of RulePilot in terms of textual similarity and execution success abilities, showcasing RulePilot can generate high-fidelity rules, outperforming the baseline models by up to 107.4% in textual similarity to ground truths and achieving better detection accuracy in real-world execution tests. We perform a case study from our industry collaborators in Singapore, showcasing that RulePilot significantly help junior analysts/general users in the rule creation process.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 14 of its 48 references that are in the map. First posted on arXiv 15 Nov 2025.
Builds on
14 of 48 references.
References · 14
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methodscited by 465
- 2020IntelliCode Compose: Code Generation Using Transformercited by 227
- 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 67
- 2023Interpretable Online Log Analysis Using Large Language Models with Prompt Strategiescited by 38
- 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 37
- 2024LLMCloudHunter: Harnessing LLMs for Automated Extraction of Detection Rules from Cloud-Based CTIcited by 18
- 2020Automatic Yara Rule Generation Using Biclusteringcited by 17
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelinescited by 2
- 2026AliMark: Enhancing Robustness of Sentence-Level Watermarking Against Text Paraphrasingcited by 1
- 2026ARuleCon: Agentic Security Rule Conversioncited by 0
- 2026The History Is the Detector: Executing CVE Patch History, End-to-Endcited by 0
- 2026The History Is the Detector: Executing CVE Patch History, End-to-End4 Sep 2026
- 2026AliMark: Enhancing Robustness of Sentence-Level Watermarking Against Text Paraphrasing28 May 2026
- 2026ARuleCon: Agentic Security Rule Conversion8 Apr 2026
- 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelines7 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025GRIDAI: Generating and Repairing Intrusion Detection Rules via Collaboration among Multiple LLM-based Agents
- 2026RuleAutoPilot: Synthesizing Deployable Suricata Rules from Network Traffic ↗
- 2026GenTI: Benchmarking LLMs for Autonomous IDPS Rule Generation for Unseen Attacks
- 2025LLMs as Firmware Experts: A Runtime-Grown Tree-of-Agents Framework
- 2025AutoPentester: An LLM Agent-based Framework for Automated Pentesting
- 2025FALCON: Transforming Cyber Threat Intelligence into Deployable IDS Rules with Self-Reflection
- 2026PVDetector: Detecting Prompt Injection Attacks on Purpose-Specific LLM Agents through Policy-Violation Concept Analysis
- 2025CyberRAG: An Agentic RAG cyber attack classification and reporting tool