TL;DR: Frontier LLMs can reason about attack paths but cannot execute enterprise-grade penetration testing on their own, because safe execution requires an execution runtime, guardrails, and audit infrastructure, not just a better prompt, according to FireCompass. The practical shift is from model capability to controlled security automation, where auditable action and scoped autonomy matter more than raw reasoning.
At a glance
What this is: This whitepaper says LLMs can reason about attacks but need a separate execution layer, safety controls, and auditability to perform enterprise-grade penetration testing.
Why it matters: It matters because IAM, PAM, and security automation teams must govern AI-driven testing with the same discipline they apply to privileged workloads, credentials, and runtime access.
By the numbers:
- A Fortune 500 case study scaled from 200 to 2,000+ applications tested annually while reducing cost per test by 80%.
👉 Read FireCompass's whitepaper on enterprise-grade AI penetration testing architecture
Context
Enterprise penetration testing is moving from manual expertise to controlled automation, but that transition fails when organisations treat an LLM as if it were the whole system. A model can generate test ideas, yet enterprise execution also requires identity controls, scoped runtime permissions, logging, and evidence handling.
The core governance gap is not intelligence, it is actionability. For identity and access teams, the relevant question is how an AI-driven tester obtains permission, what it can touch, how its activity is recorded, and how privileged steps are constrained without breaking the test flow.
Key questions
Q: How should security teams govern agentic AI in penetration testing workflows?
A: Security teams should keep agentic AI inside a bounded workflow where scope, tool access, and approval rules are enforced by the testing platform, not the model. The human tester should control what the agent can pursue, what requires approval, and what remains blocked. That preserves judgment, auditability, and accountability while still offloading repetitive investigation work.
Q: Why are LLMs not enough for enterprise penetration testing?
A: LLMs can generate plausible attack logic, but they cannot enforce scope, maintain session control, or prove what happened. Enterprise testing needs an execution runtime that governs tool use, limits privilege, and records evidence. Without that layer, reasoning output becomes operational risk instead of controlled security work.
Q: What breaks when AI testing lacks an execution runtime?
A: The organisation loses the control boundary between suggested actions and executed actions. That makes it hard to prevent overreach, hard to audit privileged behaviour, and hard to prove that the test stayed within authorised scope. The result is ambiguity around responsibility and unacceptable exposure to unintended access.
Q: What should teams do before allowing AI to test privileged systems?
A: They should define scope, approve tool access, and require immutable logs before any privileged testing begins. The test design should specify which identities are used, which systems are in scope, and how evidence is retained. That sequencing prevents an AI workflow from inheriting standing privilege by accident.
Technical breakdown
Why LLMs can reason but cannot execute safely
An LLM predicts text and can describe an attack sequence, but it does not natively own credentials, maintain session state, or enforce policy. Enterprise testing needs a separate execution layer that can call tools, manage workflow state, and preserve evidence. That means the system is closer to a controlled security orchestrator than a chat interface. The architecture must separate reasoning from action so the model can propose steps while a governed runtime decides what actually runs.
Practical implication: separate model output from execution authority and require explicit control of every privileged action.
Execution runtime, safety guardrails, and audit infrastructure
An execution runtime turns model output into bounded actions against approved targets. Safety guardrails limit scope, rate, tool use, and escalation paths, while audit infrastructure captures what was attempted, what succeeded, and what evidence was collected. This is the difference between experimentation and a defensible security control. Without these layers, an autonomous test can become indistinguishable from uncontrolled offensive activity, especially when it interacts with authentication systems or lateral movement paths.
Practical implication: build test orchestration with scoped permissions, policy checks, and immutable logs before extending autonomy.
The five-layer architecture for autonomous testing
The report describes layered execution across recon, authentication testing, lateral movement, and evidence collection. Each stage introduces a different risk boundary, because the system must shift from observation to interaction and then to proof. The identity angle is significant: authenticated testing often depends on controlled secrets, temporary access, and explicit approval for privileged paths. That makes penetration testing a governance problem as much as a technical one, especially when the same runtime could otherwise be repurposed for NHI abuse.
Practical implication: map each testing layer to its own access boundary, approval flow, and identity control set.
Threat narrative
Attacker objective: The objective is to convert reasoning into controlled execution without losing auditability, scope control, or governance.
- Entry begins when a testing workflow gains access to target systems through approved recon or authentication paths.
- Escalation occurs when the workflow is allowed to progress into lateral movement, privilege testing, or broader environment interaction without sufficient runtime constraints.
- Impact is the collection of valid evidence from enterprise assets, which can become unsafe if action scope, logging, or approval boundaries are weak.
NHI Mgmt Group analysis
Enterprise penetration testing is becoming an identity and privilege orchestration problem. The report is not really about LLM quality, it is about whether an AI-driven workflow can be trusted to act inside governed boundaries. Once a model is allowed to run recon, authentication checks, or lateral movement tests, the real control question becomes who authorises those actions, what secrets it can access, and how its privileges are constrained. For practitioners, the point is that test automation must be governed like any other privileged runtime, not treated as a prompt engineering exercise.
Execution runtime is the missing control plane for safe AI-assisted security testing. A model can suggest attack paths, but only a runtime can enforce target scope, sequence, rate limits, and approval gates. That separation matters because it creates a control boundary between generation and action, which is where accountability lives. In NHI terms, the runtime becomes the policy layer that prevents an AI system from inheriting unrestricted access to test credentials or privileged tool chains.
Auditability is the difference between defensive automation and ungoverned offensive capability. The report’s emphasis on evidence collection should be read as a governance requirement, not an afterthought. If teams cannot reconstruct what the system touched, they cannot defend the outcome to security leadership, compliance, or incident response. The broader lesson is that autonomous security tooling only scales when it leaves a complete and immutable decision trail.
AI-assisted testing will force closer alignment between IAM, PAM, and security engineering. Enterprise testing no longer sits outside identity governance because the runtime needs identity, the workflow needs privilege, and the output needs assurance. That creates a named governance gap we can call the execution trust gap: reasoning systems are being asked to act before enterprises have defined the access model that makes action safe. Practitioners should treat this as a cross-functional control design problem, not a tool deployment choice.
What this signals
Execution governance will become the differentiator for AI-enabled security tooling. Teams that can separate reasoning from action, and action from privilege, will have a better chance of scaling automation without losing control. The practical signal is clear: if your testing or security workflow cannot show who authorised each action, you do not yet have a governable system.
AI testing programs should be evaluated like privileged workloads. That means access scoping, logging, and runtime containment matter more than whether the model can describe a realistic attack chain. The programme risk is not that AI thinks incorrectly, but that it acts with too much authority in the wrong places.
Execution trust gap: enterprises are adding AI to security workflows faster than they are defining the permission model that keeps those workflows safe. That gap will matter most where tests, agents, or automation touch credentials, authentication flows, or post-authenticated actions.
For practitioners
- Define execution boundaries before enabling autonomy Map which recon, auth testing, and lateral movement steps an AI workflow may execute, then bind each step to explicit target scope, approval logic, and session limits.
- Separate model reasoning from privileged tool access Keep LLM output in a non-privileged layer and route any real action through a controlled runtime with just-in-time access and deny-by-default policy enforcement.
- Instrument immutable audit trails for every test run Capture prompts, tool calls, target systems, approval checkpoints, and evidence artefacts so every action can be reconstructed for compliance and incident review.
Key takeaways
- The whitepaper’s central claim is that LLM reasoning is not the same thing as governed security execution.
- The operational evidence points to scale benefits only when autonomy is paired with runtime controls, audit trails, and scoped privilege.
- Practitioners should design AI-assisted testing as a privilege-governed workflow, not as a prompt-driven experiment.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and NIST AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.AC-4 | Scoped privileged access is central to AI-driven testing control. |
| NIST SP 800-53 Rev 5 | AC-6 | Least privilege is required when a test runtime can touch privileged systems. |
| MITRE ATT&CK | TA0006 , Credential Access; TA0008 , Lateral Movement | The article explicitly covers authentication testing and lateral movement. |
| OWASP Agentic AI Top 10 | Agentic workflows that call tools and act autonomously fit this framework. | |
| NIST AI RMF | GOVERN | Governance and accountability are the main issues for AI-enabled testing. |
Map AI test coverage to credential access and lateral movement behaviours so guardrails match the tested techniques.
Key terms
- Execution Runtime: The execution runtime is the controlled layer that turns model output into real actions. It manages tool calls, state, permissions, and sequencing so an AI system can operate safely without directly inheriting unrestricted access to enterprise systems.
- Preventative Guardrails: Controls that stop unsafe code, dependencies, or credentials from entering the software lifecycle in the first place. In application security, these are policy, architecture, and pipeline controls that operate before deployment rather than relying on later detection.
- Audit Infrastructure: Audit infrastructure is the logging and evidence layer that records what an AI system attempted and what it actually did. It allows security, compliance, and response teams to reconstruct actions, verify scope, and defend the integrity of the testing process.
- Parser-Execution Trust Gap: A mismatch between how software interprets text and how it authorizes runtime actions. Security teams should care about this gap because formatting, encoding, or parsing behaviour can change the effective policy decision and allow dangerous commands to slip past intended guardrails.
What's in the full article
FireCompass's full whitepaper covers the operational detail this post intentionally leaves for the source:
- The step-by-step five-layer architecture for autonomous penetration testing across recon, authentication testing, lateral movement, and evidence collection.
- The execution runtime design patterns needed to keep AI-driven testing scoped, auditable, and constrained to approved targets.
- The Fortune 500 case study details behind the 200 to 2,000+ applications tested annually outcome and the cost-per-test reduction.
- The safety and audit infrastructure requirements that practitioners need once AI is allowed to move beyond text generation and into tool execution.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance and machine identity security for practitioners who need to control privileged automation. It gives security teams a common foundation for governing identities, secrets, and runtime access across modern programmes.
Published by the NHIMG editorial team on September 3, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org