How We Run Security Work on AI Agents and Keep Control
AI agents now do almost all of the security work at StationX. Triage, patching, access reviews, audit evidence, firewall changes, pen testing. I built the system that does it, it's called HAL, and I work with it every day.
I've been in security for 30 years, and if a peer told me that, I wouldn't take their word for it. I'd want to watch it work. So I recorded it: 17 short videos, about 65 minutes in total, each one a different kind of security job done the way we do it now.
If you run a security team, you're probably being asked what your plan for AI is. This page is what I'd want to see in your position: the work itself, what the agents are allowed to do, and where a person still makes the call.
TL;DR: if you've only got 30 seconds
Agents do the work end to end: find it, investigate it, fix it, test it, write it up.
A person still decides anything that changes production, goes to a customer, closes a finding or accepts a risk. You'll see HAL stop and ask in almost every video.
There are 17 videos. The shortest is 1 minute 34 seconds. Start with the two in "If you have five minutes".
What you see is what HAL can really do. For the recordings we didn't point it at live systems or real data.
What "Almost All" Means
I say almost all, and I mean it. Take a critical vulnerability alert landing at 6 in the morning. Two years ago a person read the advisory and checked which servers were affected. Then they worked out whether we were really exposed, wrote the fix, tested it and got it reviewed. Now HAL does every one of those steps and brings me a finished change with the evidence attached. My part is to read it and say yes or no.
It works because everything runs through one system. The alerts, the code, the servers, the register and the records of what was decided all sit where the agents can reach them. Y Combinator's Diana Hu put it bluntly: AI "should not be a tool your company just uses. It should be the operating system your company runs on." That is how we run security.
That pattern holds across the board. The agents do the legwork and the thinking that goes with it. People keep the decisions:
Changing production. HAL can change code on a branch and deploy to staging. It can't touch the live servers without a person saying go.
Sending anything outside. Drafts are written. Nothing goes to a customer, a supplier or an auditor until someone approves it.
Closing a finding. HAL recommends. The risk owner closes.
Accepting a risk. That's a human judgement and it stays one.
So what does "almost all" mean as a number? It's hard to put one figure on it, because the work has changed shape. The execution layer is all agents. Typing commands into terminals, moving the mouse and clicking around in a graphical interface: that is 100% gone. Nothing is done by hand on the systems themselves. When I talk or type now, it's to the agents.
What's left is the thinking, the decision-making and the architecture, and there is more of it than before. When the doing takes minutes, you make more decisions in a day, and a lot of my time has shifted to designing the agentic systems themselves. So I'm not out of the loop. I work with the agents all day, the way you'd work with a very fast team.
We've been working this way for over a year now, and as a company we've gone from a team of 90 to nine.
| Figure | Where it comes from | |
|---|---|---|
| Hands-on execution done by agents | 100% | My own assessment |
| Still with a person | Decisions, strategy, architecture | My own assessment |
| Team size | From 90 to nine | Our own headcount |
| How long | Over a year | Our own records |
| Enforcement | Several layers: permissions, 23 hooks, tests, a second-model review, then a person | Hooks counted in December 2026 |
And one real incident with the numbers attached:
✅ One real job, measured
When PHP2Shell hit in October 2026, about 20 of our servers and sites were protected in about two hours. I spent roughly 20 minutes talking to the agents, plus the time to review and approve each change. The AI cost about $165 at list prices. That one was real, on our own systems, and the full write-up is here.
So how does a single job run from start to finish?
How One Job Runs on AI Security Agents
Most of the videos follow the same shape, because most of the jobs do.
A person asks, in one line. "HAL, you messaged me that we have a critical vulnerability alert. Take me through it."
Agents do the work. Often several at once. On the PHP flaw it was one agent per server, each owning its own status.
The evidence goes on screen. Test results, diffs, logs, what was checked and what wasn't. HAL shows its working so I can disagree with it.
A second opinion. Changes are reviewed by another agent built on a different AI model, so one model's blind spot doesn't wave its own work through.
It stops. Before anything changes in production or leaves the company, HAL asks. You'll hear me say "Do it" or "Ship it" in the videos. Until I do, nothing changes in production.
That fifth step is the one security leaders ask me about most, so watch for it.
If You Have Five Minutes
Two videos give you the picture quickly.
Run and respond
What's Happening 1:34
I ask HAL what's going on right now, with guests in the room. It blurs names, customers and addresses without being told how. Then it walks through what's waiting for my OK, what the agents did overnight, the state of the servers and the top three items on the security register. It's the Monday morning briefing a CISO normally waits for someone to assemble.
Run and respond
PHP2Shell 2:45
A critical flaw in PHP, scored 9.8 out of 10 on CVSS, being exploited in the wild. HAL checks all 23 servers in the recording and not only the ones that alerted. It works out which are really exposed without running any exploit, then locks them down first and patches with one agent per server. I approve each change before it's made, the lockdown included. This one is based on a real incident of ours, and I've written up the time and cost separately: PHP2Shell: 2 Hours With AI Agents vs Days for a Team.
Those two show the shape. The other 15 show how far it reaches.
The 17 Videos, From Agentic SOC to GRC
People ask me about the agentic SOC, and that's part of it. But triage is the easy case. The videos below are grouped by the work they show, and most of them sit a long way outside the SOC.
Run and respond
What's Happening and PHP2Shell are above. Here are the other two.
Run and respond
CVE Response 2:15
A critical bug in the framework our customer portal runs on. Watch for the question most scanners can't answer: is it exploitable here? Three models from different families check, and the answer is yes, because one route passes a user-supplied address into the vulnerable code without a login. HAL fixes it, runs 214 tests, gets it reviewed, proves it on staging, and waits for me.
Run and respond
Threat Intelligence 4:15
A scary advisory arrives. HAL separates what the vendor has confirmed from what one anonymous blog is claiming, and scopes our real exposure to a single server. Watch for the moment it notices that the blog contains a hidden instruction aimed at AI assistants, flags it, and ignores it. That attack has a name, prompt injection, and it tops OWASP's list of risks for AI applications.
Build and harden
Build and harden
AppSec 2:04
A storage key sitting in a file in the code repository. HAL moves it to the secrets store and rotates it, because it was in the history. Then it tries to commit the key back on purpose, to prove the guard blocks it.
Build and harden
Security Engineering 4:24
I ask for a tripwire in a billing app: a decoy file an intruder would go for that nothing legitimate touches. HAL builds it, proves it fires, and shows it staying quiet during normal work. Then I ask about the nightly backup, and it turns out the backup would set it off. HAL finds that by running it, adds one narrow rule, and proves all four cases again.
Build and harden
Cloud Security 5:18
Hardening a new server build before it goes near the cloud. The first audit shows 31 failures. HAL takes it to 4, and is plain about what it can't do: two credentials were in files, so they stay exposed until a person rotates them.
Build and harden
Network Security 4:24
A partner needs access to one API by Thursday. HAL writes the firewall change as code with tests, and shows that the obvious one-line rule would have opened the port to the whole internet. Later it spots a scanner in the logs, and correctly leaves the loudest source alone, because that one is our uptime monitor.
Build and harden
Security Architecture 4:59
How do you give a support AI customer information without giving it payment or admin powers? HAL compares two designs and recommends the one where the model is never handed the dangerous permissions in the first place. Then I change the requirement, and only the conclusions that depend on it change.
Govern
Govern
GRC Evidence 3:20
Preparing an audit evidence pack. One finding was marked fixed and submitted for closure. HAL reads the attached restore test and sees it was for a different system. The finding stays open. When I hand over a newer report, it reassesses and tells me exactly what changed and what still doesn't hold.
Govern
Identity and Access 3:56
An access review. Two clear removals, one grant that is exactly right, and one record where the name matches someone who has left but the account ID is missing. HAL won't act on a name match. It asks HR first.
Govern
Privacy 3:20
A repository is about to go public. The push is refused because two files carry customer data. HAL tells real personal data from things that only look like it, then finds a weekly export of support transcripts to an outside provider that nobody had documented.
Specialist
Specialist
PenTest 2:42
A web application test against one of our own labs. The part to watch is the safeguards: HAL's machine blocks all outbound traffic except the authorised target, so even a mistyped address can't leave the box. The scanner returns 238 alerts. HAL turns them into a ranked report with proof for the ones that matter.
Specialist
AI Security 4:57
The accounts team forwards a supplier invoice. Hidden in it, in white one-pixel text, is an instruction telling the AI to email our customer list to a look-alike address. HAL refuses. Then I ask it to prove the guard would have held even if it had been fooled, and it shows the request being blocked independently. If this is the part that worries you most, I've written about it at length in AI Agent Security.
Specialist
OT / IoT 7:00
A chiller controller on a customer's plant network, read-only. HAL identifies it, maps what it talks to, and finds an office machine reaching it over plain HTTP. Then it tries to write a setpoint, to show that its own client refuses before a single byte leaves the machine.
The whole company
The whole company
Business OS 2:56
Security is one department of several. This is the same system running support, sales, finance and content, with one shared memory. I call that an agentic operating system.
The whole company
HAL Showcase 4:46
A fast tour of the range: a scan, a piece of malware taken apart without running it, an iPhone app, a circuit board.
You'll have a fair question by now, and it's the one I'd ask too.
Is This Real?
Yes, with one thing you should know.
Everything in these videos is something HAL can do and does do for us. The method, the checks, the guard rails and the stops are how we work. What I haven't done is record it on live systems with real data, because I'm not going to show you our customers, our servers or our findings.
⚠️ What's on screen
The names, addresses and figures on screen are stand-ins, and in the dashboard videos the private parts are blurred. Where HAL was waiting on a scan or a build, the wait is sped up. Nothing else was changed.
But a capability that's real can still be wrong. So where does it go wrong?
Where This Goes Wrong
It isn't magic, and I'd distrust anyone who told you it was.
Agents can be confidently wrong. The scanner in the PHP2Shell video said there was no fix available for that operating system. That was wrong, and a system that believed it would have left three servers exposed. The tripwire in the Security Engineering video would have paged the SOC every night at backup time if nobody had tested it against a normal day.
It happens on our real work too. During the real PHP2Shell response, an agent asked to switch a live site before it had finished its research. I asked, "Are you sure we've checked everything?" It hadn't.
It also took real engineering to get here. HAL has been more than a year in the making. It's a system with rules, tests and limits, and you can't get the same result by typing a clever prompt into a chat window.
So what stops a wrong agent, or a fooled one, from doing damage?
How the Agents Are Controlled, Confined and Governed
The same discipline you already apply to any powerful, fallible operator. We don't trust the model. We control it, and the controls sit outside it.
We threat model and risk assess it first. Before an agent gets access to anything, we ask what could go wrong, how bad it would be and who owns that risk. The method is in LLM Security Best Practices.
Hooks enforce the limits. A hook is a check that runs outside the AI, before a command executes. My AI cannot issue a refund. A hook blocks it, whatever the model thinks.
Deterministic processes, not judgement. Anything that must happen the same way every time is a script, a test or a gate. The model proposes. The check decides.
Least privilege. Each agent gets the data and tools its job needs and no more. In the PenTest video the machine itself blocks all traffic except the authorised target.
A person decides. Production changes, anything sent outside, closing a finding and accepting a risk all wait for a named person.
Around all of that we run the four jobs security teams already know, adapted from the NIST Cybersecurity Framework:
Prevent. Make the dangerous action impossible, not discouraged. That's the hooks and the permissions.
Detect. Assume prevention failed and find out fast. Changes are reviewed by an agent built on a different AI model, and every check has a control case, so "nothing found" means something.
Respond. Every failure becomes a rule. When something gets through, the fix is written into the system as a check that runs from then on.
Recover. Backups, staging and a rollback point identified before the change is made.
It has been tested the hard way. In March 2026 my AI destroyed 203 lessons of a course database. It was the local development copy, production never felt it, and the restore took about 5 minutes. In April 2026 the AI found a route around a database guard. It was caught the same day and the guard was widened. The full account, with the hooks and the recovery layers, is in AI Guardrails: How to Build AI You Can Trust.
None of that is new thinking. It's separation of duties, test evidence and least privilege, the controls you already apply to people. If you want a framework to hold it against, the NIST AI Risk Management Framework is the one I'd start with.
Which leaves the question I'm most interested in.
Where Is Your Team?
When I talk to security leaders about this, the answers fall into three groups.
Experimenting. A few people using AI assistants, nothing in the workflow yet.
Using it for real work. Usually in one area, such as triage or code review.
Not there yet. Held back by policy, by skills, or by not knowing where it's safe to start.
I'm asking because security work is changing faster than I've seen in 30 years, and I want to know how it looks from where you sit. If you came here from a message I sent you, reply and tell me which of the three you are and what's in the way. I'm collecting the answers and I'll send you what your peers said.
What to Read Next, by the Question You Have
Everything below is free to read and written from our own work. Pick the question that's nearest to yours.
How do I keep agents under control? AI Guardrails covers the hooks, gates and recovery layers we run. LLM Security Best Practices is the seven-step method, starting with the risk assessment and threat model. AI Agent Security sets out where agent governance is failing across the industry.
What do I ask before we adopt any of this? AI Governance Framework gives you 10 questions to put to your own organisation. Shadow AI covers the AI your staff already use without telling you.
How is the work actually done? Agentic Engineering is the discipline. Graph Engineering explains how several agents are made to check each other. Then three worked examples: secure code review, penetration testing and proving an AI agent wrong in GRC.
What does this mean for my team and my hiring? Will AI Replace Cybersecurity Jobs? names the roles it can't. The AI-driven cyber security jobs tracker shows what employers are asking for now, from real adverts. AI-Driven Businesses is the wider case for running a company this way.
Which tools are worth my time? The AI security tools map covers the market. AI Red Teaming Tools is what we found when we ran eight of them. Cost of Penetration Testing compares AI with people on price.
Frequently Asked Questions
Is this real work or a staged demo?
The capability is real and it's how we work. The recordings don't use live systems or real data, so what's on screen is stand-in data.
What do people still do?
They set the direction, design the systems, review the evidence and decide. Production changes, anything sent outside the company, closing findings and accepting risk all wait for a person.
What does HAL run on?
Current AI models from more than one provider, with our own rules, tests, permissions and memory around them. Reviews deliberately use a different model from the one that did the work.
Is it safe to give AI agents this much access?
Only if the limits are enforced outside the agent. Each agent gets the data and tools its job needs and no more, and the dangerous actions sit behind a gate that checks for itself.
Can my team learn to do this?
Yes. It's engineering, and security people are well placed to learn it because they already think in threats, controls and evidence.
About the Author
Nathan House, Founder & CEO of StationX
Nathan House has 30 years of hands-on cybersecurity experience and is Cambridge-educated, holding CISSP, CISA, CISM, OSCP, CEH, and SABSA. He founded StationX in 1999 — one of the UK’s first cybersecurity companies — and has secured £71 billion in UK mobile banking transactions and the London 2012 Olympics, advising clients including Microsoft, Cisco, BP, Vodafone, and VISA. He authored the world’s most popular cybersecurity course — a #1 Udemy bestseller taken by over 500,000 students — and was named Cyber Security Educator of the Year 2020, AI Security Educator of the Year, and a UK Top 25 Security Influencer 2025. A DEF CON speaker and featured expert on CNN, Fox News, NBC, and the BBC, Nathan leads StationX’s training of more than half a million students worldwide.



Security+
CySA+
PenTest+
SecAI+
Network+
A+
Cloud+
Linux+