The Gatekeeper is leaving - What happens to your controls when the UI becomes optional

  • Blog
  • 9 minute read
  • July 27, 2026

Nick Stone

Partner, PwC US

Nicole Pledger

Principal, Cyber, Data, and Tech Risk, PwC US

Michael Heiken

Director, PwC US

Key takeaways:

  • The UI’s hidden role in control enforcement
  • The need for controls across every transaction path
  • The governance risks of fast API/tool creation
  • Why controls professionals become more important in an agent-first enterprise
  • A field note for CFOs, Controllers, CAEs, CISOs, Application Owners, and everyone responsible for controls over financial reporting.

THE MOMENT A question that should unsettle you

At its May 2026 annual developer conference, Salesforce co-founder Parker Harris asked a simple question that should unsettle anyone who signs a management attestation:

“I built the Lightning UI. I worked really hard on it. Why should you ever log into Salesforce again?”

He wasn’t being nostalgic. He was announcing Salesforce Headless 360 — every capability in the platform now exposed as an API, an MCP tool, or a CLI command. 60+ new tools shipped the same day. The interface his teams spent a decade building was, in his own words, being deliberately repositioned as a back-end system.

Salesforce is not an outlier. SAP shipped more than 40 Joule agents and 2,400 Skills in Q1 2026, with MCP support landing now. Oracle embedded AI agents across Fusion. Workday launched Illuminate agents for finance, HR, and scheduling. Microsoft’s MCP and ACP stacks are becoming default fabric across the enterprise.

The browser is not dying, but it is becoming optional. And that should worry you more than it does. As major enterprise platforms make the user interface optional, auditors will have to rethink long-standing assumptions about who performs actions, what counts as evidence, and how controls can be tested.

WHAT THE UI WAS QUIETLY DOING FOR YOU The hidden work of the render layer

For 30 years, the user interface of your ERP quietly carried an enormous amount of your control environment. Most of the people responsible for that environment never realized it.

Edit checks lived in the UI. Validation rules lived in the UI. Workflow sequencing, approval routing, session controls, timeouts, dual-entry checks, authentication context, role masking . . . many of them were enforced at the render layer, not the database layer. The UI was your gatekeeper. You paid for it as “user experience.” You audited it as “application controls.” But the work it was doing was quietly load-bearing.

When organizations ask, “what would happen if users skipped the UI?”, the honest answer is: you wouldn’t like what came through.

We have a small-scale natural experiment that proves this. Every time an enterprise builds an integration that writes directly to an ERP through an API, a pattern emerges. Transactions that would have been caught by UI edit checks go in raw. Approval chains are skipped. Validation warnings disappear. Months later, reconciliations break, control testing fails, and auditors ask questions that take weeks to answer.

We called these “integration risks” and handled them as exceptions.

In a headless world, they are often not the exception, they are the default.

THE AUDIT PROFESSION’S TIMING PROBLEM The right guidance for a world that’s ending

In the last two years, the major audit firms have, reasonably, tightened their expectations around how application controls get tested. The answer from many methodologies has landed in the same place: test through the UI. Walk the transaction where the user would walk it. Don’t rely on a backend configuration without seeing its effect on the actual user experience.

In the world that existed when that guidance was written, it was right. The UI was the dominant path. The UI was where users worked. Testing a path no one uses is a poor use of audit hours.

But the guidance was calibrated to a world that is ending. The dominant path is not going to be the UI, but an API or an agent. And testing only the path humans take will miss much of the actual traffic.

The methodology was calibrated to a world that’s ending; it needs recalibration for the one arriving.

THE NEW QUESTIONS What to ask starting today

Is the same validation, edit check, and workflow enforcement in place at the API layer that exists at the UI layer? If the answer is “I’m not sure,” your control environment has a hole in it. The test for whether a control works is not whether the UI enforces it. It’s whether the control is enforced on every interface that can invoke the underlying operation.

What identity is the API authenticated as? Is it a service account with long-lived credentials and no MFA? Is it the initiating user’s identity, forwarded with proper context? Does it tie back to an individual for audit purposes, or does everything collapse to “SYSTEM”? Service accounts have always been a known SOX risk. Headless architecture makes them the majority case.

Is this a vendor-delivered API with standard security, or a custom endpoint someone vibe-coded in a sprint last quarter? Who approved it? Where is its design documented? Who tested it? How does it get retired when the feature that prompted it is gone?

Does your control testing exercise the paths agents actually take, or only the paths humans take? If you have never executed a journal entry through an API and confirmed that the approval control fired, you do not know that it fires.

Is there an approval and review process for new API endpoints that matches the one for new UI screens? Or are APIs ungoverned because the original methodology did not anticipate them as a first-class object?

The API account tells you who called. It does not tell you what the caller could see. Agents and copilots read enterprise data through retrieval-augmented generation, context assembly, and tool use. Once data is retrieved, it cannot be unretrieved. What masking, purpose limitation, redaction, and retrieval boundaries are enforced at the point of data fetch — not at the point of UI display? If your data-loss prevention strategy depends on a screen that no one will ever look at, it’s not a strategy.

Prompts, agents, APIs, and CLI commands are all new kinds of systems. They take action on behalf of users. They invoke other systems. They can be created in minutes. What controls exist over how they’re registered, approved, tested, monitored, and retired? Who owns the catalog of tools available to agents in your environment? What’s the equivalent of change management for a prompt that drives a financial transaction? If there is not an owner, there is not a control.

Many of today’s organizations will find holes. Treat the inventory of those holes as the first deliverable, not an indictment.

THE AGENTIC CODING MULTIPLIER When API creation scales past governance

The problem compounds. Headless platforms not only expose existing APIs but also invite the creation of new ones at unprecedented speed.

Vibe coding — describing what you want in natural language and letting a model write the code — has moved from novelty to default; Collins named it the Word of the Year for 2025. Business stakeholders can now ask for a custom API and receive working code in minutes. The technical barrier that once slowed proliferation has collapsed.

The security data should sharpen attention. Veracode found that roughly 45% of AI-generated code contained a known security flaw. A Checkmarx survey of 2,350 CISOs, AppSec managers, and developers across 14 countries — reported by CIO in June 2026 — found that nearly half of all production code is now AI-generated, and that enterprises where 81–100% of code is AI-written ship vulnerable code 3.4 times more often than those keeping AI to 20% or less. Ninety-three percent reported at least one breach tied to their in-house applications.

The failures are already in the open. In May 2026, WIRED documented thousands of vibe-coded apps — built on platforms like Lovable, Base44, Replit, and Netlify — that spilled highly sensitive corporate and personal data straight onto the public internet. In one Lovable-hosted app reported by The Register, a single inverted access-control check — the kind a human reviewer catches in seconds — left more than 18,000 user records readable to anyone. And a 2025 study by Tenzai found that every major AI coding agent it tested introduced Server-Side Request Forgery in the same type of feature.

That’s the shape of what happens when API creation scales faster than API governance.

In a headless enterprise, every new API is a potential new attack surface, a potential new control path, and a potential new piece of scope for your auditors. When a business stakeholder asks for “one more API” as part of a batch of 200, the default answer cannot be “sure, ship it.” It has to be, “where does this fit in our control environment?”

THE NEW DISCIPLINE Five practices for an Agent-First Enterprise

Interface parity, not UI dependency

Controls should be enforced wherever the operation can be invoked — UI, API, agent, batch job, direct database. If a validation rule exists only in the UI, it effectively does not exist.

Behavioral testing, not configuration testing

Reading a backend configuration and confirming it should enforce a rule is not the same as invoking the endpoint and confirming the rule fired. Test harnesses that exercise APIs under realistic and edge-case conditions must become standard — just as UI walkthroughs are standard today. This is engineering work. It belongs in the plan and the budget.

Tool governance, not just API change control

Prompts, agents, APIs, and CLI commands are now all first-class objects in your control environment. Each one can initiate a real transaction. Each one needs an owner, a registration record, an approved purpose, a tested behavior profile, and a retirement path. Organizations that govern their APIs but ignore their prompts are governing half the surface.

Data protection at the retrieval layer, not just the display layer

The old model assumed that data was protected when it was displayed — through UI-level masking, role-based column hiding, and view-based access. Agents don’t read views. They read sources. Retrieval-augmented generation, context assembly, and tool-mediated access can reach data that the UI would have masked. Data protection has to move upstream, to the point where data is fetched, not the point where it is shown.

Continuous, context-aware monitoring

A surface that changes daily cannot be audited quarterly. Controls monitoring should evolve from periodic attestation to continuous evaluation — backed by automated evaluators that understand both the technical call patterns and the business intent behind them.

Taken together, these five practices describe a different operating model for controls — not a tune-up of the old one.

THE CONTRARIAN TAKE Why the controls profession is getting more important

Many inside and outside the controls profession have started to speculate that the rise of AI will reduce demand for controls expertise. They have it backwards.

AI can write the API. It cannot reason about the ripple effects across your chart of accounts, your regulatory footprint, your data lineage, and your reporting dependencies. It cannot decide which of the 2,000 endpoints someone shipped last sprint are in scope for SOX and which are not. It cannot walk into a steering committee and say, “we are going to fail this audit if we don’t change three things by Q2.”

That work still requires human judgment about the organization as a whole. It requires someone who can hold the shape of the enterprise in their head: who understands that a new endpoint in the order-to-cash subledger ripples into revenue recognition, that a new agent in procurement touches the three-way match, and that a convenient integration into the HR system may be quietly moving compensation data across a border.

What headless architectures do is expand the surface area where that judgment is required. More interfaces. More integration points. More ways for bad data to reach the general ledger. More paths to consider when evaluating whether financial statements are fairly stated.

The controls profession is becoming more consequential, not less — because judgment, not volume, is what scales.

THE CHOICE The enforcement is still your job

The UI was the convenience that made control enforcement feel like product design. It was never the control itself. It was doing a harder job than most organizations ever acknowledged. Now the convenience is leaving.

The enforcement is still your job. The question is whether you keep doing it on the surface that’s disappearing, or on the one that’s arriving.

Controls built for a browser-first world can not survive contact with an agent-first enterprise. The organizations that recognize this now — and rebuild their scoping, their testing methodology, and their change control for a headless environment — can shape what comes next.

The gatekeeper is leaving.
Make sure something takes its place.

If this resonated, share it with someone who needs to hear it. The conversation about controls in an agent-first enterprise starts now.

Contact us

Nick Stone

Partner, PwC US

Nicole Pledger

Principal, Cyber, Data, and Tech Risk, PwC US

Michael Heiken

Director, PwC US

Follow us