All posts

    Production security

    Build is solved. Shipping with governance is not.

    AI made building internal applications cheap. The cost of shipping one with the security, identity, and audit posture an enterprise actually needs hasn't moved. That gap is where every build-versus-buy decision is now won or lost.

    Editorial illustration of a sleek prototype car on a polished platform, with a long industrial assembly line stretching behind it into the distance.

    Executive summary

    AI can shorten the path from an idea to a working application. Getting that application ready for enterprise use still requires identity, security, deployment, and audit controls. This article examines how those production requirements affect build-versus-buy decisions, and why reusable governance matters when teams begin shipping many internal applications.

    AI collapsed the cost of building internal applications by something like 90%. That part is widely understood. What didn't move: the cost of shipping one of those applications with the security, identity, audit, and compliance posture an enterprise actually needs.

    Most CIOs I talk to are still budgeting for the old shape of the problem.

    The economics moved. The org chart didn't.#

    Some numbers from the field, all from Retool's 2026 enterprise survey (n=817):

    • 35% of companies have already replaced a SaaS tool with an internal build.
    • 78% expect to build more internal tools this year.
    • 60% built something outside IT oversight in the past 12 months.

    Average annual SaaS spend at a 10,000-employee enterprise: $284M (Zylo, 2025). The build-versus-buy line moved a long way in a short period. Most enterprises haven't restructured their engineering or governance functions to reflect that.

    This isn't a startup story#

    Cohesity replaced their Splunk incident-detection function with an AI agent in early 2026. The Information has the public account. Klarna is unbundling expensive HR and finance modules from incumbent SaaS in favor of internal builds. Across the $1-5B revenue band, mid-cap CIOs are quietly running the same play. Their boards are paying attention.

    The pattern is consistent: pick a SaaS contract that costs north of $500K a year, identify the 60% of the workflow that's actually load-bearing, build that 60% with AI tooling in two to four weeks, and route the savings into the next replacement.

    The math works. Until you try to ship.

    Two things were always hard#

    Two things were always hard about internal software: building it cheaply, and shipping it at enterprise grade. AI handled the first one. The second one is unchanged.

    As one Fortune 50 CIO put it to me last quarter:

    "The hard part is shipping with the security, identity, and audit posture our auditors and customers expect."

    That sentence captures the entire shift. The bottleneck moved from the IDE to the deployment pipeline.

    The Day 2 chasm#

    Every AI-built application starts with the same gap between what it has and what enterprise governance requires:

    What you have on day 1What enterprise needs
    No authSSO with OIDC, role-based access, group provisioning
    Hardcoded API keysSecrets management, rotation, audit
    Unrestricted outbound trafficEgress allowlists, DLP
    print() statementsStructured logs, tamper-evident audit trail
    Unlimited AI API callsCost ceilings with enforcement, per-team chargeback
    No monitoringTelemetry, alerting, on-call paths
    No compliance evidenceSOC 2, ISO 27001, NIST mapping on demand

    Seven gaps. Most teams encounter all seven on app number one, and again on every app after that. The multiplier is what kills the budget.

    The actual cost#

    The math runs like this. Bridging the seven gaps manually takes 2-4 engineer-weeks per app. At 50 apps a year, that's $500K to $1M of platform engineering time spent on repetitive scaffolding. Before any of those apps shipped a feature to a customer or stopped a breach you didn't know about.

    The teams I've watched try to absorb that cost by hiring more platform engineers all hit the same wall: hiring is slower than the demand. By the time the new hires ramp, the backlog has doubled.

    The shape of the answer#

    The pattern that's working in mid-cap enterprises right now: wrap, don't rewrite. Treat the seven gaps as a category of work, not a bespoke problem on every application. Build a single layer that handles them once, and apply that layer to anything your engineering team ships, regardless of which AI tool they used to build it.

    In production, that pattern looks like five steps:

    1. Scan the application for the seven gaps and quantify the risk.
    2. Generate the missing pieces (auth, audit, egress, secrets, cost ceilings) as portable, open-standard artifacts.
    3. Run a one-page review with security and IT before the deploy.
    4. Ship to your environment, with keys and runtime data inside your perimeter.
    5. Run continuous Governance: identity scope, egress policy, cost ceilings, audit logs, and auto-remediation of risks at runtime.

    The two anchor moves are step 2 (auto-remediation of risks) and step 5 (Governance). Without those two, you're back to manual scaffolding on every application.

    What this unlocks#

    Once production-readiness is a fixed cost instead of a per-app cost, the build-versus-buy math actually works. A $2M ServiceNow contract becomes a $200K internal build. A $500K Concur contract becomes a $50K expense workflow your team owns. Those savings show up in the P&L only if the production discipline holds. Otherwise the manual scaffolding eats the spread.

    A Fortune 500 staffing CIO described it to me recently:

    "We have the talent and AI tools and have already built complex SaaS like expense tracking, ticketing, and HRMS solutions in-house. The bottleneck has been getting those internal apps to enterprise-grade. Harden is the layer that lets that strategy scale beyond a pilot."

    That's the actual move. Not "build instead of buy." Build at the speed AI tooling now allows, ship at the discipline an enterprise still requires, and let the difference compound across the next 50 applications.

    The bottom line#

    Build is the cheap part now. Shipping is the expensive part. Companies that figure out how to ship governed AI applications at the same speed they build them will eat the SaaS line item from the inside. The companies still treating "build" as the hard part will keep paying $284M a year for software they could have owned.

    The build-versus-buy decision in 2026 isn't really about build versus buy anymore. It's about whether your production discipline scales as fast as your engineering team's velocity. If it does, you compound. If it doesn't, you keep renting.


    *If you're closing the build-versus-buy gap, this is the layer that makes the math work. See it at harden.run →*