AJ Projects Partners
AI Software Development

Can You Use an LLM With HIPAA, ITAR or CMMC Data?

No regulation certifies a language model as HIPAA, ITAR or CMMC compliant. Compliance attaches to the system that stores, processes or transmits the data and to the contracts around it: a business associate agreement for health data, US-persons-only access for ITAR technical data, and a FedRAMP Moderate equivalent cloud plus NIST SP 800-171 for CUI. The deployment tier decides how many of those obligations rest on someone else's promise.
Key takeaways
  • No regulator certifies a model. HHS states that OCR does not endorse, certify, or recommend specific technology or products. Compliance attaches to the system and its contracts.
  • A cloud provider holding health data is a business associate even if it stores only encrypted data and lacks the key, per HHS. Self-hosting in your tenant still needs a BAA with your cloud host.
  • Under ITAR, releasing technical data to a foreign person is an export even inside the United States, and the encryption carve-out requires that no third party holds the means of decryption.
  • DFARS 252.204-7012 requires any external cloud holding CUI to meet FedRAMP Moderate equivalent requirements. CMMC Level 2 checks the 110 requirements of NIST SP 800-171 Revision 2.
  • None of the HIPAA Security and Privacy Rule text or the CMMC rule mentions artificial intelligence. The obligations reach AI because they reach every system that stores, processes or transmits the data.

Every regulated organization asks the same question about AI, and most get an answer shaped by whoever is selling. There is no such thing as a compliant model. There are compliant systems, built from components, contracts and controls, and a language model is one component among several.

This piece sets four regimes side by side: HIPAA for health data, ITAR for defense technical data, CUI under DFARS 252.204-7012 and CMMC, and attorney confidentiality under ABA Model Rule 1.6. Each is read against three ways to deploy a model, the same tiers we set out in our guide to on-prem LLMs versus cloud APIs. Every requirement below is taken from the regulation text or the regulator's own page, and quoted narrowly.

This is architecture, not legal advice. It describes what the rules say and how systems are built to meet them. Whether your specific data, contract and deployment comply is a determination for your counsel and your compliance officer.

Is There Such a Thing as a HIPAA-Compliant LLM?

No, and the regulator says so directly. HHS's cloud computing guidance answers the question "which CSPs offer HIPAA-compliant cloud services?" with one line: OCR "does not endorse, certify, or recommend specific technology or products" (HHS, Guidance on HIPAA and Cloud Computing). The same logic applies to a model provider, an AI vendor and an open-weight model you download.

What the rules regulate is conduct around the data. HIPAA's business associate definition turns on any party that "creates, receives, maintains, or transmits" protected health information on a covered entity's behalf (45 CFR 160.103). ITAR turns on release to a foreign person. DFARS 7012 turns on the information system that holds covered defense information.

None of them turns on the model.

That is why the useful question is not "is this LLM compliant?" It is which components of the AI system touch the regulated data, who operates each one, and what each operator has signed.

Where the obligation attaches: the system boundary, not the model The model weights sit outside the regulated system as a file copied in once. Inside the boundary, the retrieval index, the model runtime, the prompt and output logs and the agent actions each store, process or transmit regulated data, so each needs access control, audit logging and encryption, as does anyone who hosts them. An egress control on the boundary lets nothing leave unless approved. Model weightsa file, downloadedcopied in once; no data goes backTHE REGULATED SYSTEM: WHERE THE RULES ATTACHRetrieval indexstores recordsModel runtimeprocesses promptsPrompt + outputlogs keep copiesAgent actionstransmit onwardeach one stores, processes or transmits the regulated dataso each needs access control, audit logging and encryptionand so does anyone hosting them: cloud, backups, supportegress control:nothing leaves unless approved
Figure 2 · Where the obligation attachesThe rules read on everything that stores, processes or transmits the data. The weights are a file; the index, logs and agent actions around them are where compliance is won or lost.

The weights of an open model are a file. The retrieval index built from your records, the logs of every prompt and answer, and the actions an agent takes in your systems are where the regulated data actually lives, and each is in scope under every regime in this article.

Which Deployment Tier Can Meet Which Rule?

The matrix below is the core of this article. Rows are the regimes; columns are the deployment tiers. Consumer AI apps are left out, because an employee's personal account carries no contract that could meet any of these rules.

RegimeEnterprise APISelf-hosted in your cloud tenantOn-prem or air-gapped
HIPAA (ePHI)Possible only with a BAA from the model provider, covering the specific service, with its subcontractors bound on the same termsBAA with your cloud host. The weights vendor never receives data and is not in the chainNo model or cloud BAA. You implement the Security Rule directly
ITAR (technical data)Held: every person who can read plaintext, provider staff and subprocessors included, must be a US person or authorizedWorkable where the region, its operators and support are restricted to US personsYou enforce US-persons-only access yourself
CUI (DFARS 7012, CMMC)Held: the service offering must be FedRAMP Moderate authorized or equivalent, plus incident reporting and flowdownFedRAMP Moderate or equivalent cloud; your tenant is in the assessment scopeYour system implements the 110 SP 800-171 Rev. 2 requirements
Attorney confidentiality (Rule 1.6)Reasonable efforts: know retention, training use and who can access inputsReasonable efforts you can evidence, on infrastructure you controlReasonable efforts, entirely in-house
Regime by deployment tier: who has to promise what A grid of four regimes, HIPAA, ITAR, CUI under DFARS 7012 and attorney confidentiality, against three deployment tiers. On an enterprise API every obligation is held on contracts with the model provider and its subprocessors. In your own cloud tenant it rests on one contract with your cloud host. On-prem, it becomes controls your own team runs. ENTERPRISE APIYOUR CLOUD TENANTON-PREM / AIR-GAPHIPAAePHIBAA with modelprovider and itssubprocessorsBAA with yourcloud hostSecurity Rulecontrols you runITARtechnical dataUS persons only,across providerstaff and chainUS-persons-onlyregion, supportAccess you limitto US personsCUIDFARS 7012Offering must beFedRAMP Moderateor equivalentFedRAMP Moderatecloud, in scope110 controls ofSP 800-171 R2AttorneyRule 1.6Vet the terms:use, retention,who can readReasonableefforts you runReasonableefforts, in-houseobligations move into controls you runheld on provider chainone contract: your hostcontrols you run
Figure 1 · Regime by tierNo tier is compliant or non-compliant on its own. What changes as you move right is whose promise the obligation rests on: the model provider's chain, your cloud host, or your own team.

Read the dashed column carefully. "Held" does not mean forbidden. It means the obligation rests on promises from parties you do not operate, and you have to obtain and verify those promises service by service.

Moving right does not make a system compliant. It moves the obligation from someone else's contract into controls your own team runs and can evidence.

The second table sets out what each regime actually asks for, across the five requirements that decide the architecture.

RequirementHIPAAITARCUI (DFARS 7012, SP 800-171)Attorney confidentiality
Contract with each processorBAA, flowed to subcontractors (164.314)Authorization needed before any release to a foreign personClause flowed to subcontracts without alteration (paragraph m)Vet vendor terms under Rule 1.6(c)
Who may accessOnly persons or software programs granted access rights (164.312(a))US persons, unless authorizedAuthorized users, processes acting for them, and devices (3.1.1)Not specified; reasonable efforts
Where data may sitNo US-only rule; location is a risk-analysis factorEncryption carve-out lost if stored in a proscribed countryFedRAMP Moderate equivalent cloudNot specified
Audit loggingRequired: audit controls (164.312(b))Not specified in the definitionsRequired: requirement 3.3.1Not specified
Egress controlOur reading: follows from transmission security (164.312(e)) and the limits on disclosureOur reading: the control that prevents an unauthorized releaseControl the flow of CUI (3.1.3); boundary protection (3.13.1)Our reading: prevents unauthorized disclosure

Not sure which of your AI workloads already touch regulated data? Five questions, under a minute, and you will know where to look first.

Find Your AI Ops Score →

Do You Need a BAA If You Self-Host the Model?

Usually yes, just not with the party most people expect. HHS is explicit that when a covered entity engages a cloud provider to create, receive, maintain or transmit ePHI, "the CSP is a business associate under HIPAA". It adds that this is "true even if the CSP processes or stores only encrypted ePHI and lacks an encryption key for the data" (HHS).

So a model running in your own AWS, Azure or Google Cloud tenant still needs a BAA, with the cloud host. What self-hosting removes is the model provider: a vendor whose open weights you downloaded never creates, receives, maintains or transmits your data, so it is not a business associate for that workload. On hardware you own, the chain shrinks further, and the Security Rule's safeguards become yours to implement directly.

The Security Rule reads well on AI systems because it was written around systems, not products. Its access control standard allows access "only to those persons or software programs" that have been granted access rights, and its audit control standard requires mechanisms that "record and examine activity" in systems that contain or use ePHI (45 CFR 164.312). An agent is a software program. It needs its own access rights and its own audit trail.

On an enterprise API, the BAA has to come from the model provider and cover the specific service you use, and the provider's own subcontractors must be bound in turn (45 CFR 164.314). HHS is also clear about the cost of skipping it: using a cloud provider to maintain ePHI without a BAA puts the covered entity "in violation of the HIPAA Rules".

We have built for a hospital environment: smart patient intake, automated insurance processing and predictive diagnostics for Maitland Hospital. The lesson from that kind of work carries across: the model is rarely the hard part. The index, the logs and the handoffs into billing and clinical systems are.

Can a Defense Contractor Send ITAR or CUI Data to ChatGPT?

Not through a consumer account, and not through any service until two separate tests are met, one for ITAR and one for CUI. They are different regimes with different mechanisms, and a system can pass one and fail the other.

ITAR: who could read the plaintext

ITAR defines an export to include "releasing or otherwise transferring technical data to a foreign person in the United States", the deemed export (22 CFR 120.50). A release includes using access information to let a foreign person "access, view, or possess unencrypted technical data" (22 CFR 120.56). Where the server sits matters less than who, anywhere in the provider's operation, could read it.

There is a carve-out for encrypted data. Sending, taking or storing unclassified technical data is not an export if it is end-to-end encrypted with FIPS 140-2 compliant modules or equivalent strength, and not intentionally stored in a proscribed country. End-to-end encryption, though, requires that "the means of decryption are not provided to any third party" (22 CFR 120.54).

That condition is the architectural crux. A language model cannot reason over ciphertext. To answer a prompt, a hosted model has to decrypt it on the provider's infrastructure, so the carve-out that protects encrypted storage does not, on our reading, protect third-party inference.

The regulation text does not address model inference directly. That is a question for your export counsel, and a strong reason to run ITAR workloads on a model inside a US-persons-only boundary.

CUI: whose cloud, and on what terms

DFARS 252.204-7012 subjects covered contractor systems to NIST SP 800-171. When a contractor uses an external cloud provider for covered defense information, it must "require and ensure" that the provider meets security requirements "equivalent to those established by the Government for the Federal Risk and Authorization Management Program (FedRAMP) Moderate baseline" (DFARS 252.204-7012).

The same clause requires cyber incidents to be reported within 72 hours of discovery, and requires the clause to be included "in subcontracts, or similar contractual instruments" without alteration. An AI vendor that processes CUI for you is inside that chain, and so is the model provider it relies on.

How obligations flow down through subprocessors On an enterprise API, the data owner has to bind an app vendor, the model provider and the provider's subprocessors, each by a business associate agreement for health data or by the DFARS 7012 flowdown and a FedRAMP Moderate equivalent cloud for CUI. Self-hosted in your own tenant, the chain ends at your cloud host; the weights vendor never receives the data. ENTERPRISE API: FOUR PARTIES TO BINDYouthe data ownerApp vendorbuilds on the APIModel providerruns inferenceSubprocessorshosting, supportBAABAABAA7012 (m)7012 (m)FedRAMP Mod.each link: same terms, carried to the next party that touches the dataSELF-HOSTED IN YOUR TENANT: ONE PARTY TO BINDYouthe data ownerCloud hostyour tenantWeights vendornever receives the dataBAA / FedRAMPchain ends here
Figure 3 · Flow-downEvery party that touches the data has to be bound on the same terms. Self-hosting does not remove the obligation; it shortens the chain it has to travel.

Self-hosting does not remove the obligation. It shortens the chain the obligation has to travel, and every link you remove is a contract you no longer have to negotiate, verify and monitor.

Does CMMC 2.0 Say Anything About Generative AI?

No. We searched the full text of the CMMC program rule, 32 CFR Part 170, as published on eCFR for 1 September 2026, and it contains no reference to artificial intelligence, generative AI or machine learning (32 CFR Part 170). The same search of HIPAA's Part 164 returned nothing either.

That silence is not an exemption. CMMC scopes by asset, not by technology. Its definition of an external service provider covers any party whose assets process, store or transmit CUI or security protection data, and it names "log data" as an example. An AI system's audit logs are security protection data, and its prompt logs and retrieval index, once CUI enters them, hold CUI.

For cloud, the rule mirrors DFARS 7012. A contractor may use a cloud environment for CUI where the offering is FedRAMP Authorized at Moderate or higher "in accordance with the FedRAMP Marketplace", or meets equivalent requirements (32 CFR 170.16). The on-premises infrastructure connecting to that cloud is part of the assessment scope too.

The program itself is in flux, and any architecture should be built to the underlying requirement rather than the assessment schedule. The DoD CIO states that on July 13, 2026 the Department suspended CMMC Phase II, which had been scheduled for November 10, 2026, and that implementation is paused in Phase 1. It also states that this "does not eliminate the requirement" to protect information under DFARS 252.204-7012 (DoD CIO, About CMMC). Level 2 requires self-assessment against the 110 requirements of NIST SP 800-171 Revision 2.

The closest thing to AI-specific federal guidance is voluntary. NIST AI 600-1, the Generative AI Profile of the AI Risk Management Framework, published July 26, 2024, describes the framework as "intended for voluntary use" (NIST AI 600-1). It lists twelve risks unique to or exacerbated by generative AI, including data privacy and value chain and component integration.

It is useful for structuring a risk review. It is not a compliance standard.

ABA Model Rule 1.6(c) requires a lawyer to make "reasonable efforts to prevent the inadvertent or unauthorized disclosure" of client information, or unauthorized access to it (ABA Model Rule 1.6). It is a standard of care, not a list of approved tools.

ABA Formal Opinion 512, issued July 29, 2024, was the ABA's first formal opinion on generative AI, and it identifies Rule 1.6 among the rules that principally apply. The ABA's summary says a lawyer using generative AI has to keep in mind the duty to keep all information relating to a client's representation confidential, absent the client's informed consent (ABA, 29 July 2024).

For architecture, "reasonable efforts" translates into questions you can answer with evidence: what the tool retains, for how long, whether inputs train anything, and who at the vendor can read them. Whether a given use waives privilege is a separate question of evidence law in your jurisdiction. It is one for counsel, and not one the Model Rules settle.

Firms with matters under protective orders, or clients whose engagement letters restrict where data is processed, usually find the contract decides the tier before the ethics rule does. That is the flow-down problem again, applied to a client's terms instead of a regulator's.

What Does the Regulation Not Say?

Much of the confusion about regulated AI comes from claims the rules never make. These are the ones we see most often, each checked against the text.

  • No regulation certifies a model. HHS says OCR does not endorse or certify products. FedRAMP authorizations attach to a specific cloud service offering, listed on the FedRAMP Marketplace, not to a vendor as a whole or to the system you build on it. A vendor badge describes the vendor's environment, not yours.
  • Encryption alone does not take a provider out of scope. HHS says a cloud provider holding encrypted ePHI without the key is still a business associate. Under ITAR, encryption only helps when no third party holds the means of decryption.
  • HIPAA does not require US-only storage. HHS permits offshore cloud storage with a BAA, while noting that location raises risk. ITAR and CUI are the regimes where location and nationality do real work.
  • None of these texts mentions AI. The obligations reach AI systems because they reach every system that handles the data, which means your index, logs and agent actions.
  • A SOC 2 report is not any of these. SOC 2 is an attestation against criteria an auditor examines, while HIPAA, ITAR and DFARS 7012 are statutory and contractual obligations, so a SOC 2 report can evidence controls but cannot substitute for a BAA, an export authorization or a flowdown clause.

How Do You Architect an AI System for Regulated Data?

Start where the data is, not where the model is. That is the first two steps of our method, in order: Map your entire company, so every place regulated data enters, is copied and leaves is known before anything is built, and Control the data, so the boundary, the identities and the contracts are designed in rather than negotiated afterwards.

01

Classify by regime, per workload

A hospital's scheduling assistant and its clinical note summarizer carry different data. A defense supplier's proposal drafting and its engineering Q&A carry different obligations. Route each workload to the tier its data requires, as set out in the pillar on deployment tiers.

02

Draw the boundary around the system

Index, runtime, logs, backups and agent tools all sit inside it. Nothing crosses it without an approved egress path, and every approved path is logged.

03

Give every person and agent an identity

Access rights per person and per software program, checked at retrieval time against the source system, so the model can never show a user a record they could not already open.

04

Bind every party that remains

A BAA, a US-persons-only commitment or a flowdown clause for each operator inside the boundary, verified against the specific service, not the vendor's marketing page.

Once that foundation exists, the later steps, Leverage tasks across the org and a Full AI automation strategy, can put company-specific co-pilots and agents to work on regulated processes without reopening the compliance question for each one. That is how our AI business automation work is sequenced, and why the controls come before the first agent.

We run our own self-hosted model, and we built enterprise AI software for Signature Intelligence Systems, covering organizational knowledge capture, team management and global logistics, operating in on-prem and SOC 2 compliant cloud infrastructure instances. On our custom AI software development engagements, the regulated boundary is designed in the first phase, not retrofitted after the first audit.

Where Is the Evidence Thin?

A page about compliance should be precise about what it cannot settle. These are the soft points.

The pointWhy it is softer than it looks
ITAR and model inference22 CFR 120.54 does not address model inference. Our conclusion that third-party inference falls outside the encryption carve-out is a reading of the definitions. Confirm it with export counsel.
CMMC timingPhase II was suspended on July 13, 2026 and a reform task force established. Assessment requirements may change; the DFARS 7012 obligations have not.
Which SP 800-171 revisionNIST withdrew Revision 2 on May 14, 2024 in favour of Revision 3 (NIST CSRC), while DoD continues to enforce Revision 2. Build to both where you can.
HHS cloud guidanceThe page was last reviewed on December 23, 2022 and does not mention AI. Its reasoning applies to AI hosting, but it was not written for it.
Vendor BAAs and authorizationsWhich AI services a provider will sign a BAA for, or has authorized at FedRAMP Moderate, changes often and differs by product. Verify the specific service on the date you rely on it.

The durable part is the mechanism. Every one of these regimes attaches to the system that handles the data and to the parties that operate it, so an architecture that keeps that system small, bounded and owned holds up however the assessment schedules move.

Frequently Asked Questions

Not as a product. HIPAA regulates covered entities and business associates, not software, and HHS states that OCR does not endorse, certify, or recommend specific technology or products. Compliance attaches to the system that creates, receives, maintains or transmits protected health information and to the contracts around it. A model can be part of a compliant system when every party handling the data has signed a business associate agreement and the Security Rule safeguards, including access control, audit controls and transmission security, are implemented across the index, logs and runtime.

It depends on who hosts it. If the model runs in your own cloud tenant, your cloud provider is a business associate, and HHS says that holds even if it stores only encrypted data without the key, so you need a BAA with the cloud host. The vendor whose open weights you downloaded never receives the data, so it is not in the chain. On hardware you own, no model or cloud BAA is needed, but the Security Rule applies to you directly, and any outside party with access, such as managed support, needs its own BAA.

Not through a consumer account, and not through any service until two separate tests are met. Under ITAR, releasing technical data to a foreign person is an export, including inside the United States, so every person who could read the plaintext, provider staff and subprocessors included, matters. The encryption carve-out in 22 CFR 120.54 covers data whose means of decryption are not provided to any third party, and a hosted model has to read plaintext to work. For CUI, DFARS 252.204-7012 requires any external cloud provider to meet security requirements equivalent to the FedRAMP Moderate baseline.

No. The CMMC program rule, 32 CFR Part 170, does not mention artificial intelligence. It scopes by asset instead: any system that processes, stores or transmits CUI is in scope, which includes an AI system's retrieval index, prompt logs and agent actions once CUI enters them. Level 2 maps to the 110 requirements of NIST SP 800-171 Revision 2. As of July 13, 2026, the Department suspended CMMC Phase II and paused the program in Phase 1, and the obligations in DFARS 252.204-7012 still apply.

It can, which is why the ABA treats it as a confidentiality question. Model Rule 1.6(c) requires a lawyer to make reasonable efforts to prevent inadvertent or unauthorized disclosure of, or unauthorized access to, client information. ABA Formal Opinion 512, issued July 29, 2024, applies that duty to generative AI tools. In practice that means knowing what a tool retains, who can read it and whether it trains on inputs. Whether a given use waives privilege is a separate question of evidence law in your jurisdiction, and one for counsel.

It depends on the regime. HIPAA has no US-only rule: HHS says a covered entity may use a cloud provider that stores data outside the United States with a BAA in place, though location must be weighed in the risk analysis. ITAR is stricter by construction, because using access information to put technical data outside the United States into unencrypted form is itself a release, and the encryption carve-out is lost if data is intentionally stored in a proscribed country. For CUI, the cloud provider must meet FedRAMP Moderate equivalent requirements, which is set by DoD policy.

Five recur across all four regimes. Access control tied to a person or a software identity, which HIPAA's access control standard names explicitly. Audit logs that record what was asked, retrieved and done, required by HIPAA 164.312(b) and NIST SP 800-171 requirement 3.3.1. Encryption with validated modules, which both SP 800-171 and the ITAR carve-out reference. Egress control, so nothing leaves the boundary unapproved, which SP 800-171 frames as controlling the flow of CUI. And contracts that flow every obligation down to each party that touches the data.

Find Out Where Regulated Data Is Already Reaching Your AI

Five questions, under a minute. See how your AI operation compares with the deployments that are actually working, and where your data is exposed.

Find Your AI Ops Score →

5 questions · Under a minute · See how your AI strategy compares