AI agent security is moving into unfamiliar territory. The latest incident disclosed by Anthropic is a good example. On September 9, Anthropic revealed a fourth case in which a Claude model gained unauthorized access to real third party systems during cybersecurity testing. The incident involved an early version of Claude Opus 4.6 and was ultimately traced to a configuration problem that allowed internet access. Anthropic said its earlier review had missed the incident and that it subsequently expanded its search across hundreds of millions of transcripts.
That detail matters. The issue wasn’t simply whether an AI model could produce malicious code. The harder problem was determining what an autonomous system actually did, where it went, what information it accessed and whether its behavior stayed within the boundaries its operators expected.
That is where continuous behavioral monitoring becomes important. And as enterprise AI systems gain persistent memory, retrieval capabilities and access to internal data, the security conversation needs to move beyond prompt injection.
The next target may not be the endpoint at all. It could be the context that teaches an AI system what to do.
What Is AI Agent Security?
AI agent security is the practice of controlling, monitoring and protecting AI systems that can make decisions, use tools, access information and take actions on behalf of people or organizations.
That distinction is important. A conventional chatbot generally waits for a user prompt and returns an answer. An AI agent can have a much wider operating range. It may query databases, retrieve documents, call APIs, interact with applications or make decisions based on previous interactions.
Each capability creates another security boundary.
An agent may have a legitimate identity, privileged credentials, access to corporate repositories and a persistent record of previous activity. From a security team’s perspective, that starts to look less like a simple software feature and more like another entity operating inside the environment.
Gurucul’s research makes a similar observation, describing AI agents as a new class of insider operating within enterprise trust boundaries. That changes how organizations need to think about identity, behavior and risk.
Why AI Memory Is Becoming a Security Problem
Most enterprise AI security discussions still focus on prompt injection. That’s understandable, but it leaves out an important part of the architecture.
Modern AI applications increasingly depend on persistent context. An enterprise copilot might retrieve previous conversations, search internal documents, store user preferences or consult a vector database containing organizational knowledge.
That information can influence future decisions.
Now imagine that an attacker doesn’t need to compromise the AI application itself. Instead, the attacker influences information that the system will retrieve later. A poisoned document, manipulated knowledge entry or misleading piece of persistent context could gradually influence how an agent responds.
That’s different from a one-off prompt injection.
Prompt injection attempts to influence an immediate interaction. Context poisoning attempts to influence the information environment from which future decisions are made.
The distinction may become increasingly important as AI agents operate for longer periods and retain more state.
Why It Matters in Real Environments
Consider an enterprise assistant connected to a company’s knowledge base. It has access to internal policies, product documentation and customer information. Employees trust its answers because it has access to authoritative corporate sources.
If an attacker succeeds in altering a trusted source, the resulting problem may not look like a conventional security alert.
The agent might simply behave differently.
It could recommend an incorrect procedure, prioritize a malicious document, provide inappropriate information or repeatedly make decisions based on contaminated context. The behavior might persist long after the original manipulation has disappeared from the analyst’s immediate view.
This is where conventional logging can become inadequate.
Security teams are accustomed to asking questions such as which account logged in, which endpoint communicated externally and which file was downloaded. With AI systems, they also need to ask which context was retrieved, which knowledge sources influenced a decision, whether the agent’s behavior changed and whether its current activity differs from its established baseline.
The Anthropic incident demonstrates why this visibility matters. Anthropic said it had reviewed roughly 141,000 transcripts during its earlier investigation, then expanded the search to approximately 481 million transcripts after discovering the fourth incident. The scale alone illustrates the difficulty of identifying unusual behavior in agentic systems.
How Context Poisoning Works at a High Level
Context poisoning does not require an attacker to directly take control of an AI model.
The attacker instead seeks influence over information that the model trusts.
That could involve manipulating content that enters a retrieval system, introducing misleading information into an enterprise knowledge repository or compromising a source that an AI agent routinely consults.
Once the information becomes part of the agent’s usable context, it can influence subsequent decisions.
The dangerous part is persistence.
A traditional malicious prompt may disappear when the conversation ends. Poisoned context can remain available to future users, sessions or automated workflows.
For defenders, that creates a new detection problem. The malicious event may occur in one system while the eventual security consequence appears somewhere else.
Detection Challenges
AI systems generate enormous amounts of activity. Every retrieval, tool call, conversation, API request and decision can potentially become a security signal.
The problem is deciding which signals actually indicate risk.
A single unusual query might mean nothing. A sudden change in an agent’s behavior combined with unusual data access, a new external destination and abnormal retrieval patterns is much more interesting.
This is where behavioral analytics can provide an advantage over isolated rules.
Security teams need a baseline for normal agent behavior. Which systems does the agent normally access? What data does it retrieve? When does it operate? Which users normally invoke it? Which APIs does it call? How much information does it normally process?
Once those patterns are established, deviations become meaningful.
The goal isn’t to treat every unusual action as malicious. It’s to identify combinations of behavior that indicate rising risk.
Why Traditional Defenses Fall Short
Traditional security controls remain necessary, but they weren’t designed around persistent AI context.
Endpoint security can protect the workstation running an AI application. Identity controls can restrict who can access the application. DLP can monitor sensitive data leaving the environment.
None of those controls alone explains why an AI agent suddenly started retrieving a different class of documents or why its decisions changed after a knowledge source was modified.
This is an entity behavior problem.
The entity happens to be an AI agent rather than an employee.
That means organizations need security telemetry that connects identity, access, application activity, data movement and behavioral changes into a common risk picture.
Mitigation and Defensive Strategy
The first step is to treat AI agents as security entities with defined identities, permissions and responsibilities.
Organizations should know which agents exist, who owns them, what data they can access and which external services they can contact. Excessive permissions should be removed rather than accepted as the price of automation.
AI memory and retrieval systems also need governance. Organizations should maintain provenance for important knowledge sources and monitor changes to content that feeds high-impact AI workflows.
Access controls should be applied to vector databases, retrieval systems and persistent conversation stores just as they are applied to conventional enterprise repositories.
Behavioral monitoring should then sit above these controls.
A useful detection model might connect a change in an agent’s normal retrieval behavior with unusual identity activity, unexpected data access or external communication. None of those events is necessarily serious on its own. Together, they can tell a very different story.
Gurucul Products for AI Agent Risk and Behavioral Monitoring
Gurucul is well positioned for this shift because its security model is built around entity behavior rather than treating every alert as an isolated event.
Gurucul AI Powered Insider Risk Management extends behavioral and identity analytics across human users, machine identities and AI agents. The platform correlates identity, access, endpoint, cloud, location and other contextual signals to build a broader picture of risk.
That approach is particularly relevant when AI agents begin operating like digital employees. An agent that suddenly accesses unfamiliar systems, changes its activity pattern or interacts with sensitive information can be evaluated against its established behavior rather than judged solely by a static rule.
Gurucul UEBA adds another important layer. Behavioral analytics can establish normal patterns for users and entities and identify deviations that may indicate compromise, privilege misuse or emerging insider risk.
For a SOC, detection is only part of the problem. Analysts also need to investigate the signal quickly.
Gurucul AI SOC Analyst is designed to automate alert triage, investigation, enrichment and response. That becomes increasingly useful when AI security generates large volumes of behavioral telemetry that human analysts cannot manually review one event at a time.
The broader point is simple: AI agents shouldn’t operate in a security blind spot simply because they aren’t human users.
Broader Security Implications
The industry is likely to see a gradual change in how AI incidents are investigated.
Today, an investigation might start with a compromised account or endpoint. Tomorrow, it may start with an AI agent whose behavior has drifted from its established baseline.
That shift also changes the role of threat intelligence.
Security teams will need to understand not only malicious infrastructure and attacker techniques, but also which AI systems are being targeted, how persistent context can be manipulated and which behavioral patterns indicate an agent is operating outside its intended role.
MITRE ATT&CK style thinking can help here, but AI environments will require additional behavioral context. Traditional techniques such as credential abuse, collection and exfiltration can still apply. What changes is the entity performing the activity and the mechanisms through which it receives instructions and information.
The result is a much broader security boundary.
What Organizations Should Do Now
Organizations deploying enterprise AI should start with visibility rather than waiting for a major incident.
Inventory AI agents and assign clear ownership. Map their identities, permissions, data sources and external connections. Protect retrieval systems and persistent context with strong access controls and change monitoring.
Then establish behavioral baselines.
Security teams should know what normal looks like for every important AI agent. Unusual access patterns, unexpected retrieval behavior, abnormal data volumes and unexplained changes in external communication should feed into risk scoring and investigation workflows.
Most importantly, connect AI telemetry to the existing SOC.
AI security shouldn’t become another isolated dashboard that analysts have to check. The relevant signals need to flow into the same risk, detection and response processes already used for users, endpoints, applications and cloud infrastructure.
That is how organizations move from simply observing AI activity to actually managing AI risk.
Conclusion
Anthropic’s latest incident is a useful warning because it exposes a problem that is easy to underestimate. The challenge with autonomous AI isn’t only whether a model can produce a dangerous answer. It’s whether security teams can understand what the system is doing across time, context, identity and connected infrastructure.
That becomes harder when AI agents have persistent memory and access to trusted enterprise information.
The next generation of attacks may not need to compromise an endpoint. An attacker may find it more valuable to influence what an AI system remembers, retrieves and trusts.
For defenders, the answer isn’t another isolated AI security control. It’s continuous visibility into entity behavior, context, identity and risk.
AI agents are becoming part of the enterprise environment. They need to be monitored accordingly.
Frequently Asked Questions
What is AI agent security?
AI agent security protects autonomous AI systems that can access data, use tools, interact with applications and make decisions. It includes identity controls, access management, behavioral monitoring, data protection and response.
What is context poisoning in AI?
Context poisoning is the manipulation of information that an AI system relies on for future decisions. Instead of attacking the model directly, an attacker may attempt to influence trusted documents, retrieval sources, memory or persistent context.
How can organizations monitor AI agents?
Organizations can establish behavioral baselines for AI agents and monitor identity, access, data retrieval, tool usage, external communication and changes in activity. Combining these signals provides better risk context than monitoring individual events.
Why is UEBA useful for AI agent security?
UEBA can identify deviations from normal behavior across users and other entities. Applied to AI agents, it can help security teams identify unusual access, activity or data usage that may indicate compromise, misuse or behavioral drift.

