HIPAA Compliance for AI Agents
Generate HIPAA compliance checklists, risk assessments, and audit frameworks for healthcare organizations deploying AI agents.
What This Skill Does
When activated, produce any of these deliverables based on user request:
1. Pre-Deployment Compliance Gate
- BAA requirements checklist for AI vendors
- PHI data flow mapping template
- Minimum Necessary standard application guide
- Risk assessment framework (45 CFR 164.308(a)(1))
2. Technical Safeguards (45 CFR 164.312)
Access Controls:
- Unique service account IDs for AI agents
- Emergency access procedures for system failures
- 15-minute auto-logoff configuration
- Role-based minimum necessary permissions
Audit Controls:
- PHI access logging (timestamp, user, action, data)
- 6-year retention compliance
- Anomaly detection on access patterns
- AI decision audit trails
Transmission Security:
- TLS 1.3 enforcement
- E2E encryption for patient comms
- Certificate pinning for API connections
- No PHI in URLs, query strings, or logs
3. AI-Specific Risk Matrix
| Risk |
Impact |
Mitigation |
| Prompt injection → PHI leak |
Critical |
Input sanitization, output filtering, sandboxing |
| Model training on PHI |
High |
BAA prohibition, single-tenant deployment |
| Hallucinated medical info |
Critical |
Human-in-loop, confidence thresholds |
| Shadow AI with PHI |
High |
Approved tool registry, DLP rules |
4. Breach Response Timeline
- 0-1 hrs: Contain (disable agent, preserve logs)
- 1-24 hrs: Assess scope of PHI exposure
- 24-48 hrs: Document root cause, affected individuals
- Within 60 days: Notify HHS + individuals + media (if 500+)
- 30-90 days: Remediate, patch, retrain
5. Compliance by Use Case
Rate each AI deployment:
- Patient scheduling → Medium risk
- Billing/coding → High risk
- Clinical decision support → Critical risk
- Patient communication → High risk
- Medical records summarization → Critical risk
6. Penalty Reference
| Tier |
Per Violation |
Annual Cap |
| Unknowing |
$141 - $71,162 |
$2,134,831 |
| Reasonable cause |
$1,424 - $71,162 |
$2,134,831 |
| Willful neglect (corrected) |
$14,232 - $71,162 |
$2,134,831 |
| Willful neglect (not corrected) |
$71,162 |
$2,134,831 |
Average healthcare breach cost: $10.93M (IBM/Ponemon 2025).
Output Format
- Markdown checklist with status columns
- Risk matrix with impact/likelihood scoring
- Timeline tables for breach response
- Department-specific compliance cards
Resources
1---2name: afrexai-hipaa-compliance3description: HIPAA Compliance for AI Agents4---5# HIPAA Compliance for AI Agents67Generate HIPAA compliance checklists, risk assessments, and audit frameworks for healthcare organizations deploying AI agents.89## What This Skill Does1011When activated, produce any of these deliverables based on user request:1213### 1. Pre-Deployment Compliance Gate14- BAA requirements checklist for AI vendors15- PHI data flow mapping template16- Minimum Necessary standard application guide17- Risk assessment framework (45 CFR 164.308(a)(1))1819### 2. Technical Safeguards (45 CFR 164.312)20**Access Controls:**21- Unique service account IDs for AI agents22- Emergency access procedures for system failures23- 15-minute auto-logoff configuration24- Role-based minimum necessary permissions2526**Audit Controls:**27- PHI access logging (timestamp, user, action, data)28- 6-year retention compliance29- Anomaly detection on access patterns30- AI decision audit trails3132**Transmission Security:**33- TLS 1.3 enforcement34- E2E encryption for patient comms35- Certificate pinning for API connections36- No PHI in URLs, query strings, or logs3738### 3. AI-Specific Risk Matrix3940| Risk | Impact | Mitigation |41|------|--------|------------|42| Prompt injection → PHI leak | Critical | Input sanitization, output filtering, sandboxing |43| Model training on PHI | High | BAA prohibition, single-tenant deployment |44| Hallucinated medical info | Critical | Human-in-loop, confidence thresholds |45| Shadow AI with PHI | High | Approved tool registry, DLP rules |4647### 4. Breach Response Timeline48- 0-1 hrs: Contain (disable agent, preserve logs)49- 1-24 hrs: Assess scope of PHI exposure50- 24-48 hrs: Document root cause, affected individuals51- Within 60 days: Notify HHS + individuals + media (if 500+)52- 30-90 days: Remediate, patch, retrain5354### 5. Compliance by Use Case55Rate each AI deployment:56- Patient scheduling → Medium risk57- Billing/coding → High risk58- Clinical decision support → Critical risk59- Patient communication → High risk60- Medical records summarization → Critical risk6162### 6. Penalty Reference63| Tier | Per Violation | Annual Cap |64|------|-------------|------------|65| Unknowing | $141 - $71,162 | $2,134,831 |66| Reasonable cause | $1,424 - $71,162 | $2,134,831 |67| Willful neglect (corrected) | $14,232 - $71,162 | $2,134,831 |68| Willful neglect (not corrected) | $71,162 | $2,134,831 |6970Average healthcare breach cost: $10.93M (IBM/Ponemon 2025).7172## Output Format73- Markdown checklist with status columns74- Risk matrix with impact/likelihood scoring75- Timeline tables for breach response76- Department-specific compliance cards7778## Resources79- [Healthcare AI Context Pack — $47](https://afrexai-cto.github.io/context-packs/) — Full patient journey automation, revenue cycle, EHR integration patterns80- [AI Revenue Leak Calculator](https://afrexai-cto.github.io/ai-revenue-calculator/) — Find where manual processes cost you money81- [AI Agent Setup Wizard](https://afrexai-cto.github.io/agent-setup/) — Configure compliant AI agents in 5 minutes