Join our Newsletter — 33% off our NHI Course
Threats, Abuse & Incident Response

EchoLeak

← Back to Glossary
By NHI Mgmt Group Updated October 24, 2026 Domain: Threats, Abuse & Incident Response

EchoLeak is a security risk where sensitive information is unintentionally repeated or resurfaced by an AI system after it was received in prompts, context, or connected tools. In agentic AI and NHI environments, it can expose secrets, personal data, or internal instructions through logs, outputs, memory, or downstream tool calls.

How EchoLeak happens

EchoLeak is not a single bug class so much as a failure mode in AI-mediated information handling: the model receives sensitive material, then later reproduces it when answering, summarizing, routing tool output, or recalling conversation state. The dangerous part is that the leak can be indirect and delayed, which makes it harder to notice than a simple copy-and-paste exposure.

This matters most when the system blends chat history, retrieval, memory, and connected tools. In those environments, a prompt can become an unintended storage and replay channel, especially if the assistant is allowed to rephrase content that should have stayed bounded to a narrow task.

EchoLeak is closely related to prompt injection and scope violation. A malicious or merely careless input can alter what the system repeats, including text that came from a protected document, an internal instruction, or a secret visible only to the model’s context window. The Prompt Injection Guide covers the attack patterns that often create this kind of unintended resurfacing.

Why EchoLeak is dangerous

The main risk is disclosure of material that should never have left its original trust boundary. That can include credentials, API keys, customer data, internal policy text, incident details, or system prompts. Once the model has echoed the material back, the leak may be copied into logs, shared with the user, or forwarded to another tool that was never meant to see it.

EchoLeak also blurs the line between safe summarisation and unsafe reproduction. A system may appear to be helping by restating relevant context, while actually exposing sensitive substrings, identifiers, or instructions that were only supposed to be used transiently. That makes the issue especially important in agentic workflows where output is reused by downstream automations.

When a product is known to have this failure mode, the blast radius depends on how much of the environment is reachable through the model’s memory, retrieval, or tool chain. The Microsoft 365 Copilot Security Deep Dive is a useful reference for the broader class of oversharing and governance problems that make EchoLeak-like exposure possible.

How organisations reduce exposure

Exposure control starts with knowing what the model can see, what it can remember, and what it can send onward. Organisations should separate high-trust and low-trust content, restrict retrieval to the minimum necessary scope, and apply output filtering where sensitive text could be repeated verbatim. If a connected system can feed the model, that source needs the same scrutiny as any other data path.

Policy controls matter as much as technical ones. Teams need clear decisions about what may enter prompts, what may be indexed for retrieval, and which classes of content must never be surfaced in a response. For Copilot-style deployments, the Microsoft 365 Copilot Security Deep Dive is a practical guide to the kinds of access controls, data labels, and audit expectations that reduce oversharing.

In systems that combine agents and tools, the safest design assumes the model will eventually encounter sensitive material and may try to reuse it. That means limiting context, separating duties, and treating any tool output as potentially reusable by the model unless explicitly constrained.

Detection, response, and review

Detection usually depends on spotting sensitive content where it should not appear: in model output, audit logs, downstream tickets, chat transcripts, or tool calls. Security teams should review not just the prompt that triggered the leak, but the entire chain of context that may have fed it, including retrieval sources and agent memory.

After a suspected EchoLeak event, organisations should assume the exposed material may be reusable elsewhere. That means checking whether the leaked text included secrets, internal instructions, or personally identifiable information, then assessing whether it was copied into systems that persist longer than the conversation itself. The Zero-Click Exploits Guide is helpful for understanding why apparently passive exposure paths can still have serious operational impact.

Post-incident review should also ask whether the model was acting on stale memory, overbroad retrieval, or an unsafe tool response. Those are often the mechanism that turns a one-off disclosure into repeated resurfacing.

EchoLeak in agentic AI and NHI environments

EchoLeak becomes more serious when AI systems act with delegated authority. In agentic environments, a leak can move from a conversational nuisance to a workflow compromise if the model repeats secrets into logs, tickets, or tool inputs that other services trust.

That is why the issue belongs alongside non-human identity and agent governance discussions. The problem is not only that sensitive text exists, but that an autonomous system can carry it across boundaries faster and more repeatedly than a human would. The EchoLeak (Microsoft 365 Copilot) 2025 case study is the clearest example of how this failure mode can emerge in a real product.

For a broader threat-model view, the CSA AI Agent Disclosure Accountability Gap whitepaper frames why agentic disclosure failures are difficult to assign, report, and contain across modern AI supply chains.

Risk and Threat Considerations

EchoLeak creates a direct confidentiality and trust risk because the system itself can become the channel that repeats protected material. The exposure can be accidental, but it can also be induced by prompt injection, unsafe retrieval, or downstream tool behavior that preserves and redistributes sensitive text.

Failure mechanism: Sensitive information enters the model’s context, memory, or tool chain, then gets echoed back in output, logs, or follow-on calls that were never meant to receive it.

Impact: Secrets, personal data, internal instructions, and other protected material can escape the original boundary, creating disclosure, reuse, and escalation risk across connected systems.

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 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI09 — Human-Agent Trust ExploitationEchoLeak often rides on unsafe trust in agent outputs and context.
Recommendation — Constrain agent trust boundaries so sensitive text is not echoed into trusted downstream flows.
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageEchoLeak can surface secrets through prompts, memory, logs, and tool outputs.
Recommendation — Prevent secret exposure by filtering prompts, outputs, logs, and tool-returned context.
NIST SP 800-53 Rev 5AU-13 — Monitoring for Information DisclosureEchoLeak requires monitoring for unintended disclosure in AI output and logs.
SI-10 — Information Input ValidationPrompt and tool inputs must be constrained to reduce unsafe resurfacing paths.
AC-6 — Least PrivilegeLimiting access to sensitive context reduces what an AI system can echo back.
Recommendation — Monitor AI outputs and logs for unintended disclosure patterns and repeated sensitive content. Validate and constrain inputs that can introduce or reshape sensitive context for the model. Limit model and tool access to the minimum context needed for the task.

Practitioner Guidance

Why practitioners should care: EchoLeak is a governance and design problem, not just a content-quality issue. If a model can repeat something sensitive once, it may be able to repeat it again in a different channel, which makes containment and auditability essential.

What to watch for: Repeated substrings from prompts, hidden instructions, retrieved documents, or tool output appearing in responses, especially when the text includes secrets, identifiers, or internal policy language.

Practitioner takeaway: Treat sensitive content as a bounded asset, not as durable context, and assume any model that can see it may eventually reproduce it unless explicit controls prevent that behavior.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 24, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org