
Securing an agent and using an agent to investigate are different responsibilities.
We see a lot of vendors nowadays offering AI security at various levels, be it applications, endpoints or code. A lot of such vendor pages often claim to secure AI agents, while some others offer agentic security. Some vendors mention both in the same sentence. As a result, the reader may infer it’s just a stylistic choice to use “agentic security” or say “securing agents”.
Firstly, to clear up the grammatical differences: an agent is the noun that is being secured, while agentic is the adjective used to describe how the securing is being done. For example, figuring out the right set of permissions an AI agent can have on a database falls under “agent security”. Having an AI agent read your telemetry data to infer access patterns is an example of “agentic security” in action.

Agent security governs agents; agentic security uses agents to investigate. The investigator needs both.
AI agents are highly variable and often non-deterministic in their scope and action. This leads to some novel problems that we usually don’t associate with traditional applications.
An exhaustive inventory goes a long way in reasoning about security. It is very foundational in this regard and a coverage gap in this step may often show up as a missed diagnosis later on in the pipeline.
The recent ClawHavoc incident is an interesting example here. As reported by Trellix, the public skill registry ClawHub was poisoned with over 350 malicious skills carrying stealer payloads and indirect prompt injections. Package-focused inventories (traditional SBOMs) can miss skills loaded at runtime. On top of that, organizations may not have concrete policies with respect to skill usage and which channels they are acquired from. This is made worse by the fact that a user told by an agent to run a complicated script will most likely run it. Due diligence nowadays has been replaced by the convenience of pressing Enter on the keyboard.
A lot of the work that AI agents do is often described as “on behalf of” the human. As a result, these agents use delegated credentials to achieve their goals. This works reasonably well for your local Claude or Codex sessions. However, the same practices do not translate well when deployed to production.
An example of that is using shared access tokens, like Slack user tokens, GitHub PATs, etc. For actual systems, especially when automations kick in, it becomes difficult to attribute an action back to its source by investigating the separate pieces. Multiple agents might be using a common PAT to achieve their goals. Agent development has been so rapid over the last few years that the identity mechanism to support an agent fleet is still not widely in use.
Identity Attribution becomes very important in such scenarios. The current industry standard has various takes on agent identity:
However, evidence-backed identity chains are always more useful to reason with instead of saying “the agent did it”. Check our article on Runtime Identity Attribution which goes deeper on this. We also discuss different tiers of evidence quality in AI Agent identity attribution here.
When we talk about permission management, we are usually faced with two major questions:
For answering the first question, it’s important to rely on observed behavior rather than declared permission sets. Rightsizing against the policy document means depending on the same artifact which produced the over-grant. Someone auditing every action of the identity with finer granularity is much more useful here for identifying the working permission set.
As with most other engineering problems, AI has found a way to become useful as a security agent.
Fixed rulesets and policies can only detect what has been predicted by someone. LLMs can help figure out patterns and anomalies which were never encountered before. It does not, however, give the right to act. These findings can either be discarded or incorporated into the fixed ruleset for future detections.
Another area where AI agents can work remarkably well is finding relations across different layers of activity. An identity appearing across multiple unrelated applications, a new prompt leading to a new tool call, a sensitive read followed by an unusual transfer. Each such event might be harmless on its own, but correlating them to paint the larger picture is something an AI security agent can help with.
Something to mention here is the false positive rate. It’s necessary to strike a balance between bumping up the precision of these models and letting them loose to find whatever they can. Having too many false positives early on can be overwhelming for the human engineer to prioritize and act on.
The AI agent output must be able to give enough information for the security engineer to act on:
The agent should be explicit about the gaps (unknowns) in the current investigation without over-claiming it. That helps the engineer take necessary steps while accounting for the missing pieces.
AI agents, as of now, cannot act as completely autonomous SOC engineers. Reading telemetry, correlating actions and explaining are cheap operations to get wrong and reverse. Blocking a user or shutting down an application is a much more expensive operation and should require human intervention before going through. With time, this boundary should move as trust develops and LLMs get better. The SOC team should be able to decide what responsibilities can be delegated to an agent as the boundaries shift.
These constraints, however, limit what the agents can actually report. They exclude the truly out-of-the-box findings from ever appearing for the sake of lowering false positives. One way to incorporate this is by having multiple tiers of agents responsible for different levels of incidents. A low-priority exploratory agent can have more of a free rein and report incidents with a lower frequency (weekly) for the SOC team to investigate. Relevant findings from that research can then be added to a higher-tier agent for future occurrences.
This is where LLMs can provide real value over standard security tools.
We should define a few key terms first:
AGENTS.md file, or an initial prompt which specifically states what the AI agent is supposed to do.When it comes to observed intent, the baseline period is critical. We define drift to be a departure from observed behavior. If the baseline period itself has some compromise, it will be encoded in its baseline and the security agent will defend that behavior forever. Human intervention and labeling are necessary here to prevent such scenarios.
A few things need to be taken into consideration while building a drift detection engine:

History surfaces change; an approved purpose gives semantic adjudication a reference.
Intent analysis and drift are both examples of agentic security applied to agent security. There is a certain level of non-determinism involved and scope for the unpredictable to happen. That raises the obvious next question.
The AI security agent that we discussed in the previous section infers another agent’s purpose, and whether it has drifted from it. It has access to a lot of data (telemetry, or otherwise), and can act in an autonomous capacity if configured that way. In other words, it is itself an agent and is vulnerable to all the problems we’ve discussed before. Given a non-deterministic component with broad read-only access, what restrictions can we put in to reduce risk?
We’ve talked about LLM guardrails in a previous article; a lot of them apply here:
The guardrails mentioned above are just examples of the general principle to keep non-determinism away from expensive irreversible steps. That way, you get the good parts of AI (the research and wide net approach) without falling victim to its shortcomings.
The deterministic parts of the system should do the most work before passing on the curated data to the LLM. Cheap steps like deduplication, normalization, statistical filtering can reduce the sample to a few interesting candidates. Then a strict prompt to the LLM with validated input-output patterns would reduce the possibility of guesswork in the process.
The agent should be given strict instructions (in the form of prompts or code validations) to withhold conclusions when proof is insufficient, instead of presenting a made-up conclusion. That way we can reduce further mistakes down the chain which can be dependent on said conclusion.

Agent security and agentic security connect through attributed evidence and reviewed decisions.
Observed agent behavior is the input on which the security agents can work. A matured baseline coupled with accurate identity resolution and inventory will only enrich the insights given by the security agent. The insights derived from the AI security agents can then be used to further tighten the controls on the AI agents. And in both cases, a human sign-off or feedback can be used as learned behavior for allowlisting purposes. We can also call this the human-in-the-loop model.
Which actions would you let a security agent take without human approval? What would you always keep behind an approval step?
USA
AURVA INC. 1241 Cortez Drive, Sunnyvale, CA, USA - 94086
India
Aurva, 4th Floor, 2316, 16th Cross, 27th Main Road, HSR Layout, Bengaluru – 560102, Karnataka, India
Platform
Solutions
Resources
Resource Library
Company
USA
AURVA INC. 1241 Cortez Drive, Sunnyvale, CA, USA - 94086
India
Aurva, 4th Floor, 2316, 16th Cross, 27th Main Road, HSR Layout, Bengaluru – 560102, Karnataka, India
Platform
Solutions
Resources
Resource Library
Company
USA
AURVA INC. 1241 Cortez Drive, Sunnyvale, CA, USA - 94086
India
Aurva, 4th Floor, 2316, 16th Cross, 27th Main Road, HSR Layout, Bengaluru – 560102, Karnataka, India
Platform
Solutions
Resources
Resource Library
Company