AI Agents Face Critical Identity Security Gaps as Attackers Exploit Authentication Flaws

Reviewed byNidhi Govil

4 Sources

Share

AI agents are creating unprecedented identity security challenges that traditional access controls cannot address. Recent attacks demonstrate how agents with legitimate credentials can be hijacked to execute malicious code without triggering alerts. Security leaders report 88% of organizations have experienced AI-related incidents, while agents operate with overprivilege at machine speed across production environments.

AI Agents Create New Class of Identity Risk

AI agents have introduced a fundamental shift in how organizations think about identity security. Unlike traditional machine identity systems that perform predictable tasks, AI agents behave more like humans—interpreting goals, choosing paths, and acting across multiple systems autonomously. Yet they scale like software and process at machine speed

1

. This combination of autonomy, scale, and decentralization creates security risks posed by AI agents that traditional identity and access management programs were never designed to handle.

Source: BleepingComputer

Source: BleepingComputer

The threat is not theoretical. A single fake error report hijacked Claude Code in controlled testing conducted by Tenet Security, with the agent running attacker code using the developer's full privileges while EDR, WAF, IAM, and firewall systems completely missed it

2

. This attack method, classified as agentjacking by the Cloud Security Alliance, achieved an 85% success rate across 100-plus targets in controlled conditions. Tenet identified 2,388 organizations with publicly exposed Sentry credentials vulnerable to malicious event injection at scale.

Authentication Succeeds While Authorization Fails

The core problem with agentic AI systems lies in a critical distinction: authentication verifies identity, but provides no insight into whether specific actions align with intended purpose. Every major machine-identity breach over the past eighteen months involved legitimate credentials that authenticated successfully

4

. The API key that enabled Chinese state hackers to access the U.S. Treasury in December 2024 was a genuine BeyondTrust credential. The AWS session tokens used in the $1.5 billion Bybit theft in February 2025 belonged to a real developer. When Anthropic disrupted the GTG-1002 espionage campaign in September 2025, the Claude Code session operated under legitimately paid-for and registered credentials.

This pattern reveals why AI security cannot rely on traditional access controls alone. A credential may exist to help a support tool assist users, but nothing in the authentication system prevents it from resetting internal passwords or accessing sensitive documents. An AI agent issued the same scope of access can drift from its intended task at machine speed, executing hundreds of actions before anyone reviews them

4

.

Three Critical Problems Exposing Enterprises

The visibility problem manifests as shadow AI spreading across organizations. Agents arrive through SaaS platforms that quietly add autonomous features, run locally on endpoints, and connect to automation platforms, identity providers, and cloud consoles

1

. Without knowing these agents exist, security teams cannot govern them or understand blast radius when incidents occur.

Overprivilege accelerates during experimentation phases. Developers grant API tokens so prototypes work, business units connect agents to SaaS accounts with admin rights, and application teams embed secrets into workflows because designing proper delegation takes longer

1

. These shortcuts create identity debt that AI adoption in enterprises accumulates at machine speed.

Prompt injection and indirect manipulation create attack vectors that bypass traditional security. If an agent can read untrusted content and take privileged action, attackers need only influence what the agent accesses. Agentjacking works because every step is authorized: attackers send valid API calls using public credentials, MCP servers return injected events as authentic output, and agents execute instructions using developer privileges

2

. No signature fires because no policy is violated.

Survey Data Reveals Widespread Exposure

Five independent surveys from the first half of 2026 found enterprises trust AI agents far more than enforcement justifies. Only 34% of organizations apply the same security controls to AI agents as to humans, according to an Okta/Apprize360 survey of 292 executives and 492 knowledge workers

2

. Fifty-two percent of employees use unapproved AI tools, while 58% of executives reported an AI-related incident or close call in the prior year.

Source: VentureBeat

Source: VentureBeat

HiddenLayer's survey of 250 IT and security leaders found 33% reported agents had already exceeded intended scope, while 31% could not confirm whether they experienced an AI breach. Gravitee's survey of over 900 executives found only 14.4% of agents went live with full security approval, and 88% reported confirmed or suspected incidents

2

. An Aikido Security study found 76% of security leaders have intervened to stop or restrict AI behavior, while 71% say AI has made security incidents much harder to detect, investigate, or fix

3

.

Runtime Security Controls for AI Agents Emerge

CISOs face a timing problem: AI adoption in enterprises is accelerating faster than security teams can evaluate or govern deployments. Ninety percent say they deploy agents faster than security teams can assess them, driven by competitive pressure. Traditional security approaches focused on patching vulnerability issues and locking down permissions, but consistently miss something critical.

"Securing agents looks very similar to securing highly privileged users," said Elia Zaitsev, CTO of CrowdStrike. "No one has been talking about securing agents at runtime. We are doing that now. What is your safety net? If all these controls fail, how do you prevent them from failing silently?"

2

. CrowdStrike's fleet data quantifies exposure at more than 1,800 agentic applications on enterprise endpoints, with approximately 160 million instances under monitoring. The company shipped Continuous Identity for AI Agents on June 15, replacing static policies with continuous enforcement that authorizes every agent action in real time.

Intent-Based Authorization Addresses Root Cause

The fix requires moving beyond identity verification to intent validation. RFC 9396, published in May 2023, introduces Rich Authorization Requests that let clients specify precise purpose in structured JSON

4

. Instead of broad OAuth scopes saying "this token can read files," RFC 9396 enables specific declarations: this token may transfer exactly €45 to this one merchant, or read exactly this tax record for this one taxpayer, for thirty days, and nothing else. Authorization servers bake declared intent directly into tokens, enabling resource servers to validate whether actions match stated purpose.

Source: diginomica

Source: diginomica

For AI-assisted coding environments connected to Sentry, Datadog, PagerDuty, or Jira through MCP, the mitigation is not revoking public credentials—it's restricting what agents can do with returned data

2

. Organizations must audit publicly exposed credentials immediately and implement contextual, intent-based, time-bound access controls that are continuously evaluated. Access for agents should vary based on goals, data involved, the user or system they represent, and the environment they touch

1

.

The shift from static permissions to continuous authorization represents a fundamental change in how enterprises must approach machine identity. As agents multiply across production environments with malicious code injection becoming easier, the question is no longer whether authentication credentials are valid, but whether the actions agents take with those credentials align with their intended purpose.

Today's Top Stories

© 2026 TheOutpost.AI All rights reserved