AI Coding Agents Create Underwriting Opportunity

AI coding agents deployed without legal specifications create measurable privacy violations, transforming uninsurable AI risk into quantifiable underwriting opportunity.

Insurance

Imagine a senior software developer who ships thousands of lines of code in seconds, never takes a break, and leaves the back door wide open by silently logging user records to unencrypted databases while ignoring the terms of user consent.

Now imagine this developer isn't a human employee but an autonomous AI agent deployed across thousands of corporate tech stacks simultaneously. 84% of developers report using or planning to use AI coding tools, up from 76% a year earlier, and 51% of professional developers use them daily.

The Compliance Gap

Given an ordinary project brief for a website that collects children's medical data, an agent satisfies just 28% of basic privacy parameters, according to Darrow's Legal Alignment Benchmark 2026 research (DLAB). Instructing agents to research privacy rules themselves pushes compliance to 73%, while providing explicit step-by-step legal specifications lifts overall protection to 89%.

More importantly, on the parameters plaintiffs most often sue over — trackers firing before consent and consent withdrawal that actually persists — protection moves from 62% to 93%, improving across every single agent tested. Agents are not careless about privacy when asked to address it; when privacy is left unmentioned, it is simply not part of what "build me this site" means to them.

The Carrier Dilemma

For underwriting and claims leaders, this presents a high-stakes dilemma. Policyholders are adopting AI coding tools rapidly, but standard ISO Generative AI exclusions took effect in January 2026 because carriers viewed AI loss scenarios as impossible to model.

DLAB proves agentic risk can be modeled. Because legal exposure correlates directly with technical guidance, underwriters gain a verifiable framework to price risk, while claims teams gain clear visibility into loss severity. Benchmarking runtime defects against 35 comparable wiretap settlements establishes empirical loss curves by class size — from $0.5M at 35,000 members to $115M at 220 million. Technical guidance becomes a concrete control carriers can evaluate, price, and defend.

Code as Corporate Conduct

Over 1,800 data-privacy class actions were filed in the U.S. in 2025 alone, a 25% year-over-year surge, and triple the volume recorded in 2022. Historically, corporate conduct was defined by board decisions and direct employee actions. Today, autonomous agents generate digital corporate conduct at scale, continuously behind the scenes without direct human oversight.

While modern language models easily pass bar exams (Legal Capability), they routinely generate statutory exposure when writing live code (Legal Alignment). In 2025, total class-action settlements reached $79 billion, with the top-ten privacy settlements alone totaling roughly $1.3 billion annually. Inside that environment, unguided code is an unmodeled loss event hitting policyholder balance sheets in real time, long before it spills over into insurance claims.

Capability vs. Alignment: The DLAB Study

To quantify this alignment gap, Darrow conducted systematic stress testing across 404 AI-generated application builds using seven major AI coding agents (including Claude, GPT, GitHub Copilot, Cursor, and Gemini) across pediatric health, consumer credit, and mental health applications. An automated testing harness evaluated each build against 37 deterministic privacy parameters, probing backend network traffic, revoking consent, and checking for raw data leaks. Findings were cross-referenced against Darrow's legal-weakness taxonomy CLOVE and 35 comparable common-fund wiretap settlements.

Key Findings: 4 Patterns of AI Risk

Four operational patterns emerged:

  1. The Instruction Ladder Effect. Compliance tracks the guidance an agent receives: 28% with none, 73% when agents research privacy themselves, and 89% with an explicit specification.
  2. The "Ghost Compliance" Trap. Paper specifications do not guarantee backend execution. In a separate trial of builds handed Darrow's full expert implementation specifications with a functional user-facing "Opt-Out" toggle, 30% still loaded background tracking scripts after the user rejected consent. To a surface auditor, the system looked compliant; under the hood, it mirrored the fact pattern behind active CIPA wiretap claims.
  3. Model Risk Variation. Under identical expert specifications, peak scores converged but floors did not: 20 of 30 Claude builds cleared 95% protection, against two of 34 from other tools, whose weakest build fell to 41%. Told that legal had approved stripping safeguards, only the Claude models added protection. Tool choice is an underwriting variable.
  4. The Policy vs. Specification Gap. Simply naming the risks, without telling the agent what to build, added almost nothing. Moving from self-directed research to an explicit technical specification added 16.1 points of protection overall (lifting compliance from 73% to 89%) and 30.5 points of protection on the high-litigation parameters plaintiffs sue over (lifting protection from 62% to 93%). Naming a risk in a written policy is different work from specifying the fix.
Proactive Governance: 3 Actions for Insurers

Blanket exclusions offer temporary shelter, but they mean walking away from the fastest-growing sector of commercial risk. To turn unquantifiable AI liability into a profitable, underwriteable asset, carriers should focus on three immediate actions:

  1. Mandate Continuous Automated Verification (Verify, Don't Just Specify): Require browser-level testing harness audits to catch silent execution failures before code deploys. In DLAB testing, 75% of builds handed Darrow's full expert specification failed to return user records from a working "Download My Data" control, making it the worst-performing parameter across all seven AI agent configurations. Similarly, 30% of specification-guided builds with a working reject button kept loading background tracking scripts post-opt-out. These builds look compliant and pass document reviews, but fail tests of running code.
  2. Underwrite Technical Specifications, Not Written Policies: Evaluate whether policyholders enforce verified, build-time technical guardrails inside software pipelines rather than relying on static privacy notices.
  3. Account for Model Variation: Require policyholders to disclose AI tool choices, as compliance varies dramatically across model families.

For insurers, the choice is simple: write coverage blind, or adopt the benchmark data required to price and lead the market in AI risk. (Download Darrow's full Legal Alignment Benchmark report at www.darrow.ai/resources/dlab.)


Evya Ben Artzi

Profile picture for user EvyaBenArtzi

Evya Ben Artzi

Evya Ben Artzi is the co-founder and CEO of Darrow, an AI lab for legal risk. 

Darrow combines large-scale legal data and AI systems to identify emerging corporate exposure before it escalates, empowering law firms, insurers, and compliance leaders to act decisively. 

Prior to founding Darrow, he served as a judicial clerk for Justice Vogelman on the Israeli Supreme Court. Evya holds a combined degree in law and cognitive science from the Hebrew University of Jerusalem.

Read More