To set up security before you deploy your agents, you will want to put in the time, effort and process, which includes:
- Analyzing the risk level involved in using an agent and which systems it will have access to.
- Determining what the potential blast radius is when things go wrong. How much critical data would you potentially stand to lose?
- Detailing the authorization controls you want to put into place.
It may slow your rollout, but it can save you not only in lost revenue but, equally important, in lost reputation.
As Okta puts it on its website: “Securing agents requires treating them as first-class identities with strict authentication, authorization, and governance to help prevent them from becoming insider threats.”
Peri adds, “It’s easy to spoof an agent, and we’re seeing prompt injection as a growing threat vector.” He agrees that prompt injection can come from inside the company as well as from outside threat actors.
Planning for success
There is no doubt that a well-managed or well-behaved AI agent can provide benefits to your company and employees by taking on a number of repetitive or time-consuming administrative tasks.
We’ve talked about the points to consider before deploying agents across your enterprise. Now, let’s look at how to control the permissions and actions of those agents.
According to Okta, securing the AI agent life cycle requires a two-pronged approach:
- Build “secure by design,” which means developers should use tools like Auth0 to embed identity standards — such as fine-grained authorization and token vaulting — directly into the agent's code.
- Manage through a secure control plane. Security teams must use a unified platform to detect running agents, register them in a directory, and govern their access policies and life cycle events.
All agent activity should connect to a centrally managed location and connect to the company's SOK as part of a larger cybersecurity setup.
Having a centralized cybersecurity provider makes sense. They can come in and ask all the important questions, even ones you might not have thought of. For example, what dataset was the LLM underpinning your agent trained on? Is the data it was trained on correctly classified? How secure is the model and how likely is it to hallucinate; do you even have a way of detecting hallucinations?
Once you have answers to these questions, have the cybersecurity experts install an “identity security fabric,” which is an architecture that gives IT and security teams a unified control plane that manages every identity type (human and non-human) to help prevent security gaps. Let’s face it, AI agents are effectively becoming a part of the workforce, therefore they must be brought into this fabric to avoid gaps in security.
Just like you establish access for different job titles through passwords and badges, you should also determine access for your AI agents. You can’t trust an AI agent to always do the right thing, especially if it’s not trained to understand what the right thing is in any given situation.
All these securities should be put in place on day zero, before any AI agent is deployed in your systems.
Peri put it very succinctly: “Don’t wait for the perfect solution. One bad agent can delete all your data. Secure them now.”