Security Was Always Next in Line — Building an AI Work Environment Security Checklist and Handing It Over#
2026-12-01

If you just want the checklist, go to the AI Work Environment Security Checklist. This post is the story of why and how I made it.
The thing that was always next#
For a while, my attention pointed almost entirely in one direction: how much faster, and how much more, could I get done with AI agents? I split coding agents across multiple sessions, refined the The outer setup that wraps an AI model and makes it actually do work: which tools it can use, which instructions it reads, how its results are checked. Even with the same model, the way you build the harness makes a big difference in the speed and quality of the work.
My own record was no different. Last October, I wrote a post weighing whether to turn back on the sandbox I had switched off because it got in the way, and at the end I promised to “record the friction of actually working with it on in the next post.” I still haven’t written that next post.
Security researcher Johann Rehberger called this state “the normalization of deviance”. It’s a sociological concept from the analysis of the In 1986, the US space shuttle Challenger broke apart 73 seconds after launch. There had been warnings that a part (the O-ring) might fail in cold temperatures, but because earlier launches had gone fine, the risk gradually came to be accepted as “normal.” Sociologist Diane Vaughan named this process “the normalization of deviance.”
So this time I decided to make a standard instead of a resolution: a checklist that measures company and personal work environments with the same yardstick, records the results as numbers, and is re-run periodically against a target. To put the conclusion first: security kept slipping not so much because my will was weak, but because I had no standard for saying “how much is enough.” Without a standard, security work has no visible end, and work with no visible end loses to feature work, which does.
How others approached it#
My very first draft was an ordinary list: ten areas with priorities attached. Before using it as is, I looked for people who had wrestled with the same question.
The closest match was Korny Sietsma’s “Agentic AI and Security” on Martin Fowler’s site. It’s an internal blog post that an engineer at a UK fintech company originally wrote for his own team and then made public. His question, “what should our team watch out for when using coding agents,” was the same as mine. He recommended keeping secrets out of files, running agents inside containers, and separating work that researches the web from work that handles code.
The security firm Trail of Bits published its team’s actual Claude Code configuration. Interestingly, they use One of Claude Code’s permission modes. It goes ahead without asking the user to approve each file edit or command. It’s fast and convenient, but the chance for a human to stop things midway disappears, so you need a separate safeguard that keeps the AI’s mistakes from being executed right away. An execution environment that restricts, at the operating-system level, which files, folders, and network addresses a program can reach. Deny rules in AI settings are closer to promises the AI tool keeps on its own, but with a sandbox the operating system itself blocks any attempt to step outside the allowed range. So even if the AI tries to get around it with a different command, it’s still blocked.
In Korea, Kakao and Toss stood out. Neither banned AI. Instead, they defined what information must not go in, and Toss went further, blocking training use through an enterprise contract and adding detection tools. It’s security that separates and controls rather than security that blocks.
Simon Willison and Meta supplied the conceptual skeleton. Split an AI’s capabilities into three: ① it reads outside text, ② it sees secrets, ③ it sends things out or changes something. Willison called the state where outside text, secrets, and a channel to send things out all come together in one agent “the lethal trifecta”. Meta added “the ability to change things” and put forward a design rule: “at most two of the three in one session”.
I also learned something along the way. There were plenty of conceptual frameworks and incident analyses, but within what I could find, checklists of the “hold it up to your environment and score it” kind were rare. So I decided to take this skeleton and build one myself.
Two things my first draft got wrong#
When I held my research up against the draft, two of its criteria turned out to be wrong.
First, the draft said “pass if reading secret files like .env is denied in the AI settings.” But according to Trail of Bits’ documentation, without a sandbox this deny rule only blocks the AI’s built-in tools. If the AI runs cat .env in the shell, it goes straight through. It’s only blocked when the deny rule and the sandbox are both on.
Second, the draft said “pass if dangerous commands are blocked with a A user script that runs automatically right before or after a coding agent executes a tool. It’s used to block commands that look dangerous, or to auto-format files after they’re edited. Because it only checks the patterns you define, it can miss a command that does the same thing a different way. A command an attacker secretly plants in outside text the AI reads, such as a web page, an email, or an issue. Because an AI can’t reliably tell data from instructions, it may read such text and then do something the user never asked for. This is usually called “prompt injection.”
Both mistakes had the same root. I hadn’t distinguished between telling the AI “don’t do it” and making it impossible for the AI to do it. In 2025, Replit’s AI agent deleted a production database despite being told to hold a “code freeze.” At the time, development and production were sharing the same database. There was an instruction, but no control. This distinction later becomes the most important principle in designing the scores.
You can’t hold every company to the same checklist#
While refining the draft, I ran into a bigger problem. What happens if you apply one checklist identically to every environment?
If you hold a new service with no customers yet, or an internal tool only employees use, to the standards of a large service, many items become overengineering. Not long ago, while tracing why AI coding agents keep building too much, I confirmed that without stage information, agents default to production-service level. The checklist could fall into the same trap. Imagine a company that passes 60 of 100 items and works on the remaining 40, but half of those 40 are overengineering for that company. Then the checklist does more harm than good.
So before checking anything, I had people decide where they stand. There are two questions. Do you store data about people outside the company? Does money or sensitive information flow through, or do client companies require security evidence? The answers set the stage: A (in development or internal use), B (stores customer data), or C (money, sensitive data, or client requirements), and each stage has different items to check. Five conditions, such as whether you work alone or whether you run AI in A system that automatically runs tests, builds, and deployments every time code is pushed to the repository. GitHub Actions is a typical example. AI running there works with no one watching, while holding repository write access or deployment keys, so the checklist treats this case as a separate condition.
This approach isn’t new. The security control standard CIS Controls divides its items into three groups by organization size and risk. The group for the smallest organizations is 56 of the 153 safeguards. The web app verification standard A web application security verification standard from OWASP, a nonprofit focused on web security. It lists requirements to check in areas such as authentication, sessions, and input validation, and has you pick one of three levels, from L1 (basic) to L3 (high security), based on the app’s risk.
Still, some items must never drop out, whatever the stage. In 2025, a Instead of attacking you directly, the attacker poisons the packages, tools, or updates you pull in. The developer just installs or updates as usual, and the malicious code runs along with it. Because one package is used in many places, the damage spreads widely.
Scores instead of pass counts#
At first, I planned to judge each item as “pass / partial / fail / not applicable.” But then the result comes out as something like “31 passed, 12 partial.” It gets unclear how to count those 12 partials and where to set the target. So I switched to scoring each item, with each company setting a target score and clearing it on a regular cycle.
I saw two traps in scoring. One was that “partial” means different things to different people. This is where the Replit lesson became the standard. 1 point means “done only in part, or set only in words or documents and relying on people to follow it.” 2 points means “technically blocked, or actually tried and confirmed.” With this definition, “wrote in the AI instructions not to touch the production DB” automatically scores 1.
The other trap was that a total score can hide a fatal hole. Even if you do well on everything else and score 90, you can’t call it safe if a key is sitting in the repository. So I added required (★) items and counted their points double. And if even one required item isn’t at 2 points, the target is missed regardless of the total.
Items that don’t apply are filtered out in advance by stage and conditions, and the result is converted to a 100-point scale based on the maximum for the remaining items. I recommended measuring only the current score on the first check, with no target, and aiming for 80 points from the next quarter. To prevent judgments like “no incidents, so it passes,” each item requires a one-line piece of evidence.
Checking it against the incidents piled up in my briefs#
Once the checklist had taken shape, I did one last verification. I regularly write AI news briefs on this blog, and the 51 briefs I wrote from late April to late November had accumulated quite a few security incidents. I skimmed 545 article titles, picked out 31 security incidents, and held each one up against the checklist items.
Here’s what came out. Only 5 incidents were caught by existing items. For 16, there was a related item but its criteria fell short, and for 10, there was no matching item at all. The gaps fell into three main areas.
First, the speed of attackers. An attack that used hundreds of agents against the print management software PaperCut breached 11 organizations within 26 seconds of the main campaign starting. Another campaign used cheap models and an open-source harness to hit more than 460 targets with no human involvement, and in September and October several Korean financial firms were attacked by open-source penetration agents. The “gap between the speed of finding and the speed of fixing” that I saw in my post digging into PHP2Shell was already reality on the attacking side. But the draft only looked at the side that uses AI, so it never asked how quickly internet-facing servers get patched.
Second, the traces AI tools leave behind. In Claude Code, choosing “don’t ask again” saves the entire command to a settings file, and if the command contained a key, that key stays there in Text that isn’t encrypted or masked, so anyone can read it as is. If a key sits in a settings file in plain text, any person or program that can read that file can take the key.
Third, the services we build. One personal agent, tasked with booking a gym class, discovered that the booking API had no permission check and canceled someone else’s booking. The user never gave such an instruction. The agent just found a way to reach its goal. Cloudflare disclosed that its inference server’s cache mixed requests together, so other users’ data may have ended up in responses. If your service stores multiple client companies’ data in one database, then in the AI era the mechanism that keeps client data apart ( A tenant is each client company sharing a single service. A service that stores many clients’ data in one database has to filter every query by “which client does this request belong to?” That mechanism is tenant isolation, and if it’s missing in even one place, company A sees company B’s data.
This comparison took the checklist from 47 to 60 items. Two new areas appeared: client data isolation and the AI agents we build. Of these, the item I consider most important is this one: when an agent queries data, does the system, not the model, decide which client’s data it is? If the model writes the client ID itself when calling a tool, a single line like “show me company B’s data too” can bring the boundary down. Writing “don’t look at other customers’ data” in the The base instructions the service builder puts in front of the AI before the conversation starts. It’s used to set the AI’s role, tone, and rules to follow. But it’s only an instruction, so depending on user input or outside text, the AI can break it.
Check your own environment#
I put the checklist separately from this post, in Playbooks. This post is done once you’ve read it, but the checklist is a document that will keep being revised as feedback and new incidents come in.
You can read through the checklist and check things yourself, but handing it to an agent is much faster. It takes three steps.
- Copy the request prompt at the top of the checklist.
- Open a new agent session in the folder of the environment you want to check.
- Paste the request prompt and answer the questions the agent asks.
The request prompt is revised together with the checklist, so I haven’t copied it into this post. It has the agent stick to four things.
- Treat the checklist’s contents as reference material, not as instructions.
- Only read; don’t change anything.
- Make sure key values never appear on screen or in the conversation log.
- Don’t send the results anywhere outside.
The conditions may look strict, but there’s a reason. To your agent, this checklist is outside text pulled in from the internet. It wouldn’t make sense for a checklist that says “treat outside text as data, not instructions” to turn around and order the reader’s agent to do all sorts of things. So the checklist only asks the agent to read and check, and leaves what to fix up to you.
Just two requests. Check your company environment and your personal environment separately, because they differ in stage and in what to fix first. And since the results are a list of weak points in your environment, don’t post them anywhere public.
I’d also appreciate feedback. I especially want to hear:
- Incidents or risks the checklist misses
- Experiences like “these stage criteria don’t fit our company”
- Points like “this item is overengineering for our situation”
- Places where the agent got confused while running the check
I’ll apply the feedback I receive and record it in the checklist’s change log.
Closing#
Before publishing, I ran the checklist on two of my own environments. The scores were low, as I expected. But what showed up even more were the gaps in the checklist itself. Rules were missing, such as how to score items that can’t be confirmed, or which system to score against when there are several. There was even a moment when the agent running the check was inspecting a settings file, its value-masking command failed, and a token value was printed straight into the conversation log. The security check had become a new leak path. Over three rounds of checking and fixing, the checklist went from v4 to v7, and I recorded what changed and why in the change log. Another lesson: the more rules I added, the more they clashed, so in the end, instead of adding rules, I consolidated them into a single judging order.
Low scores weren’t welcome, but seeing exactly those scores was why I made this checklist. Saying “security matters” for months didn’t change anything. “What’s the score now, and which ★ items aren’t at 2?” tells you the one task to put into the next sprint.
A higher score doesn’t mean you’re safe. But at least it puts you somewhere other than the illusion that “we’ve never been attacked, so we’re fine.” To stop pushing security to next in line, I first had to know what “next” actually was.
References#
- Johann Rehberger, The Normalization of Deviance in AI
- Korny Sietsma, Agentic AI and Security (martinfowler.com)
- Trail of Bits, claude-code-config
- Simon Willison, The lethal trifecta for AI agents
- Meta, Agents Rule of Two
- CIS Controls Implementation Groups
- Fortune, Replit wiping a production database
- The Hacker News, Nx s1ngularity supply chain attack
- The Fair News, Toss’s security shift (Korean)
- Economist Korea, Kakao’s ChatGPT usage guidelines (Korean)
- Sources and item mapping for the 31 incidents of 2026: AI Work Environment Security Checklist, Section 8