TL;DR: Two AI agent platforms were compromised in the same week, with Langflow hit by unauthenticated remote code execution and Dify exposing private conversations and internal APIs across tenants, according to Kong’s analysis. The pattern shows why application-layer controls are not enough when agents can call tools and act with delegated authority.
Editorial analysis by NHI Mgmt Group, based on content published by Kong: “# AI Agent Platforms Are Getting Hacked. Here's What's Missing.”.
By the numbers:
- 1 in 5 CISOs (19.5%) report at least one AI agent-related security event, according to NeuralTrust research cited by Kong.
Key questions
Q: What breaks when AI agent security is handled like ordinary application security?
A: Application security assumes a relatively stable workload boundary and a predictable request path.
Q: Why do compromised AI agents create a larger blast radius than ordinary web apps?
A: Compromised AI agents can use delegated authority to call tools, reach internal APIs, and chain actions across services.
Q: What are the signs that AI agent security controls are too weak?
A: Common warning signs include agents accessing systems or data outside their intended scope, sharing sensitive information inappropriately, and using credentials or tools without clear justification.
Practitioner guidance
- Enforce gateway authentication for every agent call Require identity checks at the traffic boundary before any agent, model, or tool request reaches a backend service.
- Apply tenant isolation at the request layer Verify that cross-tenant boundaries are enforced before requests reach application logic, especially for chat history, internal APIs, and shared tool endpoints.
- Rate limit delegated agent activity Cap tool calls, model invocations, and API requests per agent or tenant so a compromised agent cannot amplify itself into a denial-of-wallet or workflow abuse event.
Bottom line: AI agent platforms create a runtime governance problem because agents can act through delegated authority, not just expose data.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Gateway enforcement is becoming the minimum viable control plane for agentic systems. Agent platforms do not fail like ordinary web applications because they can translate input into tool use, workflow execution, and API calls. That changes the control problem from protecting pages to governing runtime action, which is why traffic-layer enforcement now matters more than application-only hardening. Practitioners should treat gateway policy as a core identity control, not a network convenience.
A few things that frame the scale:
- Secrets management is a top five cybersecurity priority for only 33% of organisations, behind cloud security (45%), API security (42%), and endpoint security (36%), according to the 2024 State of Secrets Management Survey.
- 71% of organizations use third-party APIs, according to Gartner’s 2024 data.
A question worth separating out:
Q: How should IAM teams govern AI agent access differently from human developer access?
A: IAM teams should govern AI agents as runtime consumers of access, not as users with durable credentials. That means binding privileges to the task, not the identity alone, and maintaining approval, revocation, and logging around the access event. The control objective is to prevent the agent from becoming a standing secret holder.
👉 Read our full editorial: AI agent platforms need a gateway layer for runtime security