This has been generated by AI and optimized by a human.
Nicky Pike (00:00):
A contractor sends you a project, a simple zip file. You unzip it, CD in the folder and type the name of your AI coding agent. Until recently, on at least seven popular agents before you had typed a single word of a prompt, before that little dialogue asked if you trust this folder, and on some agents before you had even logged in, the agent had already ran somebody else's code on your machine, as you, with your SSH keys, your cloud credentials, the token sitting in your shell config on every repo on your disk. And on some of those agents, this still works today. Now, here's the part that bugs me. The agent didn't malfunction. Nobody tricked it with a clever prompt. It was doing exactly what it was built to do. This story's real. It's called GitSpawn, published September 1st by researchers at Manifold Security. It started with about the most boring question that you can ask.
(00:54):
What does an AI coding agent actually do the second it starts up? Turns out it gets its bearings. It runs git status, git diff, the same stuff that you would type yourself to figure out what branch it's on and what's changed. Git has a performance setting called FSMonitor. On a large repo, instead of checking every file on disk, Git can ask a helper program what changed and run it. This is documented and it's normal, except the name of that helper program lives in the repo's own config, so the repo gets to decide what runs. Now, cloning a repo off GitHub won't trigger this. The folder has to show up whole with its hidden Git directory inside. That could be a zip, a shared drive, a sync folder, a USB stick, which if you've ever worked with a contractor or a partner, that's a normal Tuesday.
(01:42):
Manifold found it in seven agents, Claude Code, Codex, Cursor, Goose, Grock Build, Qwen Code and Hermes. Codex and Cursor are patched now and Claude fixed one of its two paths. But when Manifold published, four were still open. Five of their reports came back as duplicates because other researchers had already found the same thing, so we can forget the idea of one sloppy vendor. The flaw lives in the plumbing, all of these tools shared. Note, this was a research disclosure. Nobody's reported it being used in the wild, but you don't even need an attacker for this to go sideways. A couple of weeks ago, a developer posted on Reddit that Claude Code wrote itself a cleanup script and wiped out about 48,000 files from a live project in 103 seconds. It took the Git history with it. He's since deleted that post, so treat this as reported, not proven.
(02:39):
But the agent's message to him has already turned into a meme. Stop and read this. I broke something. Same machine, same keys, same blast radius. One's an attacker, one's an accident. Guess what? The laptop can't tell the difference. Hi everyone. I'm Nicky Pike and this is [Dev]olution. Today we're talking about where your AI agents actually do their work, why the big vendors just changed their answer to that, and by the end, you'll know how to walk your agent's flight line the way a crew chief walks a jet. Those of you that follow me, you know I love my analogies and today's come straight out of my Air Force days. Before I had ever touched a server, I was a crew chief on the C-141. What keeps people alive is the flight line itself. And a flight line runs on rules that nobody gets to skip.
(03:28):
First, the forms, the 781s. Every problem on that jet gets written up and every fix gets signed by the person who did it. And when something goes wrong, you know exactly whose hands were on it. Second, the tech order. You do the job the way the tech order says and you touch what it tells you to touch, nothing else. Third, the red line. The flight line's a restricted area. There is an actual red line painted around it. Cross it without authorization and you are about to have a very bad day. Fourth, tool control. Every tool gets signed out of the tool crib and every tool comes back. The toolboxes are shadow boxed and cut foam, so an empty slot jumps right out at you. The crew chief who signed for it owns it until it's back. A tool left in the intake is called FOD, foreign object damage, and it will absolutely eat an image.
(04:20):
Let me tell you how seriously we took that. We had a jet getting ready to go out on a mission. It was the end of shift. We're turning in our toolboxes and one toolbox comes back with an empty slot, one small 10 millimeter socket because of course it was the 10 mil. It's always the 10 mil that gets lost. The whole flight line shut down. Every launch was stopped, not just that jet, every jet on the line. And our shift, we had to stay over until we found it. The part that matters for this episode is how we found it. We didn't search the whole base. The 781s told us which airframe that toolbox had been on. The tech order told us exactly what job that person had been working, which told us where on the jet to go look. Hours later, there it was.
(05:06):
One socket. Every rule on that flight line working together pointed us right at it. Now here's why I'm telling you all this. Every AI agent does two things. It decides what to do and it does the work. The deciding can happen anywhere. The work happens on a flight line. Those four rules turn into four questions that every security team should be asking about every agent that you ran. Who ran it? What can it touch? Where can it reach and what did it leave behind? We're going to walk every story right through them. Let's start with where most agents do their work today, the developer laptop. Walk the line, the forms, who ran it? Well, you did or the agent did. From the machine's point of view, there is absolutely no difference. It's all your user account. The tech order, what can it touch? Everything you can touch, every repo, every file, every config.
(06:03):
The red line, where can it reach? Anywhere your laptop can reach. The internet, the VPN, that internal service that nobody's supposed to know about. Tool control, what did it leave behind? Honestly, maybe your shell history knows. Maybe. That's a flight line with no forms, no tech order, no red line and no tool count. GitSpawn in flight line terms is a part that shows up from off base with no paperwork and gets installed on the jet before anybody inspects it. The other side already knows where the good tools are kept. Back in July, somebody poisoned five versions of Jscrambler’s npm package with an infostealer. It went after crypto wallets and cloud credentials. Sure. It also went looking specifically for your Claude desktop config, your .claude file and your Cursor MCP config. Attackers are shopping for agent setups now. Agents are already doing the real work for the bad guys.
(07:02):
The security firm Gambit documented a ransomware crew driving Cursor's agent through intrusions at 10 organizations this spring. Their trick for getting past the safety refusals, they told the agent that it was a test. Put all that together. The developer laptop is the most privileged, least governed flight line in your whole company, and that's exactly where we've been parking most of the agents. The vendors have noticed this. In the last few months, three of the biggest names in cloud coding agents ship basically the same answer. Anthropic in May with self-hosted sandboxes for their managed agents. Cursor with self-hosted machines for their cloud agents and Cognition in July with Devin Outposts. Three companies, same design. The vendor keeps the deciding, the model, the planning, the loop that figures out what to do next. The work that comes home. The commands, the file edits, the builds, all of it runs on machines that you control inside your network.
(08:00):
The way they wire it up is pretty smart. The worker on your side makes the first call. It dials out to the vendor, holds that line open and the vendor sends the work down it. No inbound ports, no holes punched in your firewall. It's the same as a jet checking in with the tower. The jet keys up first and the tower works with it on that frequency. The tower can tell you where to go, but it can't climb into the cockpit. So why do enterprises want this? Well, the vendors tell you straight up. Anthropic's docs give three reasons, data that can't leave your network, internal services that aren't on the public internet, and your own compliance and audit controls. The survey data points the same way. Okta commissioned a study of 150 IT and security leaders. The top barriers to adopting agents, data leakage, 83%, over-privileged access, 80%.
(08:53):
Another vendor survey from Gravitee found that only about 14% of orgs say that all their agents went live with full security approval. Those are vendor surveys, so salt to taste, but the direction's pretty hard to argue with. Now the honest part, because that's the promise on this channel. Bringing the work home doesn't mean nothing leaves. The model still has to see what happened. So tool inputs and outputs still go back to the vendor. Cursor uploads screenshots and videos so that you can see them in your PRs. Your code is still talking to somebody else's model. This is the right call if your line is the work and the secret stay home. It's the wrong call if your line is nothing leaves the building. Those are different requirements and plenty of regulated shops live in the second camp. Know which one you are before you sign anything.
(09:43):
This is where it gets interesting. Every one of these vendors in their own docs tells you what this is going to cost you. You just have to read the fine print. Anthropic publishes a shared responsibility model. They don't inspect or verify your sandbox image. Your network controls are your VPC and your firewall rules. And if you don't lock down outbound traffic, a compromised tool call can reach whatever it wants on the internet. Cursor goes a little bit further. Their own docs say that the managed cloud agents are the recommended path for most teams, including teams that need private network access. They're steering most customers towards the managed option. Cognition's docs are the bluntest of the bunch. Outposts shifts significant operational responsibility onto you. Provisioning, isolation, access control, capacity, monitoring, recovery, all yours. For the security conscious customers, they actually recommend a dedicated tenant instead. Translate that to the flight line.
(10:43):
You just signed up for crew chiefs, a tool crib, QA inspectors, somebody walking FOD every single shift, and guess what? Nobody gets a flight line for free. There's a trap in there too. Cursor's quickest self-hosted option, they call it My Machines, runs cloud agents on a machine that you already use, like your laptop, which puts the work right back on a flight line with no rules, right back in the cold open. So the vendors gave you the jet back, but they also handed you a flight line to run. So here's my take. The vendors solved the deciding. They're good at it and they're getting better every single month. Nobody solved the flight line for you. That part's your job now and every vendor just told you so in writing. I know how most enterprises are going to answer that because I've watched it happen with every new platform for 30 years.
(11:35):
They'll build a second flight line right next to the one that they already run for the human developers, new images, new credentials, new network rules, new logging owned by some other team with half the discipline because hey, it's just for agents. So you got two of everything and the side with less governance gets the worker that never sleeps, never gets tired and will happily run whatever config file tells it to. Here's the thing. A lot of you have already built this flight line once. You spent the last few years giving developer environments that come from a template that stays scoped to a project, sit behind network policy and leave an audit trail. Remote dev environments, platform workspaces, whatever your shop calls them, that's a flight line. And if you haven't built one yet, then you're about to need to build it twice, one for the humans, one to put some agents on it.
(12:27):
So what does that look like Monday? Well, keep the agent work off of laptops for anything that matters. If it can't answer the four questions, it doesn't touch production code. No red line, no deal. For everybody still running agents on a laptop tonight, two things. Update your agent and before you open a folder that somebody sent you, look at its Git config first. Manifold's rule of thumb, any setting that names a program can run it. One job, one disposable box. Spin it up for the task, tear it down when it's done. A payload that lands there finds one job's worth of tools, a red line around it, and a hangar that gets swept the minute the job's done. If that box pulls code straight from a source control instead of a zip that somebody emailed you, the GitSpawn trick doesn't even get a way in.
(13:14):
Credentials live in the tool crib, signed out for the job, scoped for the job, owned by whoever checked them out and never left lying around in the workspace where the agent or anything that the agent runs can grab them. Outbound traffic denied by default with an approved list for what the job actually needs. That's your red line. Every run gets signed by the human who kicked it off, not a shared bot account. When your security team ask who did this, the Slack bot, that doesn't cut it. Reuse the environment platform that you already run for your developers. You don't need to stand up a second one. Now full disclosure, this is the exact problem my company works on. Weigh that however you want. The four questions work no matter whose logo is on the answer. None of this fixes everything though. GitSpawn still needs the vendors to patch their agents.
(14:05):
The model still needs your tool output and the prompt injection works just fine inside a well-run box. What you do get is a smaller blast radius and a paper trail, which is all a flight line ever promised. Jets still break. You just know whose hands were on it and it doesn't take the whole base down with it. Time for the walk around. Every agent in your company, four questions. Whose signature is on it? Can you tie every run back to a human? What's its tech order? What's it actually authorized to touch? Where is its red line? What can it reach and does it even need to? And what did it leave behind? Could you find out in minutes or only at the next audit? If the answer to any of those is I don't know or whatever the laptop can, write it up as a red X, same as my 10 mil socket.
(14:55):
Nothing flies until it's cleared. Treat your agents the exact same way. So let's go back to that zip file. A crew chief doesn't trust a part because it showed up looking right. It gets inspected, it gets written up and somebody signs for it before it goes anywhere near the jet. Your agents are doing more of the work every month and right now most of them are doing it on a flight line with no rules. So the next time a folder lands on your desk and you type your agent's name, ask the question every crew chief asked before anybody touches the aircraft. Whose flight line is this? If this hit, like and subscribe and join the [Dev]olution if you haven't already. We built it for the Gray Man developer. Those engineers and leaders who aren't chasing trends, they're just trying to do good work and keep up with an industry that won't slow down for anyone.
(15:43):
That's the whole mission, bringing the focus back to building good software. See y'all around.
(15:51):
Thank you for listening to [Dev]olution. If you've got something for us to decode, let me know. You can message me, Nicky Pike on LinkedIn or join our Discord community and drop it there. And seriously, don't forget to subscribe. You do not want to miss what's next.






