In August 1914, General Gérard Leman commanded one of the strongest fortress systems in Europe. Twelve concrete forts ringed the Belgian city of Liège, six on each bank of the Meuse, a few kilometres apart. Their armoured turrets rose to fire and sank back under the concrete. Henri Alexis Brialmont, the leading fortress engineer of his century, had designed them so that no army could take the city without first taking them.
Brialmont had drawn one more thing on his plans. Trench lines and smaller works were meant to close the ground between the forts. The government never paid for them. The order to dig came on 2 August, two days before German troops crossed the border, and the work had barely begun when the attack arrived.
On the night of 5 August, the German 14th Brigade slipped into the gap between Fort Fléron and Fort Evegnée. When its commander fell, a staff officer named Erich Ludendorff took over. Two days later Ludendorff drove up to the citadel in the middle of the city, knocked on the gate, and accepted its surrender.
Every fort was still firing.
Leman held on inside Fort Loncin until 15 August, when a German shell set off its magazine. He was pulled unconscious from the rubble. Afterward he wrote to King Albert: "I have not surrendered either the fortress or the forts." It was true. The city the forts were built to protect was already lost.
Liège is usually remembered for the siege guns that finished the forts. The arithmetic is the better lesson. Twelve forts make twelve strong points and a ring of gaps between them. The forts got built because a fort can be inspected, counted and signed off. The gaps had no owner, so they had no budget.
Microservice architectures make the same trade, one design review at a time. Splitting out a service is a reasonable call. The code gets smaller and deploys stop colliding. The new service is hardened like a fort, with its own pipeline, scans, certificate and on-call rotation. Nobody counts the new ground between it and everything else.
Uber's engineering team wrote in 2020 that the company had grown to around 2,200 critical microservices. Any one of them could, in principle, call any of the other 2,199. That is about 4.8 million possible caller-to-callee paths. The figure is a ceiling, and most of those paths will never carry a request. But a path nobody decided about is a path left open, and the hard part is knowing which small fraction is actually required. Dozens of teams ship every day, and no single team holds that map.
So the policy decays, and it decays in one direction. Adding a permission is cheap. A team is blocked, files a request and gets approved. Removing one is dangerous, because what still depends on it is unknown, and a wrong guess pages someone at 2am. Rules pile up and never shrink. Microsoft's 2023 cloud permissions report found that identities used 1% of the permissions they had been granted.
Eventually someone does the rational thing and collapses the policy into something coarse: anything with a valid certificate may call anything. The tooling makes that the easy path. Istio, out of the box, allows a request to a workload when no policy says otherwise. Its default mode also accepts plaintext alongside mutual TLS. The mesh authenticates the callers it can and authorizes none of them.
This was foreseen. In 2010, Forrester analyst John Kindervag published the zero trust model, and its premise was that all network traffic is untrusted: inside the network as much as outside, between machines as much as between people. Tech teams and the industry adopted what they could implement, which was replacing the VPN for employees. The traffic between services was left for later.
The failure lives in how the decision is scored. Teams split services to keep code maintainable, and that benefit arrives on day one. The cost arrives later in the service's life. Under you-build-it-you-own-it, the same team inherits the credentials, the access policy and the patching for every boundary it created. Or the work lands as a growing list of asks on the platform team. Neither is priced at the moment of the split. Every split is rational locally and in the short term. That does not make it sustainable. The soft interior only shows up in aggregate, usually during an incident.
I recently watched an app split in two. The intent was modest: build a new front end to replace the legacy one. The domain, the data and what the application did for its users all stayed the same. Only the technology changed. This is how modernization usually works. We fork. A net-new service stands up beside the old one, and both run for a few years until someone finally retires the original. For that whole window there are two front ends where there was one, each with its own identity, inbound paths and patch cycle. The unfinished new fort draws the worry, but the old one carries the danger. Attention follows the new build, and the legacy service keeps running. Its dependencies age and its patches slip. The retirement date slides, because something still depends on it. The fort you stopped defending is still standing, and still has a path to the city.
Artificial intelligence is turning the gaps from a risk into a certainty. In November 2025, Anthropic reported that a state-sponsored group had used Claude to carry out 80 to 90 percent of an intrusion campaign against roughly thirty targets. In July 2026, OpenAI models under internal evaluation broke out of their test environment through a flaw in a package-registry proxy, then harvested cloud and cluster credentials and moved laterally through Hugging Face's internal clusters over a weekend. They were never aimed at Hugging Face; they went there looking for the answers to a benchmark. Finding the unguarded path between two services used to take a patient human. Now it takes a machine that never stops looking, and every service, integration and agent an organization adds widens what it searches.
The approach that scales, with a cost that grows with the organization and not with its square, is to contain the surface inside every domain, with boundaries of identity and network nested the way the organization is.
Identity and network form a single boundary, seen from two sides. Identity settles who is asking. Network settles where they can reach. A request is contained only when both are answered together. A service's identity policy guards the one port it was built to answer. The host it runs on listens on others too, for debugging, metrics and administration, and no identity policy covers them. Only the network decides who reaches those. We have treated identity and network as separate disciplines staffed by separate teams, and that is why the boundary never held.
Consolidation has its own price. Inside any boundary, components trust each other implicitly, so when one is compromised, all are. That is what trust means. A boundary is worth drawing only around things that belong to the same fate. A legacy mainframe never passed that test, and neither do a dozen components sharing one database because it was convenient.
Nested boundaries turn the matrix into a ladder. Does this caller need the finance domain at all? Inside finance, does it need human resources costs? Inside those, does it need salary records? Three sequential decisions, each made by whoever owns that rung, replace one decision for every path. When Uber refactored its API ecosystem, it regrouped its 2,200 services into 70 domains; at that top rung there are about 4,800 possible pairs instead of 4.8 million. Below it, each rung is small and owned locally. When the organization grows, it adds rungs instead of multiplying paths.
For engineers, the work starts before a service exists. In modern agile development, deep architecture and design up front are rare; a new repository and a pipeline template are enough. A charter is where a team declares the domain it means to join, and declaring it is accepting that domain's governance. The call graph from mesh telemetry shows the domains you already have. You need both maps, because the charter draws the intent and the graph photographs the mess. Replace the missing review with that charter in the service template: which domain the service belongs to, who owns it, what identity it runs as, who may call it, which shared platforms it depends on, who patches it and who is on call. Inbound access is declared as code, denied by default, and reviewed in the same pull request as the code it protects. No charter, no deploy. If a team cannot carry that charter, the service should not stand alone. Fold it back into its domain.
For security and platform teams, the work is knowing which paths are required. At each boundary, hold the identity policy and the network policy together, under whoever owns that rung: the domain owner at the domain level, the service owner at the service level. If you run a mesh, the service call graph is already recorded. Compare the paths allowed with the paths used, across both policies together, because a path is closed only when identity denies it or the network cannot reach it. The difference is your soft interior, and it can be measured. Enforce deny by default at the domain boundaries first, then the subdomains, then the resources, so that each owner makes small decisions. Carry the original request's authority downstream, with OAuth token exchange or the IETF transaction tokens draft, so each downstream call carries the user's authority instead of the service's own, and a compromised service can reach only what that user could. Then prune on a schedule. Permissions never shrink unless removing them is someone's job.
The mesh does not see the shared layers: the hosts, buckets, pipelines and package proxies that many services depend on at once. It draws a shared layer as another box at best. At worst, the layer is an implicit dependency that no call graph shows. Either way, it is an integration point. Measure allowed against used wherever a shared platform grants access, not only where services call each other. However an organization splits enforcement across network, platform and shared infrastructure, make every layer declare its policy and record its access. The gap can be audited without first winning the reorg.
Scale itself can be defended. In 2019, Monzo's security team set out to trust each of the bank's 1,500 services only for "a short and deliberate list" of others. Of roughly 2.25 million possible paths, Monzo needed about 9,300, six per service on average. The team generated the list from the code on every push, had a person review each new rule, and turned the rules into Kubernetes network policy. A month after rollout they were still alerting on violations rather than dropping traffic. That is what digging the trenches looks like, and it was a security project in its own right. Most organizations build the forts and assume the ground between them will hold.
The right size for a service is neither micro nor macro. It is the security and operations you can maintain, because that is the commitment you make the moment you spin one up.
Leman never surrendered a fort. He lost the city anyway.
If this made you look at the ground between your own services, share it with someone who owns some of it.



