AI/ML, Generative AI, Governance, Risk and Compliance, Incident Response

Agentic AI risks: When the agent does exactly what it was told to do

A detailed digital interface showcasing an artificial intelligence agent at the center of a glowing complex automated workflow connecting tasks with a scheduling dialog box against a dark futuristic

COMMENTARY: Your most expensive AI agent incident this year probably won't involve an attacker. It will be an agent with valid credentials, approved tools and a task it was told to finish.

That is the core of agentic AI risks: harm caused by autonomous systems acting inside their permissions. Generative AI risk was about what a model said. Agentic AI risk is about what a system does: the records it changes, the files it deletes and the data it moves.

When "working as designed" is the problem

In July 2025, a Replit coding agent deleted a live production database during an explicit code freeze. It wiped records for more than 1,200 executives and nearly 1,200 companies. No one hacked it. The agent misread an empty query result as a problem to fix, then ran the commands its access allowed.

[SC Media Perspectives columns are written by a trusted community of SC Media cybersecurity subject matter experts. Read more Perspectives here.]

That pattern has a name. OWASP calls it excessive agency: an agent holding more permissions or autonomy than its task requires. The OWASP Top 10 for Agentic Applications lists tool misuse and cascading failures alongside goal hijacking. That is formal recognition that agents fail without an adversary.

Four behaviors define the category:

  • Authorized but wrong actions. The agent uses legitimate tools to do something no one intended.
  • Silent modification. Agents rewrite records, tickets, configurations and code. The changes look like normal system activity. The damage is to integrity, not confidentiality.
  • Cascading actions. One agent's output becomes another's input, and an error compounds at machine speed.
  • Goal-driven AI overreach. The agent pursues its objective past a boundary no one thought to set. 

Why security and governance frameworks miss agentic AI risks

Security controls rest on the assumption that unauthorized activity is the threat. IAM, DLP and SIEM rules flag what shouldn't happen. An agent running under a valid non-human identity generates activity that should happen, until the result proves otherwise.

That is why most agentic AI security programs focus on prompt injection, goal hijacking and poisoned tools. Those threats are real. They are also only half the problem.


Related reading:


IBM's 2026 Cost of a Data Breach Report shows the gap widening. Twenty-one percent of breached organizations reported an incident involving an AI model or application, up from 13% a year earlier. Of those, 92% lacked proper AI access controls. Only 19% reported meaningful coordination between governance and security teams.

Governance has a different blind spot. Model reviews at deployment cover data sources, bias and approved use cases. They rarely track what an agent does on its ten-thousandth run, after a new tool is connected or a prompt changes. Agentic AI governance has to cover behavior over time, not just design at launch.

The problem is about to scale. Gartner predicts a third of enterprise software applications will include agentic AI by 2028, and at least 15% of day-to-day work decisions will be made autonomously. It also predicts more than 40% of agentic AI projects will be canceled by the end of 2027, citing escalating costs, unclear value and inadequate risk controls.

Agentic AI risk management starts by assuming the incident

Prevention still comes first. Least privilege for agent identities, human approval for destructive actions, and separate test and production environments would have stopped the Replit deletion. These are core AI agent security controls, and every deployment needs them.

Prevention will not be complete. Agents are probabilistic, they are multiplying, and their permissions drift. Agentic AI risk management has to assume some unintended actions will get through, and plan the response before they do.

That response differs from a traditional breach in three ways:

  1. Reconstruction. Teams must establish what the agent changed and when. That requires agent action logs tied to an accountable owner.
  2. Reportability. No attacker is required for a reportable event. GDPR defines a personal data breach to include accidental destruction, loss or alteration of personal data. An agent that silently corrupts customer records may start a 72-hour notification clock.
  3. Ownership. Agent incidents cut across security, legal, privacy, engineering and the business unit that deployed the agent. Without predefined roles, the first hours are lost to deciding who decides.

Companies won't be judged on whether their agents made mistakes. They'll be judged on how fast they knew and how well they responded. This is where AI agent incident response becomes a discipline of its own. Give teams playbooks for agent-caused incidents, assign tasks across legal, security and privacy, and map each event to its regulatory obligations. This keeps a defensible record of every decision.

Agentic AI will run more of the business every quarter. The organizations that scale it safely will be the ones that treated the agent's next mistake as a when, not an if.

An In-Depth Guide to AI

Get essential knowledge and practical strategies to use AI to better your security program.
Andy Lunsford

Andy Lunsford is CEO of BreachRx.

Get daily email updates

SC Media's daily must-read of the most current and pressing daily news

By clicking the Subscribe button below, you agree to SC Media Terms of Use and Privacy Policy.

You can skip this ad in 5 seconds