
Executive Summary
Recent research conducted by a team from California State University, San Bernardino, has systematically reviewed 111 studies on the efficacy of AI agents in penetration testing. The findings indicate that while AI agents can effectively manage isolated stages of penetration tests, they frequently lose track of essential elements such as assets, identities, and credentials when transitioning between stages. This article delves into the implications of these findings, the technical root causes of the failures, and actionable recommendations for improving the reliability of AI in cybersecurity.
What Happened
The systematic review focused on the performance of AI agents during penetration tests, which are critical for identifying vulnerabilities in systems. The researchers developed a framework called the Autonomous Penetration Intelligence Stack (APIS) to categorize the various stages of a penetration test, including reconnaissance, asset discovery, and privilege escalation. Despite the ability of AI agents to perform tasks within individual stages, the review revealed a concerning trend: the agents often fail to maintain continuity and accuracy as they progress through the testing phases.
Technical Root Cause
The primary technical issue identified in the review is that AI agents frequently operate based on outdated or incorrectly categorized information. This leads to failures in lateral movement and privilege escalation, as agents struggle to adapt to changes in network topology or credentials. The research highlights that many agents rely on information that is stale or misfiled, which compromises their effectiveness in executing a comprehensive penetration test.
Exposure and Affected Environments
The review indicates that the challenges faced by AI agents are not limited to specific environments; they are prevalent across various testing scenarios, including capture-the-flag (CTF) challenges and laboratory settings. However, the research also points out that there is a lack of robust testing in more complex environments such as cloud, container, and Kubernetes systems. This gap raises concerns about the applicability of AI agents in real-world scenarios where environments are dynamic and continuously evolving.
Patch and Mitigation Playbook
To address the shortcomings of AI agents in penetration testing, the researchers propose several recommendations:
- Data Management: Implement a robust system for tracking the origin and validity of credentials and assets used during tests.
- Independent Validation: Ensure that actions taken by agents are verified independently to prevent erroneous conclusions about success.
- Restoration Protocols: Develop protocols for restoring any modifications made by agents during tests, including files, permissions, and policies.
- Continuous Learning: Encourage AI agents to adapt to changes in network conditions and update their knowledge base in real-time.
These steps are essential for enhancing the reliability and effectiveness of AI agents in penetration testing.
Security Program Lessons Learned
The findings from this review underscore the necessity for organizations to critically assess their reliance on AI for penetration testing. While AI can offer significant advantages in speed and efficiency, it must be complemented by human oversight and continuous improvement mechanisms. Organizations should consider the following lessons:
- Human-AI Collaboration: Leverage human expertise to validate and interpret the findings of AI agents.
- Regular Updates: Ensure that AI systems are regularly updated with the latest threat intelligence and vulnerability information.
- Comprehensive Testing: Conduct thorough testing across diverse environments to better understand the limitations of AI agents.
“Reliable end-to-end penetration-testing autonomy requires more than strong performance at isolated stages.”
Key Takeaways
- AI agents struggle with continuity during penetration tests, often losing track of critical information.
- Outdated data and misfiled information are primary causes of failure in lateral movement and privilege escalation.
- Robust data management and independent validation are crucial for improving AI performance in cybersecurity.
- Organizations must balance AI capabilities with human oversight to enhance penetration testing effectiveness.
Sources
- AI agents in penetration tests keep stumbling at the same spot
- Android’s strictest security mode gets a three-hour timeout
- If you can’t patch a medical device, change everything around it
Executive Context
A systematic review reveals that AI agents struggle with continuity in penetration testing, highlighting critical areas for improvement in cybersecurity practices.
This report consolidates available public details and highlights where evidence is still limited, helping teams prioritize immediate defensive action while additional technical indicators are collected.
Adversary Goals and Capabilities
in the review is that AI agents frequently operate based on outdated or incorrectly categorized information. This leads to failures in lateral movement and privilege escalation, as agents struggle to adapt to changes in network topology or credentials. The research highlights that many agents rely on information that is stale or misfiled, which compromises their effectiveness in executing a comprehensive penetration test. Exposure and Affected Environments The review indicates that the challenges faced by AI agents are not limited to specific environments; they are prevalent across various testing scenarios, including
capture-the-flag (CTF) challenges and laboratory settings. However, the research also points out that there is a lack of robust testing in more complex environments such as cloud, container, and Kubernetes systems. This gap raises concerns about the applicability of AI agents in real-world scenarios where environments are dynamic and continuously evolving. Patch and Mitigation Playbook To address the shortcomings of AI agents in penetration testing, the researchers propose several recommendations: Data Management: Implement a robust system for tracking the origin and validity of credentials and assets used during tests. Independent
Based on observed patterns in recent campaigns, the likely attacker objective is to establish durable access, exploit trust relationships, and later pivot toward higher-value systems. Where specific attribution or tooling data is absent, these details are not publicly disclosed and should be treated as unknown.
Observable Indicators and Telemetry
Validation: Ensure that actions taken by agents are verified independently to prevent erroneous conclusions about success. Restoration Protocols: Develop protocols for restoring any modifications made by agents during tests, including files, permissions, and policies. Continuous Learning: Encourage AI agents to adapt to changes in network conditions and update their knowledge base in real-time. These steps are essential for enhancing the reliability and effectiveness of AI agents in penetration testing. Security Program Lessons Learned The findings from this review underscore the necessity for organizations to critically assess their reliance on AI
for penetration testing. While AI can offer significant advantages in speed and efficiency, it must be complemented by human oversight and continuous improvement mechanisms. Organizations should consider the following lessons: Human-AI Collaboration: Leverage human expertise to validate and interpret the findings of AI agents. Regular Updates: Ensure that AI systems are regularly updated with the latest threat intelligence and vulnerability information. Comprehensive Testing: Conduct thorough testing across diverse environments to better understand the limitations of AI agents. “Reliable end-to-end penetration-testing autonomy requires more than strong performance at isolated stages.” Key
Takeaways AI agents struggle with continuity during penetration tests, often losing track of critical information. Outdated data and misfiled information are primary causes of failure in lateral movement and privilege escalation. Robust data management and independent validation are crucial for improving AI performance in cybersecurity. Organizations must balance AI capabilities with human oversight to enhance penetration testing effectiveness. Sources AI agents in penetration tests keep stumbling at the same spot Android’s strictest security mode gets a three-hour timeout If you can’t patch a medical device, change everything around it AI
Security engineering teams should validate exploitability across environments, map exposure by asset criticality, and confirm whether available telemetry can detect pre-compromise reconnaissance, exploitation attempts, and post-exploitation behavior.
Incident Response Priorities
agents that run penetration tests on their own often lose track of assets, identities, credentials, sessions, routes and authorization once an attack has to move from one stage to the next, according to a systematic review of 111 studies. The review comes from five researchers at California State University, San Bernardino, who worked through experimental studies from 2025 and 2026 drawn from IEEE Xplore, the ACM Digital Library and arXiv. They set out to … More → The post AI agents in penetration tests keep stumbling at the same spot
Organizations with internet-facing systems, third-party integrations, or delayed patch cycles generally carry elevated risk. Internal segmentation gaps can increase blast radius if an attacker obtains initial foothold credentials.
Detection and Monitoring Priorities
- Correlate authentication anomalies with unusual process execution and outbound traffic spikes.
- Alert on privilege escalation events, lateral movement indicators, and unauthorized persistence changes.
- Prioritize monitoring of externally exposed services and high-value identity providers.
- Track integrity changes in scripts, scheduled tasks, startup items, and critical configuration files.
- Hunt for command-and-control beaconing patterns and suspicious use of remote administration tools.
Detection coverage should be validated through tabletop simulation or controlled testing to ensure response teams receive actionable, high-confidence alerts quickly.
Mitigation Checklist
- Patch affected services and validate version levels across all environments.
- Restrict exposed management and service ports to trusted networks only.
- Enable detailed logging and alerting for suspicious process or network activity.
- Harden endpoint controls and isolate high-risk systems until remediation completes.
- Conduct post-remediation validation and document residual risk.
Mitigations should be sequenced by risk: immediately reduce exposed attack surface, then remove persistence opportunities, and finally harden architecture to prevent recurrence.
Incident Response and Recovery Planning
- Establish a clear incident commander and communication cadence across security, IT, and leadership.
- Capture and preserve relevant logs and forensic artifacts before major containment changes.
- Contain compromised accounts and hosts, then execute structured eradication with validation checkpoints.
- Document lessons learned and implement control improvements with owner accountability and timelines.
Recovery should include business continuity planning, legal or regulatory assessment where required, and transparent stakeholder updates based on verified facts.
Strategic Impact for Leadership
appeared first on Help Net Security . from the first step to the last. To sort the studies, the authors built a framework called the Autonomous Penetration Intelligence Stack (APIS). It splits an attack into seven stages (reconnaissance, asset discovery, vulnerability discovery, exploit intelligence, privilege escalation, lateral movement and persistence) and adds two layers that run through all of them, one for decision making and cooperation between agents and one for defensive evaluation. APIS is described as a reference architecture built from the evidence, and it has not been tested
as a working system. AI agents can This report consolidates available public details and highlights where evidence is still limited, helping teams prioritize immediate defensive action while additional technical indicators are collected. handle separate stages of a penetration test, though success at single stages does not carry over to the whole attack. The researchers cite PentestEval, a benchmark that put end-to-end pipeline success at 31%. The same failures turn up again and again in the studies. Agents keep working from information that has gone out of date, or file it
Security leaders should align technical remediation with stakeholder communication, incident readiness, and continuous monitoring to reduce repeat exposure.