All Command Papers
The Command Papers
December 3, 2026
A Legion Command Paper

When Attack Becomes Cheap, Deployment Has to Change

Cheap AI attacks land in the gap between finding a flaw and safely fixing it. Rich Seymour argues buyers should fund and rehearse ways to restrict exposure while the work keeps running.

Published
December 3, 2026
Read
12 minute read
Listen
minutes
Download the PDF

An advisory goes out on a logistics application that tracks parts and shipments for a defense program. The flaw lets an outside attacker take the application over, and the vendor's patch is weeks away. The application runs on an operating system certified years ago, the depots are in the middle of a surge, and nobody will risk an untested change this week.

Owners of systems like this could once assume few attackers would spend weeks on software that obscure. AI agents are removing that assumption.

Buyers are betting on faster delivery, faster discovery and faster fixes. From the outside, it is hard to tell whether that speed is closing exposure or creating more of it. Attackers now routinely exploit flaws before a patch exists, and some systems will not take a patch when one arrives. A defense that depends on winning that race lets the attacker set the clock.

Defensive optionality is the ability to change a system's exposure and authority while the work that matters keeps running. Segmentation, least privilege and continuity planning are familiar moves. Defensive optionality moves the decisions behind them to the point of purchase. The buyer decides which connections and permissions can be cut, pays to keep that option ready, and sees proof of which work keeps running when it is used. That holds for aging systems in the estate as well as new ones.

The Advanced Part of the Advanced Persistent Threat Got Cheap

Defenses sized for casual attackers now face patient ones.

Attacks have always been priced in time. Someone has to map the network, find the weak point, write the exploit and keep going when the first attempt fails. That cost sorted attackers into two groups. At the bottom were automated kits, which worked because machines on the internet looked alike and one exploit for one service landed nearly everywhere. At the top were nation-state teams that could spend months on a single target. Computer scientist James Mickens summed up the defender's position in 2014: you are either up against Mossad or you are not, and if you are, there is little you can do. [1] Ordinary defenses were built for the second case, because few patient experts would bother with a billing system or a parts database.

That line is wearing down. Patience used to be the expensive part, the weeks spent reading code, testing guesses and chasing leads that go nowhere. An agent does that work without getting bored, and the person directing it only steps in at the decisions that matter. Ross Lazerowitz, cofounder and CEO of Mirage Security, titled a 2026 essay on the shift "Everyone Is Mossad Now." [2] Agents are already being used this way. In a 2025 espionage campaign Anthropic documented, software carried most of the work and people made a handful of calls. [3] That campaign was clumsy, and the next ones will be better.

That labor now has a price, and the price keeps falling. Writing a working exploit for a kernel flaw used to take a specialist weeks. Automated pipelines now turn them out by the hundreds. In one OpenAI research run, 948 working kernel exploits averaged about $1,280 each in computing. [4] They still need a foothold on the machine first, but the slow, expert step can now be bought. The top end rose too. Intelligence services use the same tools, and a model company's safeguards bind only the models it serves.

Smaller software vendors start this contest behind. Large platform companies spend heavily on finding their own flaws first, and it shows in how rarely their bugs are exploited at scale. A mid-sized vendor may have a fraction of that budget and a product that sits inside defense programs, hospitals and factories. The logistics application is that kind of product, built for an attacker who would not bother. That attacker is getting harder to find.

Generated Software Adds Access Faster Than Anyone Can Review It

Every new connector and agent adds credentials and access paths that need checks of their own.

Generated software is the second pressure, and it lands on the defender's side. A contracting officer at the program office wants shipment status in a weekly report. Someone asks an AI coding tool for a connector that pulls the application's records into a dashboard. By the end of the afternoon, the connector works in the demo.

The demo shows the code runs, which says little about whether it is safe. Code review queues were losing that race before AI arrived, because engineering teams already wrote more code than anyone could read. Now one engineer can submit something like ten times as much, having directed the gist without reading every line.

When context windows were small, generated code was often incoherent and full of obvious bugs that review caught. Today's code compiles and works on its own terms, and a sizable share of it still carries a well-known class of security flaw. The harder flaws to catch break the system surrounding the change, because the constraints that matter live outside the changed code.

The riskier connector flaw is missed by code scanners. It needed an account to read shipment records, and the account it was given could also change them. Nobody asked for that, and the generated tests never check it. A test that confirms the dashboard can read a record does not show that an attempt to change one will be refused.

Now multiply the connector by every team generating its own tools and agents, each with its own credentials and its own owner, or none. Nobody can review that sprawl one connector at a time. A shared enforcement layer for permissions, approvals and audit cuts the duplicated checks. It also becomes a shared failure point, so its administration has to sit apart from the applications it governs.

Defenders have the same tools. Red teaming is common in federal programs, mostly because compliance requires it, and underused in commercial ones, even where downtime or a breach would cost far more than the exercise. AI makes it cheaper for both, and teams can now run much of it themselves. The hours AI saves should go into checking what the new connector can do before anyone builds the next one.

Systems That Cannot Be Patched Need Restrictions Decided in Advance

Exploitation can start before the fix exists, and some systems will not take the fix when it arrives.

The opening advisory is the ordinary case now. The patch is weeks out, and attackers will not wait for it. Mandiant estimates that flaws are now exploited, on average, seven days before a patch is available. [5] Some systems could not take it this week anyway. Aging applications, appliances and operational technology like the logistics application persist for good reasons, and protecting them cannot wait for their replacement.

Networked industrial controllers make endpoint maintenance look straightforward. Some run software that has never been patched, with default or unchangeable credentials and protocols such as HTTP, FTP and Telnet that send everything in the clear. Many are one of a kind, expensive and proprietary. The control units may sit apart from the machinery, but no backward-compatible replacement exists to move to. For many of these systems, there has been no good answer.

Obscurity used to cover part of that gap, because reverse engineering a firmware image took scarce skill. That cover is thinning as AI gets better at disassembly, and the same capability opens a narrow door for defenders. Hobbyists already use AI to rewrite firmware in cars and music gear that are smart but not smart enough to be updated, and the practice may reach industrial and military systems. Altering certified firmware carries its own risk. Still, a device that can never move from HTTP to HTTPS might have an unused port switched off in its firmware instead of blocked at a firewall, which removes the path outright.

Salt water reaches every exposed surface on a ship and works into every crevice it can find. Attackers behave the same way. Taking a system off the internet removes one surface, and the pressure moves to the maintenance laptop, the removable drive and the local login. Every restriction leaves some path open, so every restriction needs an owner and a rehearsal.

The question for the logistics application is what can be taken away safely, and when. Standing restriction removes authority by default. If the dashboard connector's account can only read, it cannot be used to change a shipment, whether or not anyone has heard of the exploit. Triggered restriction applies when an advisory, an anomaly or a supplier's own compromise reveals a problem, and it has to be rehearsed so it works the day the advisory lands.

Log4j and PHP2Shell showed what happens without that rehearsal. In both cases, the first scramble was inventory, answering the question every incident starts with: are we affected? A shop that wrote no Java could reasonably assume Log4j had nothing to do with it, then find the library inside the third-party tracing software its requests passed through. Teams spent days learning what they ran before they could fix any of it.

A restricted operating state is the configuration a triggered restriction moves a system into, removing specified access while named tasks continue. For the logistics application, that might mean suspending outside access and keeping a read-only copy of shipment records, refreshed every few hours. Depots still see where their parts are, a few hours behind, and changes go through a backup procedure. Each trade gets an owner and a review date so temporary protection does not become permanent neglect.

Controls Count Only If They Survive the Compromise They Contain

Several controls provide little independence when one compromised administrator can disable them all.

Defense in depth assumes controls fail independently and all still answer to the defender. As a counterexample, suppose the attacker who exploited the logistics application also holds an administrator account. The network boundary, the access policy and the audit service around the application look like three layers. If that one account can change all three, they are one layer with three dashboards, and the tools that manage the defenses become the shortcut through them.

Assuming compromise means planning around the credential that is already lost, so the access that caused the trouble cannot undo the fix. The Defense Department's 1985 Orange Book asked for a mechanism that mediates all access, resists tampering and is small enough to analyze and test. [6] The test still applies: find the mechanism carrying the security claim and examine what it depends on. Diversity helps for the same reason. An estate where every last boundary answers to the same identity provider fails all at once. Separate trust domains cut that shared failure, as long as the team can still test every configuration it creates.

AI agents need the same treatment. An agent that answers questions about shipments must never gain permission to call a tool from text it reads in a record or a ticket. Each tool call needs its own authorization, enforced outside the model so it holds when the model misreads what it sees. Injected text can still steer an agent toward tools it is allowed to use. Simon Willison calls the mix of private data, untrusted content and outside communication the lethal trifecta. [7] Workflows that combine all three need explicit permission boundaries, with human approval where the stakes warrant it. Separating access to untrusted content from the authority to act is assume-compromise applied to the agent itself. An agent can also do damage with no attacker involved, the case Daniel Suitor takes up in Your Insider Threat Program Does Not Cover Your AI Agents.

Deployment Choices Must Be Tested Under the Restrictions They Promise

A restrictive configuration earns its cost only when operators can maintain it and still finish the work.

Deployment choices assign responsibilities. Location alone does not settle who can reach the data, who can change the controls or how service is restored, and neither does the ability to run the same software somewhere else.

A successful demo can hide a lot. If the vendor's remote administration is suspended, someone still has to install updates and diagnose failures. If the application checks its license or signs users in through an outside service, that service may decide whether the depots can work at all.

A restriction exercise reveals what the demo may hide. The exercise puts a deployment into its restricted operating state before it goes live, with representative data, and checks that the named tasks still finish. Supplier and buyer first agree on the task that must continue, the acceptable interruption, the actions that must be refused, and who controls the restriction. For the logistics application, the team cuts outside access and confirms the depots can still find parts in the read-only copy. Then it tries to change a shipment with the connector's account, confirms the attempt is refused and that someone sees it.

The restriction's own controls get the same test. Using the compromised role, the team tries to reverse the restriction, bypass it or misuse it to disrupt service, and records what is denied, allowed and logged. Restriction does not remove an attacker already inside, so the team hunts for persistence and rotates exposed credentials before reconnecting. Where a live test is unsafe, as on much industrial equipment, a staged or tabletop exercise stands in. A failed exercise changes the acquisition decision: revise the design, or accept that the work stops under those conditions and fund an alternative.

Defensive Optionality Belongs in the Selection Criteria

When exploitation comes before safe repair, the ability to keep essential work running under tighter restrictions has to be funded and tested before an incident.

Defensive optionality works like a financial option, with the premium paid before anyone knows whether it will be exercised. Here the premium is engineering, a rehearsed restriction, contract terms and sometimes an integration people would have liked to keep. Specifying restrictions at procurement lets the buyer price that work and assign it to the supplier before an incident narrows the choices. Like any option, it carries the right to act without the obligation, which makes sense for any organization that depends on software it cannot patch quickly.

Had the program office bought the logistics application this way, the narrow connector account, the read-only copy and the rehearsal would already be in the contract instead of improvised after the advisory.

Legion Intelligence's software is one example of designing for restricted operation. Its agents carry out defined steps through enumerated tools, with permissions enforced outside the model and bounded by the user's authorized access. Nick Weir lays this out in Agentic AI Security Is an Architectural Decision. The same software runs in cloud, on-premises, air-gapped and edge environments, including a U.S. Department of Energy national laboratory and Centurion by Legion Intelligence, a deployable edge system for DDIL operations. Disconnected Is the Baseline makes the case for designing for denied conditions first. None of that shows a specific workflow keeps running when supplier access or outside identity is cut, and it leaves open who administers the enforcement layer itself. A buyer should run the restriction exercise against Legion as against any supplier.

Containment Is Now a Deployment Requirement

Faster discovery shrinks the gap between finding a defect and safely deploying its repair, and no amount of speed closes it.

Containment now belongs beside features and price in every deployment decision. Cheap attacks can't be stopped with speed alone. What matters is what the system looks like in the meantime, starting with how much an attacker can reach and how quickly service comes back. For the logistics application, and for every system like it that cannot be patched this week, the questions are what can be disconnected, which credentials can be narrowed, what work can't be disrupted, and when the organization last tried it.

References

  1. James Mickens. "This World of Ours." ;login:, USENIX, January 2014.
  2. Ross Lazerowitz. "Everyone Is Mossad Now." September 13, 2026.
  3. Anthropic. "Disrupting the First Reported AI-Orchestrated Cyber Espionage Campaign." November 13, 2025.
  4. OpenAI. "A Thousand Fewer Paths to Root." November 4, 2026.
  5. Mandiant. "M-Trends 2026." Google Cloud, March 2026.
  6. U.S. Department of Defense. "Trusted Computer System Evaluation Criteria, DoD 5200.28-STD." December 1985.
  7. Simon Willison. "The Lethal Trifecta for AI Agents: Private Data, Untrusted Content, and External Communication." June 16, 2025.
How to cite

Author, “Title,” Legion Command Papers, date.

Rich Seymour PhD
About the author

Rich Seymour is a Staff Software Engineer at Legion Intelligence. He has over 15 years of experience spanning machine learning, cybersecurity, and systems engineering, and has held engineering and research roles across startups and established organizations like Endgame, CrowdStrike, RunSybil, and Atalanta. He holds a PhD in Materials Science and an MS in Computer Science from USC, and is passionate about Rust, AI security, and building safe, high-performance systems.

About the author

Questions readers ask

Does defensive optionality require an on-premises or disconnected deployment?

No. Cloud, on-premises, air-gapped and edge configurations each carry different dependencies and support costs. A managed cloud service can be the stronger choice when its controls, patching and recovery exceed what the buyer can sustain locally. Require each supplier to demonstrate the restrictions needed in the configurations under consideration, including which tasks continue when external dependencies are unavailable.

How should restriction exercises fit into accreditation or security review?

Restriction exercises serve as evidence for the configuration under review. Document the boundary, shared dependencies, forbidden actions attempted and the conditions under which the result holds. An exercise supplements the authorizing official's requirements under the Risk Management Framework. It does not confer approval or establish compliance on its own, and relevant changes need reassessment.

What should procurement require from suppliers?

Procurement should require testable acceptance criteria for each restricted operating state, covering the work that must continue, who authorizes a transition and what evidence permits reconnection. Put support and exercise costs in the contract, and hold every supplier, Legion Intelligence included, to the same exercise. A right to operate locally means little without staff and procedures to use it.

How does this compare with buying AI-powered detection and response?

Many detection and response products already isolate devices, disable accounts or block connections, and organizations should use them. Defensive optionality asks what happens next, starting with which tasks keep running and who can administer the restricted system. Make that outcome a deployment acceptance test instead of assuming containment also preserves operations.

What if isolation delays updates or disrupts essential work?

If isolation interrupts essential work, the buyer must revise the restriction or fund an alternative operating procedure. Exercises should cover update delivery, support, logging and recovery so those costs are known before deployment. Temporary protections around legacy systems need review dates and retirement triggers, so a restriction does not become an excuse to defer replacement indefinitely.

The Command Papers are Legion Intelligence’s point of view series on how AI for national security should be built, governed, and used.

Command with Confidence.