TL;DR: The analysis of ARTEX and PentAGI shows that the harness mostly adds autonomy, memory and evidence capture while the LLM performs the recon, exploitation and escalation work, according to Acalvio research. That makes model governance, tool access and run-time containment the decisive security variables, not the orchestration shell.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Acalvio's blog post: ARTEX and PentAGI show that the model, not the harness, drives the attack work, while orchestration mainly affects reliability and evidence capture.
Why it matters: IAM and security teams need to separate autonomous control from model capability, because governance failures now sit in tool scope, runtime delegation and containment rather than only in the wrapper.
Context
Autonomous attack harnesses change the identity problem because the system is no longer just software executing fixed steps. The governance assumption under strain is that access remains stable, attributable and reviewable while a task runs; in an autonomous loop, decision-making, tool use and timing all shift into runtime.
Acalvio's comparison of ARTEX and PentAGI centres on that split between orchestration and model behaviour. The harness can shape how work is scheduled, recorded and compacted, but the model still decides what to read, what to probe and when to pivot.
That makes this topic relevant to agentic AI identity rather than conventional application security alone. When a harness delegates action selection to a model, identity controls have to account for the runtime actor, not just the container it runs in.
Key questions
Q: How do autonomous systems differ from scripted automation in identity governance?
A: Autonomous systems make runtime decisions and can branch, retry, or select tools based on context, while scripted automation follows a fixed sequence with predetermined inputs and outputs. In identity governance, that means the accountable human, permitted tools, and revocation path must be defined up front, rather than assuming the same execution path every time.
Q: What should teams do first when an AI agent can change course mid-session?
A: First, bound the agent’s authority before it acts again. Freeze or narrow tool permissions, define the accountable human owner, and require explicit approval for any new action path or data scope created by mid-session re-planning. Then log the decision trail so changes in intent can be reviewed and reversed.
Q: How does least privilege change for AI agents with tool access?
A: Least privilege becomes task-scoped and time-bounded. An AI agent should receive only the specific tool permissions, data scopes, and session duration needed for the current action, with separate controls for high-risk commands, secret use, and external side effects. Standing access should be removed where possible, with revocation and audit tied to the agent’s owner.
Q: What happens when an autonomous system persists memory across long tasks?
A: Persistent memory lets an autonomous system carry state, preferences, or prior decisions across tasks and sessions. That makes memory part of the access surface, because stored context can influence later tool use, data exposure, and decision making, so retention limits, write controls, and deletion paths matter.
Technical breakdown
How autonomous harnesses separate orchestration from attack reasoning
An autonomous harness is the control layer that manages planning, task fan-out, memory and evidence capture, while the model supplies the reasoning that selects targets and actions. In the ARTEX and PentAGI comparison, the visible difference is not whether tools exist, but how the harness schedules work and how much state it preserves across turns. The important distinction is between the wrapper and the decision engine: the wrapper can make runs more reliable, but it does not own the attack logic. That split is why a model can be reused across different harnesses without changing the underlying capability profile.
Practical implication: Treat the model, tool policy and runtime delegation chain as separate governance objects, not as one undifferentiated agent.
Why memory and compaction change autonomous system behaviour
Memory and context compaction let an autonomous system keep working after long runs, budget pressure or context-window loss. In practice, they preserve state about observations, hypotheses, target details and prior tool outputs so the system can continue without starting over. That creates continuity of intent across many actions, which is very different from a stateless prompt-response loop. Once a system can summarise itself, persist findings and resume, it is no longer limited by any single interaction boundary. That makes the lifecycle of retained state part of the security model, because the stored context can carry operational decisions forward.
Practical implication: Audit what the system remembers, how long it persists and which retained artefacts can influence later tool use.
How tool access becomes the real boundary in autonomous operations
When an autonomous system can choose tools at runtime, the meaningful control boundary moves from the user interface to the permitted action set. In the article's examples, the model can issue shell commands, call cloud APIs, inspect secrets and pivot when a path closes. That means the important question is not whether the harness is autonomous in name, but whether it can combine tools without a human approval gate. Once tool selection and timing are delegated, least privilege becomes a runtime problem, because the system can discover and exploit paths that were not known at provisioning time. See the Agentic AI Security Guide.
Practical implication: Constrain tool scopes, approval paths and credential reach so runtime choices cannot expand into uncontrolled access.
Threat narrative
Attacker objective: The objective is to use delegated runtime authority to discover, validate and exploit paths to sensitive cloud data or privileged access.
- Entry begins with an autonomous harness given legitimate access to tools, a shell and external services, so the first risk is not compromise but delegated capability.
- Escalation happens when the model shifts from planning to probing, selecting new tools, reading secrets and pivoting after failures without human approval.
- Impact follows when the system can chain reconnaissance, credential use and exploit logic into a full engagement loop that persists across context compaction and memory.
Breaches seen in the wild
- SalesBleed Salesforce Agentforce 2026: Three fixed Agentforce flaws let poisoned web leads make AI agents leak CRM data with zero clicks and send phishing under the agent's identity.
- Meta Muse agent hijack 2026: An undocumented Muse setting let local malware hijack Meta's personal AI agent, steal its authentication material and abuse user access.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Autonomous harnesses move the governance problem from static permissions to runtime delegation. Acalvio's comparison shows that the harness is not the brain of the operation; it is the control loop around the brain. That means identity governance has to focus on who or what is allowed to select actions, change tools and continue execution without review. The practitioner conclusion is that autonomous behaviour changes the control boundary itself, not just the speed of execution.
Least privilege becomes a runtime property when the model can re-plan mid-session. The same comparison shows one harness pivoting when a path failed and another preserving enough state to continue methodically. That is the collapse of a familiar assumption: least privilege was designed for access that can be bounded at provisioning time. That assumption fails when the actor can change course after each observation because the actual privilege set is only knowable during execution. The implication is that governance must stop treating runtime intent as if it were fixed at issuance.
Runtime authority, not orchestration polish, is the named concept that matters here. The article's strongest lesson is that autonomy loops, memory and evidence capture improve control, but they do not create the underlying capability. The model still chooses what to scan, what to trust and when to pivot, which is why the security question is about delegated authority rather than framework branding. Practitioners should assess the decision surface, not the wrapper surface.
Self-reported identity is unreliable inside autonomous systems. The correction in the article matters because it shows that even an agent's own description of its model can be wrong or unstable. That is not a curiosity; it is an identity problem. If the system cannot reliably state what it is, then attribution, accountability and policy binding cannot depend on self-attestation alone. The practitioner implication is that runtime identity has to come from controlled registration and verification, not from the actor's own claim.
From our research library:
- 69% of security leaders agree identity management must fundamentally shift to address agentic AI systems, according to the 2026 Infrastructure Identity Survey.
- 53% of security leaders expect AI to run major portions of their infrastructure autonomously within the next three years, according to the 2026 Infrastructure Identity Survey.
- Read next: Agentic AI Identity Guide
What this signals
Decision authority will matter more than model brand. The market will keep packaging autonomy in different wrappers, but the governance question stays the same: who can let the system act without a human in the loop? That makes runtime delegation the control point practitioners need to inventory before they worry about labels.
Runtime containment will become the differentiator for agent programmes. Systems that can retain context, keep memory and resume after compaction need controls that survive across turns, not just at session start. Agentic AI Identity Maturity Model gives a useful way to think about how far a programme has moved from demo behaviour to governed operation.
For practitioners
- Separate model authority from harness authority Define which decisions belong to the model, which belong to the orchestration layer and which require human approval before execution.
- Restrict runtime tool scope Limit shell, API and secret access to the minimum set needed for the task, and block silent expansion after failures or pivots.
- Bind evidence to each action Require request-response capture, signed logs or traceable artefacts for every material tool call so later review can reconstruct what the system actually did.
- Treat memory as governed state Classify retained prompts, summaries and findings as security-relevant state and apply retention, redaction and deletion rules to them.
Key takeaways
- The comparison shows that autonomous attack capability comes from the model's decisions, while the harness mainly shapes reliability, evidence and pacing.
- Memory, compaction and tool delegation turn runtime state into a governance problem because the system can carry intent across multiple steps.
- Practitioners should govern action authority, tool scope and retained state as separate controls instead of treating the whole stack as one agent.
Related NHI Mgmt Group resources: Agentic AI Identity Guide · Agentic AI Identity Maturity Model · Agentic AI Security Guide · Top 10 Agentic AI Identity Issues
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10, OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Autonomous harnesses create runtime identity and privilege abuse risk when models choose actions directly. |
| Recommendation — Constrain runtime authority so agent decisions cannot expand identity or privilege scope without review. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | The article shows model-driven systems reaching for tools and secrets beyond what static provisioning implied. |
| Recommendation — Audit delegated tool access and reduce any standing permissions that exceed the task's actual scope. | ||
| NIST AI RMF | GOVERN — AI Governance and Accountability | Autonomous action and self-reported identity both require governance over accountability and oversight. |
| Recommendation — Assign clear accountability for autonomous decisions and verify that model identity is controlled, not self-declared. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The central issue is how permissions and authorisations behave when an agent can re-plan mid-session. |
| Recommendation — Review and constrain agent entitlements so runtime pivots cannot widen access beyond approved bounds. | ||
| MITRE ATT&CK | TA0006; TA0008 — Credential Access; Lateral Movement | The source describes credential use, pivots and multi-step attack behaviour from a tool-using autonomous system. |
| Recommendation — Map autonomous attack paths to credential access and lateral movement to improve detection coverage. | ||
Key terms
- Agentic AI: Autonomous AI systems capable of planning, deciding and taking actions, including calling APIs, writing code and orchestrating other agents, with minimal human oversight. Agentic AI introduces new NHI risks as agents must authenticate to external services. Their credentials, permissions and activity therefore need governing like those of any other machine identity.
- Autonomous harness: An autonomous harness is the runtime wrapper that lets an AI agent operate, observe results, and call tools under controlled conditions. It usually provides the agent’s prompts, tool interfaces, state handling, guardrails, and logging, so the harness becomes part of the control plane for authority and audit.
- Context Compaction: Context compaction is the process of summarising or pruning conversation history so a long-running AI session can continue inside a fixed token window. It is useful for continuity, but it can also remove standing instructions, making it a security-sensitive operation in agentic systems.
- Memory persistence: Memory persistence is the storage of prior context so an AI system can use it later. It improves continuity, but it also creates a place where unsafe instructions, poisoned context, or sensitive data can survive across sessions and influence future actions.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity security are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an identity security programme, it is worth exploring.
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org