Feature · Security & Fraud

AI Agents Need Their Own Security Stack, and This Week Showed Why

In one week, researchers described hijacking coding agents, a blog documented an autonomous agent attack, vendors launched agent gateways and federal experts warned zero trust is straining. The lesson: agents need identity, runtime controls and provenance.

By The AI Enterprise Magazine Team5 min readFeature · Weekly briefing

Illustration of AI agent icons behind a protective shield
Illustration of AI agent icons behind a protective shield

Key takeaways

  • Agents are at scale. The Pentagon's GenAI.mil hosts more than 100,000 custom agents for about 1.7 million users.
  • New attacks target agents. Exposed Sentry keys can be used to inject instructions into coding agents, and one documented attack was run end to end by an AI agent.
  • Vendors are building controls. Vorlon, Exabeam, Datadog and Couchbase all made agent-related security, observability or memory moves.
  • A four-layer stack. Agent identity, human-matched access, runtime enforcement and provenance logging form a practical blueprint.

In the first week of July, the conversation about AI agents shifted from what they can do to how to stop them doing the wrong thing. Over five days, security vendors launched enforcement gateways for agents, researchers described a new way to hijack coding assistants, a security blog documented an attack carried out end to end by an AI agent, and federal identity experts warned that zero-trust tools built for people will not hold up at agent scale. Taken together, the week's news, much of it collected in AI Agent Store's daily agent news log, makes one point clear for enterprise leaders: agents now need their own security stack, and most organizations do not have one yet.

Why are AI agents becoming a security problem now?

Scale is the short answer. Agents have moved past pilots in some of the largest organizations in the world. The Department of Defense's internal AI platform, GenAI.mil, now has about 1.7 million users and hosts more than 100,000 custom agents, officials said, according to the log's July 3 entry. They plan to add more commercial models and extend the platform to higher classification levels.

Each of those agents carries credentials, calls tools and touches data. That is a different risk profile from a chatbot that only answers questions. AtScale co-founder and CTO Dave Mariani made the point in a AI Connect webinar on AI infrastructure in March. "Imagine agents at machine scale," he said. "They can do a lot of damage and they don't know any better."

The research community is moving the same way. ICML 2026, which opens July 6 in Seoul, drew a record 23,918 submissions, and agentic AI features in at least 60 of 247 workshop proposals, according to the log's July 5 entry.

What new attacks on AI agents emerged this week?

Two reports stood out.

The first describes what researchers are calling "agentjacking." According to the July 3 entry, attackers can abuse publicly exposed Sentry error-reporting keys, known as DSNs, to plant instructions that coding agents then execute with a developer's privileges. Claude Code, Cursor and Codex were among the agents tested, with high success rates reported in controlled tests, though no exact figure was given. Suggested defenses include auditing for exposed keys, rotating credentials, validating and allowlisting what gets ingested, and checking who is calling.

The attack works because coding agents read error logs as context and act on them. It is a variant of prompt injection, a risk AI Connect speakers have flagged for some time. In a 2025 panel on enterprise GenAI security, Informatica technical architect Bhimnath Mantha stressed role-based access control and protection against prompt injection, warning that "Prompts can make or break your application."

The second report goes further. A security blog cited in the log's July 4 entry described a fully autonomous attack documented on May 10, 2026, in which an LLM-driven agent exploited an internet-exposed marimo notebook, harvested cloud credentials and moved through local directories in under an hour. The blog framed it as part of a broader shift in the first half of 2026 toward highly automated, multi-stage attacks. The vulnerability identifier was not given in the summary.

How are vendors and agencies responding?

The vendor response arrived in the same week. On July 1, Vorlon launched Guardian, a real-time enforcement gateway that sits between AI agents and the SaaS apps, cloud data stores and internal systems they reach, and can block or mask agent actions before a transaction completes, according to the log. On July 2, Exabeam said it had doubled the AI and agent detections in its behavior analytics platform to 90 and added support for Anthropic's Claude.

Observability vendors are moving too. Datadog agreed to acquire Adaptive ML, a reinforcement learning operations startup, which will join Datadog AI Research to build models and agent tooling for observability and security, the log reported on July 1. The same day, Couchbase released an AI Data Plane with persistent agent memory, a discoverable agent catalog and a self-managed MCP server, a reminder that agent state and memory are becoming data assets that need governing like any other.

On the public sector side, experts quoted in the July 3 entry argued that federal identity and zero-trust tools assume human users and will strain under thousands of agents acting at machine speed. Their recommendations: cryptographic identities for agents, short-lived credentials and auditable chains of delegation, so every action can be traced back to the person or system that authorized it.

What does an agent security stack look like?

Across the week's news and AI Connect sessions, a rough blueprint emerges. It has four layers.

Identity. Every agent needs its own identity, not a shared service account or a borrowed human login. Short-lived, scoped credentials limit the blast radius when something goes wrong.

Access that mirrors human permissions. Sam Mittal, VP of AI Solutions at Snowflake, described the principle in a AI Connect webinar on agent observability: "If your role can't see a column, neither can your agent." Agents should inherit, not exceed, the permissions of the people they act for.

Runtime enforcement. Policies written in documents do not stop an agent mid-transaction. Gateways like the ones launched this week, and approved tool lists exposed through MCP servers, put controls in the path of execution.

Observability and provenance. Teams need to know what data an agent used, what tools it called and who approved the action. In a webinar on moving from human in the loop to agent ops, Girish Bhat, SVP at Revefi, predicted data, security and AI governance will converge because "fundamentally it's all about provenance."

Is the risk overstated?

There is a fair counterargument. Several of this week's reports describe controlled tests or single incidents, and vendors launching security products have an interest in highlighting threats. The agentjacking research reported high success rates without publishing a figure in the summary, and the autonomous attack exploited an exposed, unpatched service, a basic hygiene failure as much as an AI one.

But that cuts both ways. Most agent risk today comes from familiar weaknesses, exposed keys, overprivileged accounts and missing logs, now exploited faster and at greater scale. The fixes are mostly known. What is new is the speed at which agents find and use those gaps.

For CIOs and CISOs, the practical takeaway is to treat agent security as a program, not a product purchase: inventory agents and their credentials, scope access to the task, enforce policy at runtime and log everything. The organizations deploying agents fastest will be the ones that can prove what those agents did.

Frequently asked questions

What is agentjacking?

It describes attacks that abuse publicly exposed Sentry error-reporting keys to plant instructions that AI coding agents then execute with a developer's privileges.

Why does zero trust struggle with AI agents?

Experts argue current identity tools assume human users and will strain under thousands of agents at machine speed; they recommend cryptographic agent identities, short-lived credentials and auditable delegation.

How should enterprises secure AI agents?

Give each agent its own scoped identity, match its access to the human it serves, enforce policy at runtime and log what data and tools it used.

Filed under: Security & Fraud, Agentic AI, AI Governance & Trust

More from AI Enterprise Magazine

Read the magazine