mlsanityData to 14 Oct 2026

RulePilot: An LLM-Powered Agent for Security Rule Generation

arXiv 2511.12224 ↗First posted 15 Nov 2025cs.CRcited by 4

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

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  3. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  4. 2023Teaching Large Language Models to Self-Debugcited by 988
  5. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  6. 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methodscited by 465
  7. 2020IntelliCode Compose: Code Generation Using Transformercited by 227
  8. 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 67
  9. 2023Interpretable Online Log Analysis Using Large Language Models with Prompt Strategiescited by 38
  10. 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 37
  11. 2024LLMCloudHunter: Harnessing LLMs for Automated Extraction of Detection Rules from Cloud-Based CTIcited by 18
  12. 2020Automatic Yara Rule Generation Using Biclusteringcited by 17
2 more
  1. 2024Using LLMs to Automate Threat Intelligence Analysis Workflows in Security Operation Centerscited by 10
  2. 2023You Cannot Escape Me: Detecting Evasions of SIEM Rules in Enterprise Networkscited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025GRIDAI: Generating and Repairing Intrusion Detection Rules via Collaboration among Multiple LLM-based Agents
  2. 2026RuleAutoPilot: Synthesizing Deployable Suricata Rules from Network Traffic ↗
  3. 2026GenTI: Benchmarking LLMs for Autonomous IDPS Rule Generation for Unseen Attacks
  4. 2025LLMs as Firmware Experts: A Runtime-Grown Tree-of-Agents Framework
  5. 2025AutoPentester: An LLM Agent-based Framework for Automated Pentesting
  6. 2025FALCON: Transforming Cyber Threat Intelligence into Deployable IDS Rules with Self-Reflection
  7. 2026PVDetector: Detecting Prompt Injection Attacks on Purpose-Specific LLM Agents through Policy-Violation Concept Analysis
  8. 2025CyberRAG: An Agentic RAG cyber attack classification and reporting tool