AI Pentesting

How Insurers Get Breached Through Portals, APIs, And Claims Systems

Amartya | CodeAnt AI Code Review Platform
Sonali Sood

Founding GTM, CodeAnt AI

Insurance breaches rarely look like the movies. There is no zero-day and no genius attacker, just a leaked password, a portal that trusts it, and an internal API that never checks who is calling.

Understanding that pattern is the first step to breaking it. This guide walks the real anatomy of an insurance breach, the entry points attackers actually use, and how a penetration test that mirrors their path catches each one before it becomes a notification letter.

What CodeAnt AI solves here: CodeAnt AI runs continuous, code-aware penetration testing across portals, APIs, cloud, and external surface, then chains findings into a proven path to policyholder data. Pricing is outcome-based, so you pay for confirmed critical exposure rather than researcher hours.

Why Insurance Companies Get Breached So Often

Insurance sits on concentrated, high-value data, which makes it a standing target. Policyholder files pair identity, financial, and health information in one place, and health lines add protected health information on top.

The scale is on record. HHS estimates the 2024 Change Healthcare ransomware attack, a UnitedHealth Group subsidiary, affected close to 190 million people, one of the largest health-data breaches in US history.

It was the visible peak of a steady trend rather than an outlier.

The costs are consistent too. IBM's widely cited figure puts the average breach at 4.88 million dollars, and financial-sector incidents typically run higher.

For a regulated insurer, the exposure under NYDFS and the NAIC model law arrives on top of that.

Insurance Attack Surface: Portals, APIs, Vendors, And Cloud

Breaches enter through a small number of predictable doors. Naming them is how you scope a test that reflects real risk rather than a generic checklist.

Diagram of a five-hop insurer breach chain, from a leaked credential through a portal without MFA and an internal API without authentication to the claims database and exfiltration

Agent and broker portals

Portals are the front door, and they fail at authentication. A broker or agent portal exposes policyholder data to thousands of external users, and once a credential leaks, weak or missing multi-factor authentication is all that stands between the attacker and the data.

Reporting on recent insurance incidents ties them repeatedly to the same techniques, compromised credentials, MFA fatigue, and help-desk impersonation, rather than novel exploits. The portal does exactly what it was built to do, for the wrong person.

Policy and claims APIs

Behind every portal sits an API, and APIs fail at authorization. The most damaging pattern is broken object level authorization, where an endpoint returns a policy or claim without confirming the requester owns it.

The risk is not theoretical. A 2024 insurance-sector breach was traced to a misconfigured API endpoint that lacked authentication, exposing client data directly to anyone who found it.

Our API penetration testing guide covers how these are found and proven.

Third-party and vendor integrations

This is now the dominant vector, and it is the hardest to see. An insurer runs on integrations with clearinghouses, benefits administrators, analytics providers, and document services, and each holds policyholder data outside the insurer's own perimeter.

Diagram showing one breached vendor cascading into multiple insurers, each exposing policyholder, claims, health, and payment data

The cascade is the problem. The Change Healthcare attack disrupted claims processing across the US health system through a single subsidiary, and the 2025 Allianz Life breach reached most of its US customers through a third-party cloud service.

Attackers no longer need to breach the insurer when they can breach the ecosystem around it.

Cloud storage and misconfiguration

Policy documents, claims attachments, and medical records land in cloud object storage, and misconfiguration exposes them without touching the application. An open bucket or an over-permissioned role is a direct path to the data.

Cloud incidents in insurance increasingly begin with social engineering that yields access to a cloud console, then pivot to whatever the compromised identity can read. The cloud penetration testing guide covers this layer in depth.

Leaked and reused credentials

Underneath most of the above sits the initial access, a credential that was phished, reused from another breach, or left in a public repository. It is the match that lights everything else.

Credentials for insurer systems circulate on the open internet before they are used, which means the exposure is often visible in advance to anyone looking for it. Most insurers are not looking.

Anatomy Of An Insurance Data Breach From Portal To Claims API

Put the entry points in sequence and the mechanics become clear. A real breach is a chain, not a single event, and every link is individually unremarkable.

It usually begins with a leaked credential for a broker portal. The portal lacks strong multi-factor authentication, so the credential works, and the attacker is now an authenticated user.

From inside, an internal API becomes reachable, one that assumes anything calling it is trusted and never checks authorization. That API reads from the claims database, so the attacker enumerates records, and what began as one password ends as a reportable breach of millions.

No single flaw in that chain looks catastrophic in isolation. That is precisely why scanners miss it and why proving the chain matters more than listing the parts.

How Insurers Can Prevent Data Breaches With Continuous Testing

The defense that works is testing that mirrors the attack. A test built to walk the same chain an attacker walks finds the gap before the attacker does, and the process is methodical.

Phase 1

Passive Recon

Maps your full attack surface, subdomains, open ports, exposed configs, and known CVEs, without touching your systems.

Passive Recon

App Intelligence

500+ Agents

Attack Chains

Evidence

Reconnaissance that finds what the attacker finds

The first stage builds the adversary's view of the insurer. It maps exposed portals, open ports, and external services, identifies which threat actors are probing the organization, and surfaces the credentials already circulating on the open internet.

That last input is the one most insurers skip. Finding a leaked broker credential before it is used turns the first link of the breach chain into a closed door.

Service discovery and reachability

Next comes what is actually running and what can genuinely be touched. Service discovery identifies the software behind each exposed portal and API, and reachability analysis works out which paths lead toward claims and policy data.

For insurers this routinely surfaces the forgotten surface, a staging portal with production data, or an internal API exposed further than anyone intended.

Chaining into a proven data leak

This is the stage that matches how insurers actually get breached. Individually minor findings, a weak portal, a leaked credential, an over-trusting internal API, get linked into one path that ends at exfiltrated data.

Mapping each hop to MITRE ATT&CK techniques turns the chain into a business-impact narrative a board understands, and our walkthrough of how AI penetration testing traces a data leak end to end shows a full example.

Human revalidation and evidence

Automation produces the chain, then researchers re-run every finding against the live system, confirm it holds, and push it further. Nothing unconfirmed reaches the report.

The output is proof, a working exploit for each finding, the code path or configuration behind it, a severity, remediation guidance, and a retest, packaged as the evidence NYDFS, GLBA, and SOC 2 all ask for.

Why Code-Aware Penetration Testing Finds Insurance API Risks

Most of these breaches turn on authorization logic, and authorization logic is invisible from outside. An external scanner sees an API return a 200 response and moves on, unable to tell whether the endpoint checked who was asking.

White box testing reads the code directly. It traces every API call and database call, builds a threat model covering dependencies, secrets, and infrastructure, and finds the exact internal API that reaches the claims database with no authentication.

Pairing that with the cloud picture surfaces the seams. An unauthenticated internal API with no rate limiting, sitting one hop from the policy database, is the kind of finding that only appears when you model how internal services actually talk to each other.

Gray box then combines the two, taking the internal knowledge back outside the perimeter to attack a public endpoint with the downstream path in mind. Our full breakdown of black box, white box, and gray box testing covers where each fits.

Why Annual Penetration Testing Misses Insurance Breach Paths

An annual pentest is a photograph, and insurer systems are a film. The portal that was secure at the January test gets a new integration in March, a new claims endpoint in June, and a misconfigured storage bucket in September.

Every one of those changes is a chance to introduce the exact gap a breach chain needs. A test that ran before them cannot have seen them, and the next annual test is months away.

Continuous testing closes that window by re-examining the surface as it changes. Each new endpoint, integration, and configuration gets validated as it ships, which is the only cadence that matches how breaches actually enter.

How CodeAnt AI Helps Insurers Prevent Portal, API, And Cloud Breaches

CodeAnt tests an insurer the way an attacker would, continuously. External reconnaissance maps the exposed portals and leaked credentials, code-aware analysis finds the authorization gaps in the APIs behind them, and cloud testing catches the misconfigurations underneath.

It runs all three vantage points as one system, outside-in reconnaissance, inside-out code and cloud modeling, and gray box attacks that use internal knowledge from the perimeter. Findings arrive as a proven chain with a working exploit, not a list of disconnected weaknesses.

Because testing runs on every change, the broker portal integration added last week gets tested this week, not at next year's engagement. You can see the format in the sample pentest report, and the pentesting page covers the offensive side.

The commercial model matches the risk. You pay for confirmed critical exposure rather than researcher hours, which means the test is paid only when it finds something real.

Conclusion: Stop Insurance Breaches By Testing The Full Attack Chain

Insurance companies rarely get breached through one dramatic flaw. The damage usually comes from a chain: a leaked credential, a portal without strong MFA, an internal API that trusts the caller, a claims database that returns records without ownership checks, or a vendor integration that expands the blast radius. Each weakness may look manageable in isolation. Together, they can become a reportable policyholder data breach.

That is why insurance cybersecurity testing needs to mirror real attacker movement. Start with the breach paths that matter most: broker portals, leaked credentials, claims APIs, third-party integrations, and cloud storage. Test them as a connected chain, prove whether policyholder data is actually reachable, and use continuous, code-aware penetration testing to catch the next exposure before it becomes a notification letter.

Launch a free black box scan for one URL to see your exposed surface the way an attacker maps it, then book a walkthrough to see continuous, code-aware testing chained through to a proven data leak. For the compliance groundwork, start with our guide to penetration testing for insurance companies.

FAQs

How do insurance companies get hacked?

What is the most common cause of insurance data breaches?

What was the biggest insurance-related data breach?

Are insurance APIs a security risk?

How can insurers prevent data breaches?

Start Your 14-Day Free Trial

AI code reviews, security and quality trusted by modern engineering teams.

Table of Content
No headings found on page
Ship clean & secure code faster

Get Pentest Report

NO CC REQUIRED