mlsanityData to 7 Oct 2026

PentestJudge: Judging Agent Behavior Against Operational Requirements

arXiv 2508.02921 ↗First posted 4 Aug 2025cs.AI cs.CRcited by 7

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

Abstract (arXiv)

We introduce PentestJudge, a system for evaluating the operations of penetration testing agents. PentestJudge is a large language model (LLM)-as-judge with access to tools that allow it to consume arbitrary trajectories of agent states and tool call history to determine whether a security agent's actions meet certain operating criteria that would be impractical to evaluate programmatically. We develop rubrics that use a tree structure to hierarchically collapse the penetration testing task for a particular environment into smaller, simpler, and more manageable sub-tasks and criteria until each leaf node represents simple yes-or-no criteria for PentestJudge to evaluate. Task nodes are broken down into different categories related to operational objectives, operational security, and tradecraft. LLM-as-judge scores are compared to human domain experts as a ground-truth reference, allowing us to compare their relative performance with standard binary classification metrics, such as F1 scores. We evaluate several frontier and open-source models acting as judge agents, with the best model reaching an F1 score of 0.83. We find models that are better at tool-use perform more closely to human experts. By stratifying the F1 scores by requirement type, we find even models with similar overall scores struggle with different types of questions, suggesting certain models may be better judges of particular operating criteria. We find that weaker and cheaper models can judge the trajectories of pentests performed by stronger and more expensive models, suggesting verification may be easier than generation for the penetration testing task. We share this methodology to facilitate future research in understanding the ability of judges to holistically and scalably evaluate the process quality of AI-based information security agents so that they may be confidently used in sensitive production environments.

Key facts. Cited by 7 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 25 of its 34 references that are in the map. First posted on arXiv 4 Aug 2025.

Builds on

25 of 34 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024EnIGMA: Interactive Tools Substantially Assist LM Agents in Finding Security Vulnerabilities24 Sep

Other references · 24

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  5. 2023Let's Verify Step by Stepcited by 3,598
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  7. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  8. 2016Concrete Problems in AI Safetycited by 1,582
  9. 2022Solving math word problems with process- and outcome-based feedbackcited by 871
  10. 2024Improve Mathematical Reasoning in Language Models by Automated Process Supervisioncited by 426
  11. 2025The Lessons of Developing Process Reward Models in Mathematical Reasoningcited by 402
  12. 2024JudgeBench: A Benchmark for Evaluating LLM-based Judgescited by 294
12 more
  1. 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 286
  2. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
  3. 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 223
  4. 2024Magentic-One: A Generalist Multi-Agent System for Solving Complex Taskscited by 221
  5. 2024DigiRL: Training In-The-Wild Device-Control Agents with Autonomous Reinforcement Learningcited by 210
  6. 2025Survey on Evaluation of LLM-based Agentscited by 190
  7. 2022Defining and Characterizing Reward Hackingcited by 184
  8. 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Securitycited by 90
  9. 2024LLM-Rubric: A Multidimensional, Calibrated Approach to Automated Evaluation of Natural Language Textscited by 81
  10. 2025No Free Labels: Limitations of LLM-as-a-Judge Without Human Groundingcited by 50
  11. 2025Can LLMs Hack Enterprise Networks? Autonomous Assumed Breach Penetration-Testing Active Directory Networkscited by 12
  12. 2025AIRTBench: Measuring Autonomous AI Red Teaming Capabilities in Language Modelscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 7.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Calibrated Decision Models for Autonomous Penetration-Testing Harnesses: JEV and Laya as System One Decision Layers for LLM-Driven Pentest Agents
  2. 2024PentestAgent: Incorporating LLM Agents to Automated Penetration Testing
  3. 2025AutoPentester: An LLM Agent-based Framework for Automated Pentesting
  4. 2026Pen-Strategist: A Reasoning Framework for Penetration Testing Strategy Formation and Analysis
  5. 2026PenForge: On-the-Fly Expert Agent Construction for Automated Penetration Testing
  6. 2024AutoPenBench: Benchmarking Generative Agents for Penetration Testing
  7. 2026What Makes a Good LLM Agent for Real-world Penetration Testing?
  8. 2026Big Enough to Break Out: Tracking the Rising Capability of LLM Penetration-Testing Agents