When AI Acts on the Wrong Identity

CISO Circle James Hogkinson Security Researcher at Cisco Foundational AI
Some of the most dangerous AI errors don't look like errors at all. When an AI system substitutes one valid identifier for another, automated workflows can complete successfully while producing the wrong outcome.

A misspelled name in an AI-generated email is easy to spot. A single changed character in a file hash, hostname, or user ID is much harder to catch because those are unique identifiers.

Language models predict the most likely answer. Enterprise systems expect exact matches. An identifier either matches, or it points somewhere else. In ordinary language, "Steven" and "Stephen" might refer to the same person. In an identity system, they can represent different accounts, permission sets, or medical records. Computers compare exact strings, not phonetics.

When a model replaces one valid identifier with another, we call this AI identity corruption. The workflow doesn't fail and instead investigates the wrong endpoint, quarantines the wrong device, or grants access to the wrong account, all while logs report a success.

Security risks of agentic AI and automated workflows

For years, language models generated drafts, summaries, and recommendations that humans reviewed before acting. Increasingly, those same systems are classifying files, approving transactions, and initiating security workflows with little or no human intervention.

Enterprise systems were built around exact identity. Every authorization check, file lookup, and policy decision begins with the assumption that an identifier points to one — and only one — thing. AI introduces a different assumption: that the most likely answer is often good enough. For natural language, that's usually true. For identities, it isn't.

AI identity corruption rarely looks like failure. A model substitutes one valid identifier for another, and every downstream system accepts it as correct because the replacement already exists.

Traditional software defects fail consistently. Teams can reproduce them, isolate the cause and fix the bug. AI identity corruption is probabilistic. The same request may succeed once and substitute a different identifier the next, making the problem harder to reproduce and investigate.

The consequences often look ordinary. Code gets pushed to the wrong repository. Sensitive plans go to the wrong email address. A security workflow investigates the wrong binary because its name resembles a trusted file. Each action completes successfully but produces the wrong outcome.

AI hallucinations vs. AI identity substitution

A hallucination fabricates a fact, citation, or entity that does not exist. Those errors often reveal themselves quickly because the referenced object cannot be found.

A hallucinated URL eventually returns a 404. A nonexistent user can't be found. A fabricated API throws an error. Identity corruption behaves differently. The repository exists. The hostname resolves. The account is real.

Consider an automated response playbook that quarantines an endpoint after detecting malware. If AI substitutes one valid device ID for another, the workflow isolates a clean device while the infected one remains connected to the network. That gives the attacker more time to move laterally, access sensitive data, deploy ransomware, or disrupt critical business operations — all while dashboards and audit logs show the response completed successfully.

The same pattern can appear across enterprise workflows. An AI-powered identity process could reset the password for the wrong employee, leaving a compromised account active.

AI identity corruption can leave every system behaving exactly as designed while acting on the wrong identity.

Security teams have dealt with lookalike identities for years. Phishing relies on visually similar domains. Malware can use filenames that resemble legitimate binaries. Typosquatting exploits small variations in package names. These techniques work because "close enough" can fool people and automated checks. AI introduces that same problem into systems where the model itself makes judgments based on similarity.

Architecting secure AI systems for enterprise operations

Many agentic AI architectures give models direct access to tools and APIs that can take action. That creates risk when the same model interpreting a request can also change the identifiers used to execute it.

If the model changes an identifier like a hostname, user ID, or file hash before invoking a tool, the system may act on the wrong entity, without any signal that the outcome no longer matches the intent.

Operational security teams already have an architectural model for separating those responsibilities. Security orchestration, automation, and response (SOAR) platforms separate ambiguous input from deterministic execution through structured workflows. Each step performs a specific task. Teams can test each branch independently and validate identities against authoritative data sources before the workflow continues.

In a secure AI architecture, AI can build the workflow without rewriting the unique identifiers inside it.

AI can recommend investigating a user, quarantining a device, or evaluating a file under a specific policy. Before the system acts, deterministic logic verifies that the user, device, or file is the intended target. If the identity is ambiguous or validation fails, the workflow stops.

This separation gives security teams a way to use AI without making the model the final authority over identity. The intelligence layer proposes and configures. The orchestration layer validates and executes. Security teams can trace what the model recommended, which identity the system resolved and what action ultimately occurred.

That traceability becomes especially important when an automated action affects access, data or critical systems.

A CISO needs more than a record that a workflow succeeded. They need confidence that it acted on the intended account, endpoint, or asset and provides evidence to investigate when it didn't.

Language tolerates "almost right." Enterprise infrastructure does not. When identifiers function as keys instead of words, even small substitutions become routing decisions.

Keeping identity resolution and execution deterministic, testable, and auditable creates a clear boundary for AI automation: AI can interpret intent and recommend what happens next, while systems built for exactness determine who or what the action applies to.

Ready to build more resilient security architectures? Subscribe to Perspectives by Splunk monthly newsletter for the latest executive insights on AI.

Related Articles

Driving the vSOC with Splunk
Security
3 Minute Read

Driving the vSOC with Splunk

Splunker Jim Goodrich explains how Splunk drives innovation for the Vehicle Security Operations Center (vSOC).
Staff Picks for Splunk Security Reading January 2021
Security
3 Minute Read

Staff Picks for Splunk Security Reading January 2021

These monthly postings will feature the favorite security-centric presentations, white papers and customer case studies from various peeps in the Splunk (or not) security world that WE think everyone should read. If you would like to read other months, please take a peek at previous posts in the "Staff Picks" series!
Observability Meets Security: Build a Baseline To Climb the PEAK
Security
8 Minute Read

Observability Meets Security: Build a Baseline To Climb the PEAK

Splunker James Hodgkinson looks at how to apply the baseline hunting process to some common O11y data sources and shows how the OpenTelemetry standard offers easier data analysis.