← Field notes

Agentic security

A security agent gets the night shift

A sign-in alert arrives at 2:13 a.m. Give the investigator a second piece of evidence and decide who gets to interrupt someone’s work.

Try the experiment
Fig. 03 / Relay

At 2:13 a.m., a supervisor’s account signs in from an unfamiliar location. A security rule opens a case. The account belongs to the person coordinating the morning shift. If the sign-in is genuine, cutting it off interrupts somebody’s work. If it’s stolen, every minute of access matters. What should the software be allowed to do while the on-call analyst wakes up?

Work the sign-in alert

Pick the next piece of evidence and run the review. You hold the approval for any change to the fictional session.

Case 041 / Unfamiliar sign-inS-41 · Active
Evidence to inspect

02:13 / DetectorLocation changed. Opened a fictional case for the on-call team.

What makes this an agent?

A rule can open a ticket whenever a location changes. An agent can read the ticket, choose a relevant source, examine the result and decide what to inspect next. Here it might check whether a company device was present or whether the person reported losing a session. The useful part at 2 a.m. is gathering an intelligible case before a human gets out of bed.

Location alone is weak evidence. A VPN exit can move someone across the map in seconds. A verified denial from the account owner tells a different story. An analyst should see the evidence, its origin and the uncertainty behind the recommendation. A confident paragraph with no event references leaves the analyst doing the work twice.

A ticket can talk back

An incident report contains words from the outside world. A customer can write them, an email can quote them, and a log can preserve them. A model reading that text may mistake a sentence in the evidence for an instruction. This is one form of indirect prompt injection.

Imagine a line in the ticket claiming that a manager has already approved closure. That claim can go in the case record. Approval itself must come from the identity and workflow the organization uses to grant it. In the desk above, a note and a verified response arrive through different channels. Only the latter changes the agent’s assessment of the sign-in.

Sources1

Give every action an owner

For this workflow the agent can read two scoped sources and prepare a recommendation. A separate service checks whether the reviewer is authorized for the specific session and action. The approval identifies those exact details, expires quickly and can be used once. If the underlying evidence or target changes, the reviewer needs to see the change before it takes effect.

There is an important asymmetry here. An unnecessary second read costs a little time. Suspending an entire identity could cut off dispatch, email and payroll together. Ending one session is narrower, although it still interrupts a person and cannot undo anything that already happened. Recovery means signing in again through a trusted path. The permanent record should say who approved the change and whether it actually succeeded.

Sources23

How to tell whether it helped

Replay resolved cases with outcomes hidden. Ask an analyst to judge whether the agent found the decisive evidence, how often it interrupted a legitimate session, how many real incidents it missed and how much review time it saved. Measure the delay to a useful decision alongside the cost of the wrong decision. Speed alone rewards premature closure.

Then run the agent in observation mode on new cases. Include missing data, conflicting reports and duplicate alerts. When uncertainty persists, hand the case to a person with the evidence already attached. A good night shift ends with the morning team able to reconstruct what happened, even if the agent was switched off halfway through.

Sources3

Sources

  1. OWASP GenAI Security ProjectPrompt injection and untrusted content ↗
  2. OWASP GenAI Security ProjectExcessive agency and limiting permissions ↗
  3. ASD ACSC and international partnersGuidance on the careful adoption of agentic AI services ↗