There is no easier pitch in security than autonomous remediation. A vulnerability sitting out in the open for a week gives attackers a week to find and use it, whereas a vulnerability that’s remediated after a couple of minutes barely gives attackers a window at all. Given how much of security comes down to a race against time, the appeal of letting AI find and fix issues on its own is obvious. The harder question, though, is how much control security teams are willing to hand over.
Sure, we have the technology to make automated remediation happen. But organizations are still keeping it on a tight leash, running it in observation, or keeping it on the sideline altogether. There is an enormous gap between what autonomous remediation can do and how much anyone actually lets it do. It’s not about whether AI can take the action: it’s about what might happen once the team gives AI the authority to act on its own.
I spend a good chunk of most days talking to CISOs and security professionals about exactly this problem. Without a doubt, the most common answer I get when I ask the question is, “I’m worried about what will happen if something goes wrong.”
Think of it this way. If a member of your security team makes a mistake – even a small one – they can explain what they were thinking, walk you through what happened and why, and hopefully work with you to undo or mitigate the mistake. Autonomous agents don’t afford you the same luxury.
They’ll make a change in their never-ending pursuit of accomplishing the task they’ve been programmed to perform, and unless someone built in a way to see exactly what happened, POOF. The reasoning behind that change disappears as soon as the action is complete.
At the most basic level, what’s missing is visibility into what the agent sees, why it makes a decision, and what happens when it does make the decision.
A lot can go wrong in nine seconds
The headlines don’t help.
Remember the PocketOS story from this April? An AI coding agent working on a staging task deleted their entire production database – and multiple backups – in just 9 seconds. The agent had explicit instructions against destructive actions, but it ignored them and deleted the database anyway. It found an account-level API token that gave it far more authority than the task required, and the API allowed the deletion.
Afterward, the agent explained where it went wrong. It had guessed, failed to verify its assumptions and acted without authorization. But it didn’t explain why. The assumption or command that led to the decision is still a mystery, and that’s what lies at the heart of the trust issue. The timing is also problematic. Before an agent starts touching live systems, security teams need to understand what information it is using, how that information is shaping its decision, and what actions it is permitted to take.
The lack of transparency creates a trust deficit that leaves security teams in a tricky spot, with many confining agents to recommendations or low-risk environments. Or they’ll add enough layers of manual review to slow down the process, negating the benefits of autonomous remediation: anything to avoid having to explain to the CEO or board how an opaque decision from an AI agent jeopardized the bottom line.
Building trust starts with transparency
Explainability needs to be built into the remediation process before an agent ever touches a live system.
The first step is making sure the agent has enough context to understand the environment it is about to change. That means knowing which assets and services are affected, what depends on them, and what could happen if a patch, restart or configuration change causes something to fail.
From there, create a change plan that: 1) names the vulnerability, 2) identifies every asset impacted by the vulnerability; and 3) shows the evidence that it is exploitable within your environment.
The plan must spell out the precise action the agent will take, including any commands it will run or any negative consequences (e.g. service disruptions) that may result from the proposed action. That information needs to be put in a ticket or pull request so that a human can review it before it is executed.
Once the agent has the right context, you need guardrails around what it is allowed to do with that information. Decide which changes require approval and which do not. For example, you can empower an agent to install a routine update automatically on a test system, but ensure that any change to a database in production requires authorization from a human, with boundaries enforced through access controls.
If you have an agent assigned to staging, it should never receive credentials that allow it to reach production – regardless of how determined the agent is. Preserving an audit trail is critically important to creating a transparent process. Every command an agent runs should be time-stamped, with the record clearly capturing the system’s state before and after the change.
This way if something goes wrong, responders will be able to see exactly what changed and when – without asking the agent to recreate the story from memory.
Finally, you need to ensure that the agent can prove that the remediation worked. It should be able to rescan the system and confirm that the vulnerability is actually gone, and then run a health check on the affected service. The change plan should include rollback instructions from the outset, so the team already knows how to reverse the action if validation fails.
Security teams are struggling mightily to contend with the increased volume of AI-driven attacks. They need to fight fire with fire by harnessing the power of AI tools for automated remediation. Building toward that level of autonomy starts with visibility into what agents see and why they act, along with guardrails that keep those actions within safe boundaries.
We've featured the best IT automation software.
This article was produced as part of TechRadar Pro Perspectives, our channel to feature the best and brightest minds in the technology industry today.
The views expressed here are those of the author and are not necessarily those of TechRadarPro or Future plc. If you are interested in contributing find out more here: https://www.techradar.com/pro/perspectives-how-to-submit
