Independent analysis by NHI Mgmt GroupSource article: Verno Labs, “Verno Labs and Imperial College CTF” (July 9, 2026)

TL;DR: 1,024 AI assistant conversations produced 212 leaks, with structured-schema extraction, record-reconstruction and incremental disclosure outperforming blunt social engineering, according to Verno Labs's CTF with Imperial College. The lesson is that guardrails must move from content filtering to issuance-time and workflow-level controls because the model itself is the attack surface.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on Verno Labs's blog post: AI agent prompt-injection testing against a live financial assistant showed that legitimate-looking extraction workflows, not simple override prompts, produced the most successful leaks.

Why it matters: IAM and AI security teams need to treat agent prompt handling, task scoping and output control as governance problems, because extraction attacks succeed when the model is persuaded it is doing normal work.

By the numbers:

  • Verno Labs collected 1,024 conversations across all five levels and saw 212 out of 1,024 conversations result in some form of data leakage.

Context

Prompt injection becomes materially different when the target is an AI agent that can leak confidential data through ordinary-looking task completion. In this case, the security problem is not a single malicious prompt but the way an assistant can be manipulated into treating extraction as a legitimate workflow.

That matters for identity governance because the question is no longer only what the model says, but what it is allowed to infer, disclose and act on while appearing to stay within policy. Agentic AI security controls become relevant when the control boundary has to sit around the agent's inputs, outputs and delegated authority, not just around the model prompt.


Key questions

Q: What breaks when AI agents have broader access than their tasks require?

A: Over-privileged agents break segregation of duties, weaken auditability, and expand blast radius across transactions, data lookups, and workflow triggers. In banking, a single agent identity can act with more operational reach than any human reviewer can safely justify.

Q: Why do structured prompts create more risk than direct jailbreaks?

A: Structured prompts often succeed because they look like normal machine-readable work rather than a hostile override. The model is more likely to populate fields, repair records or complete a template than to obey a blunt instruction to ignore safeguards. That makes schema-shaped requests a higher-value risk than obvious jailbreaks in many agent environments.

Q: How can teams tell whether an AI agent is becoming an exfiltration path?

A: Look for repeated partial disclosures, unusual format coercion, rising use of encoding and attempts to reconstruct hidden state across turns. Those signals show that the agent is being treated as a source of secrets rather than a constrained helper. If the same conversation can be reassembled into a leak, the control is failing.

Q: Should organisations use the same controls for humans, NHIs, and AI agents?

A: No. The control family may overlap, but the operating assumptions differ. Human identity controls focus on authentication and user context, while NHIs need lifecycle and credential governance, and AI agents require both NHI controls and runtime oversight for autonomous action. The correct model is shared governance with actor-specific enforcement.


Technical breakdown

Why extraction wrappers beat direct prompts

Direct instruction override is often the least effective attack because many agent guardrails are trained to reject obvious hostile asks. Attackers therefore wrap the same objective in a task the model recognises as normal work, such as JSON completion, audit review or log repair. That changes the model's internal framing: it is no longer answering a suspicious request, it is trying to satisfy a structured task. In agentic systems, that is dangerous because the model optimises for completion unless the surrounding policy engine constrains what may be revealed. The result is a control gap between conversational plausibility and authorised disclosure. Read OWASP Agentic Applications Top 10.

Practical implication: Treat task framing as a security boundary and validate outputs against policy, not just prompt content.

How knowledge gates and multi-turn chaining change the attack surface

A knowledge gate splits a secret or capability across fragments so each message unlocks the next stage. That raises attacker cost, but it also creates a new failure mode: the agent can be induced to reconstruct state across turns and emit partial information that later becomes enough for full disclosure. Multi-turn chaining is especially relevant in AI agents because the system may remember context, tool results or prior refusals and then treat them as evidence for the next step. Security design has to assume that attackers will convert small disclosures into a complete compromise through accumulation rather than one-shot extraction. See the AI Agent Observability, Audit and Incident Response Guide.

Practical implication: Limit conversational state, minimise retained secrets and restrict what prior turns can be reused for disclosure decisions.

Why output-side encoding is not a containment strategy

Output-side encoding asks the model to encode the secret before returning it, which sounds safer because the raw value may not appear plainly in the response. In practice, that often serves the attacker because it bypasses simplistic filters while preserving the data itself. The article's results show that encoding was a common delivery wrapper, not a niche trick. For AI agents, this means a policy that checks only for plaintext exfiltration misses the real issue: the model has already decided to disclose. The control needs to govern whether disclosure is authorised at all, before formatting ever happens. See the AI Agent Authorisation Guide.

Practical implication: Block unauthorised disclosure at policy evaluation time rather than relying on post-processing or output encoding filters.


Threat narrative

Attacker objective: The attacker wants the AI assistant to disclose hidden transaction details or system prompt content without triggering refusal behaviour.

  1. Entry begins with a benign-looking prompt that frames the request as an internal task, audit or repair operation.
  2. Credential or secret access follows when the model reveals prompt content, transaction details or token fragments under structured or incremental extraction.
  3. Escalation occurs as attackers chain turns, combine encoding with extraction and use partial leaks to unlock the next fragment.
  4. Impact is confidential data disclosure from a live assistant that was expected to withhold transaction records and secret instructions.

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

Prompt injection is now an authorisation problem, not just a content-safety problem. The challenge shows that the model will comply with a convincing workflow even when the underlying request is malicious. That is an identity and access issue because the assistant is effectively making disclosure decisions on behalf of a user or system. Practitioners should treat agent output permissions as governed access, not as an untrusted text problem.

Structured-schema extraction is the clearest named concept here. When attackers supply JSON or YAML keys that mirror hidden fields, they convert theft into formatting. That is powerful because the model tries to satisfy the schema rather than defend the secret. The same pattern appears across agentic systems wherever tool outputs, memory and prompt state can be coaxed into a machine-readable wrapper. Teams should assume that any structured response path can become an exfiltration path.

Multi-turn persuasion creates governance debt in agent memory. A single refusal does not close the risk if the agent carries context forward and can be induced to reconstruct partial state later. This is where agent identity matters: the system must know which actions belong to the current task, which data is still authorised, and when a prior context fragment is no longer valid. Practitioners should design for revocation of conversational authority, not just denial of one prompt.

The most effective attacks combine delivery technique and extraction objective. That pattern explains why defensive programs that focus only on obviously malicious language underperform. Obfuscation, record reconstruction and incremental disclosure are all ways to hide intent inside a plausible workflow. The field needs to move toward policy engines, scoped delegation and observability that can see the entire request chain, not just the latest message.

Agent security maturity will increasingly be measured by how early the control fires. If the model can leak useful fragments before any post-generation filter reacts, the programme is already behind. This challenge shows why agent governance has to start at task assignment, continue through execution and end only after output handling is complete. Practitioners should judge controls by whether they stop disclosure before it becomes reconstructable.

From our research library:

What this signals

Prompt-injection defence will increasingly converge with authorisation design. Security teams cannot rely on refusal behaviour alone when attackers can reframe disclosure as routine work. The practical shift is toward policy enforcement at the moment of task assignment and output release, which is where identity and access decisions actually live.

Structured-schema extraction is the warning sign to watch. Once attackers start using JSON, YAML or other formal templates to ask for hidden content, the programme has moved from nuisance prompts to reliable exfiltration playbooks. Verno Labs's testing shows that the model can be pushed into satisfying a schema before defenders realise a disclosure path has opened.

Least-privileged AI access changes incident rates materially. Systems with least-privileged AI access had a 17% incident rate vs 76% for over-privileged systems, according to the 2026 Infrastructure Identity Survey. That gap is a strong signal that agent governance should be measured like any other access-control programme, not treated as a content moderation problem.


For practitioners

  • Implement task-scoped disclosure policies Allow agents to answer only within a narrowly defined task and deny any response that would reveal hidden prompts, secrets or transaction data outside that scope. See the AI Agent Authorisation Guide.
  • Constrain multi-turn memory reuse Expire or isolate conversational context that could be recombined into a secret, and prevent earlier partial disclosures from authorising later ones.
  • Block structured output exfiltration paths Apply the same authorisation checks to JSON, YAML and other structured responses that you use for free-text replies, because schema-shaped output is often the delivery wrapper.
  • Instrument agent disclosure telemetry Log when an agent refuses, partially reveals or reformats sensitive data so security teams can detect extraction patterns before they become repeatable playbooks.

Key takeaways

  • AI agent prompt attacks succeed most often when they are disguised as legitimate work, not when they read like obvious jailbreak attempts.
  • The challenge recorded 212 leaks across 1,024 conversations, showing that disclosure risk is already measurable and repeatable.
  • Practitioners need controls that govern task scope, structured outputs and conversational memory before an agent can reconstruct or reveal hidden state.

Related NHI Mgmt Group resources: AI Agent Authorisation Guide · AI Agent Observability, Audit and Incident Response Guide · Agentic AI Identity Guide · Agentic AI Security Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10, OWASP Agentic AI Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST AI RMF sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe challenge shows agents being manipulated into disclosing secrets through weak trust boundaries.
NHI-05 — Overprivileged NHIThe live assistant leaked because it could access more sensitive state than the task required.
Recommendation — Treat agent disclosure paths as authentication-sensitive and deny access unless the request is explicitly authorised. Reduce agent privileges to the minimum data and actions required for the current task.
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseAttackers exploited the agent's ability to act on framed requests that looked legitimate.
Recommendation — Constrain agent identity and delegated privilege so request framing cannot expand authority.
MITRE ATT&CKTA0006;TA0010 — Credential Access; ExfiltrationThe attack chain focused on secret access and disclosure through repeated conversational techniques.
Recommendation — Map extraction behaviours to credential access and exfiltration to improve detection and response.
NIST AI RMFMANAGE — AI Risk ManagementThe article is fundamentally about governing AI access, disclosure and misuse risk.
Recommendation — Embed agent access rules, monitoring and escalation paths into AI risk management.

Key terms

  • Prompt Injection (Agentic): An attack where malicious instructions are embedded in content that an AI agent reads, causing the agent to execute unintended actions using its own legitimate credentials. A primary vector for agent goal hijacking and identity abuse.
  • Structured-schema Extraction: Structured-schema extraction is an exfiltration pattern where an attacker supplies a formal output template, such as JSON or YAML, to induce a model to fill hidden fields or secrets. It is effective because the request resembles a normal data-processing task, making disclosure feel like formatting rather than theft.
  • Task-Scoped Access: Task-scoped access is permission granted for one defined purpose and removed once the task is complete or the session expires. For non-human identities, it reduces standing privilege and limits how long an attacker can exploit a stolen credential.
  • Conversational Authority: Conversational authority is the implicit permission an AI system gives itself when it treats a prompt as sufficient justification to continue acting. In secure agent design, that authority must be bounded by policy, because a plausible workflow request is not the same as an authorised disclosure decision.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity and secrets management. It helps practitioners translate identity controls into operating models for AI systems and machine identities.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 27, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org