mlsanityData to 7 Oct 2026

Hackphyr: A Local Fine-Tuned LLM Agent for Network Security Environments

arXiv 2409.11276 ↗First posted 17 Sep 2024cs.CRcited by 9

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Large Language Models (LLMs) have shown remarkable potential across various domains, including cybersecurity. Using commercial cloud-based LLMs may be undesirable due to privacy concerns, costs, and network connectivity constraints. In this paper, we present Hackphyr, a locally fine-tuned LLM to be used as a red-team agent within network security environments. Our fine-tuned 7 billion parameter model can run on a single GPU card and achieves performance comparable with much larger and more powerful commercial models such as GPT-4. Hackphyr clearly outperforms other models, including GPT-3.5-turbo, and baselines, such as Q-learning agents in complex, previously unseen scenarios. To achieve this performance, we generated a new task-specific cybersecurity dataset to enhance the base model's capabilities. Finally, we conducted a comprehensive analysis of the agents' behaviors that provides insights into the planning abilities and potential shortcomings of such agents, contributing to the broader understanding of LLM-based agents in cybersecurity contexts

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 28 of its 36 references that are in the map. First posted on arXiv 17 Sep 2024.

Builds on

28 of 36 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023LLMs Killed the Script Kiddie: How Agents Supported by Large Language Models Change the Landscape of Network Threat Testing10 Oct

Other references · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  6. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  7. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  8. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  9. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  10. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  11. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  12. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
15 more
  1. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
  2. 2023Reasoning with Language Model is Planning with World Modelcited by 846
  3. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  4. 2023Zephyr: Direct Distillation of LM Alignmentcited by 498
  5. 2023Describe, Explain, Plan and Select: Interactive Planning with Large Language Models Enables Open-World Multi-Task Agentscited by 396
  6. 2022Teaching Small Language Models to Reasoncited by 279
  7. 2021Benchmarking the Spectrum of Agent Capabilitiescited by 193
  8. 2023Guiding Pretraining in Reinforcement Learning with Large Language Modelscited by 185
  9. 2023Generalized Planning in PDDL Domains with Pretrained Large Language Modelscited by 139
  10. 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 94
  11. 2023Getting pwn'd by AI: Penetration Testing with Large Language Modelscited by 82
  12. 2022Housekeep: Tidying Virtual Households using Commonsense Reasoningcited by 57
  13. 2023Using Large Language Models for Cybersecurity Capture-The-Flag Challenges and Certification Questionscited by 23
  14. 2023Out of the Cage: How Stochastic Parrots Win in Cyber Security Environmentscited by 17
  15. 2023Autonomous Intelligent Cyber-defense Agent: Introduction and Overviewcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 4; 2026: 3.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Systematic Capability Benchmarking of Frontier Large Language Models for Offensive Cyber Tasks
  2. 2025Cyber-Zero: Training Cybersecurity Agents without Runtime
  3. 2024LLM Agents can Autonomously Hack Websites
  4. 2026LLM agents security duality: a comprehensive survey of self-security and empowered cybersecurity
  5. 2026Co-RedTeam: Orchestrated Security Discovery and Exploitation with LLM Agents
  6. 2025MALCDF: A Distributed Multi-Agent LLM Framework for Real-Time Cyber
  7. 2024HackSynth: LLM Agent and Evaluation Framework for Autonomous Penetration Testing
  8. 2025From Texts to Shields: Convergence of Large Language Models and Cybersecurity