Skip to main content
HIPAA-Ready • BAA Available • FHIR APIs at the HTTP Layer • Append-Only Audit

API Security for Healthcare
HIPAA-Compliant Protection

The AI Security Layer for healthcare: append-only audit log for HIPAA §164.312(b), per-tool permissions for clinical AI agents, 7-year audit retention option (WORM Object Lock when S3 is configured), and pre-mapped Security Rule controls. All 4 platforms from $399/mo.

HIPAA-Ready (BAA available)
HITECH Act controls implemented
FHIR APIs protected at the HTTP layer
Append-only audit log
PHI Security Monitor
HIPAA
0
API Calls
0
Blocked
0
PHI Access
Processing
/patients/123Patient Record
read
Audit Log
Waiting for API calls...
HIPAA Compliant
HL7 FHIR Ready
PHI Protection Active
§164.312(b)
audit controls (HIPAA mapping)
7-year
default audit-log retention
BAA
available digitally on paid plans
FHIR
APIs protected at the HTTP layer
PHI
auto-redaction in security logs
94,000+
labeled attack samples (24 categories)
OS-level
process limits on locally launched MCP servers
99.9%
Uptime target · 1-hr P1 (Enterprise)

Healthcare API Threats We Prevent

Proactive protection against threats targeting patient data and healthcare systems

PHI Data Exfiltration

Unauthorized access to Protected Health Information (PHI) via EHR/EMR APIs. Behavioral baselines flag abnormal access patterns; anomalies cross +35 risk score and trigger re-auth.

Prevention: Access control validation, rate limiting, anomaly detection on /patients API

FHIR API Abuse

Attackers exploit HL7 FHIR endpoints to scrape records in bulk. Per-client rate limits and a request-body size cap apply to every request G8KEPR handles.

Controls: rate limiting, request-body size limits

Ransomware API Targeting

Ransomware groups target healthcare APIs to encrypt patient data. Velocity monitoring + adaptive Z-score circuit breaker catches suspicious bulk operations before encryption starts.

Prevention: Velocity monitoring, unusual pattern detection, circuit breakers

Four Platforms for Healthcare

API Security + MCP Security + AI Gateway + Verification Engine — unified on one finding bus for healthcare workloads

API Security

HIPAA Compliance

Pre-mapped to HIPAA Security Rule §164.312. A control crosswalk maps SOC 2 controls to their overlapping HIPAA safeguards.

  • §164.312(a)(1) - Access control (unique user IDs)
  • §164.312(b) - Audit controls (append-only audit log)
  • §164.312(e)(1) - Transmission security (TLS 1.3)

MCP Security

AI Diagnostics

Secure AI agents that assist with clinical decisions. Every tools/call passes 7 sequential checks — permission, MFA, rate limit, rug-pull (SHA-256 drift), threat detect, forwarding, response scan — before touching patient data.

  • Prompt injection detection for clinical AI agents
  • Tool call monitoring for EHR data access
  • HIPAA-compliant audit logs for AI decisions

AI Gateway

Clinical LLMs

Route LLM calls for clinical decision support and medical summarization. PHI scrubbing before sending to LLM providers; adaptive Z-score circuit breaker for failover.

  • Multi-LLM routing (OpenAI, Anthropic, Azure)
  • Automatic failover for critical diagnostics
  • PHI scrubbing before LLM processing

Verification Engine

4 Validation Layers

Validate every clinical AI output before it touches a chart or patient. Real-time checks on AI gateway traffic; a response carrying a critical PII or secret finding is blocked before delivery, streaming or not.

  • PII / PHI masking + forbidden-phrase constraints
  • Source grounding (hallucination detection on clinical claims)

Healthcare-Specific Features

Built for healthcare compliance and patient data protection. Every feature pre-mapped to HIPAA, HITECH, and interoperability standards.

Audit-Ready Logs

HIPAA requires audit logs for all PHI access. API requests are written to an append-only audit log with monthly partitions, for OCR audits and breach investigations.

  • User ID, timestamp, action, correlation ID
  • 7-year (84-month) retention option; WORM Object Lock when S3 is configured
  • HMAC-SHA256 hash chain: authentication and domain events, verified daily (since 2026-09-13)
  • Exportable for OCR investigations

Break-the-Glass Access

Allow emergency access to patient data while maintaining audit trails. Critical for ER scenarios where seconds matter.

  • Emergency endpoints bypass rate limits
  • Flagged for post-incident review
  • Automatic security notification
  • Configurable approval workflow

HL7 FHIR Security

Secure FHIR endpoints with the same HTTP-layer controls as any other API. G8KEPR does not parse FHIR resources, so resource-level access and consent stay in your FHIR server.

  • Rate limiting, on by default
  • Request-body size limit, 10 MB by default
  • ~340 regex rules evaluated on every request

Patient Consent Management

Enforce patient consent directives at the API layer. Automatically block data sharing for patients who have opted out of specific use cases.

  • Consent directive enforcement
  • Purpose-of-use validation
  • Data segmentation support
  • 42 CFR Part 2 compliance

Breach Detection & Response

Real-time detection of potential PHI breaches with automated containment. Meet HITECH Act breach notification requirements with detailed incident reports.

  • Unusual access pattern detection
  • Auto-block suspicious activity
  • Breach assessment reports
  • 60-day notification tracking

Compliance Reporting

Automated report generation for HIPAA risk assessments, meaningful use attestation, and regulatory audits. Export evidence packages for your compliance team.

  • HIPAA Security Rule mapping
  • Risk assessment automation
  • Evidence package export
  • Control effectiveness scoring

Every Tool Call Passes 7 Sequential Checks

Zero code changes to your EHR or clinical AI stack. Target: Sub-5ms gateway proxy overhead on cached, single-region paths.

1
Permission check
RBAC: does this clinician have access to this patient record?
2
MFA verification
TOTP required for sensitive data (mental health, HIV, substance use, 42 CFR Part 2)
3
Rate limiting
Sliding-window check, Redis-backed with in-memory fallback
4
Rug-pull verification
SHA-256 of tool definition vs. registered hash — block on drift
5
Threat detection
Scan tool arguments for injection patterns + PHI markers
6
Server forwarding
Execute via stdio subprocess, HTTP, or WebSocket transport
7
Response scanning
IndirectInjectionScanner blocks LLM-directed instructions in output
✓
Audit log written
Audit record: arguments, response, decision, correlation ID
Fail-closed quota state on Redis error • Per-key asyncio lock prevents TOCTOU races • 10 dedicated Prometheus metrics

5 Capabilities You Won't Find Anywhere Else

Not in Anthropic's MCP spec. Not in API gateways. Not in WAFs. Platform-level additions built for clinical-data workloads.

01

Hardened Local MCP Servers

MCP servers the proxy launches locally (stdio, off unless the operator sets MCP_STDIO_SERVERS_ENABLED) run in their own session (setsid), drop to nobody if started as root, and get no-new-privs, ambient capabilities cleared and RLIMIT_AS/FSIZE/NOFILE/NPROC ceilings. Remote (HTTP) servers are proxied and inspected, not sandboxed, and network egress is not filtered.

modules/mcp/interceptor_transport.py — _proxy_preexec
02

Tool Definition Hash Registry

SHA-256 hash of every clinical tool definition pinned at tools/list. On every tools/call, the cached definition is re-hashed and compared. Drift raises MCPRugPullDetectedError, blocks execution, publishes a CRITICAL event.

modules/mcp/tool_registry.py • Redis-backed
03

Adaptive Z-Score Circuit Breaker

Statistical, not threshold-based. Z-score > 3.0 against per-hour time-of-day baselines. 4 overlapping sliding windows (1m/5m/15m/1h). Progressive recovery (10→25→50→100%).

gateway/ — 2,208 LOC combined
04

Cross-Pillar Correlation

Findings from all four pillars land on one threat-event bus. A compound correlator groups them in 5-minute windows by correlation ID and by organization + client IP, and raises one incident when they match a known multi-stage pattern: a prompt injection at the gateway plus an SSRF probe and a path traversal at the API from the same client become a single critical Lethal Trifecta finding.

modules/compound_correlator • findings.mcp_security.compound
05

Append-Only Audit Log

HMAC-SHA256 hash chain on authentication and domain events (since 2026-09-13), each entry signing the previous. Three verification levels (full / single / last-N). Control mapping (not an attestation) for HIPAA §164.312(b), SOC 2 CC7.2, and OCR breach investigations.

modules/compliance/audit_chain.py
+

MCP Correlation Analyzer

Cross-session attack detection: 6-dimension risk score (max 110) across tool sensitivity, data volume, burst, denials, prior detections, and tool diversity. Catches coordinated multi-user attacks and 24h slow-and-low patterns.

MCPCorrelationAnalyzer — alert at score > 50

One Finding Bus. All Four Pillars.

Every pillar publishes its findings to one threat event bus. The compound correlator joins findings on the same request by correlation ID, and separate requests from one client by organization + client IP.

Clinician
Encounter
Prompt
Clinical AI
Tool Call
EHR API
Response
Verification
Every tool call is written to mcp_tool_calls with its correlation ID • Compound findings link every contributing finding • Hash-chain entries are tamper-evident for OCR investigations

Healthcare Use Cases

Built for every type of healthcare organization

EHR/EMR Vendors

Secure the HTTP APIs of any EHR, vendor-built or custom, with no vendor-specific connector. Protect patient records from unauthorized access and data breaches.

APIs secured: /patients, /encounters, /medications

Telehealth Platforms

Protect video consultation APIs, prescription endpoints, and patient messaging from abuse and PHI leaks.

APIs secured: /consultations, /prescriptions, /messages

Health Insurance APIs

Secure claims processing, eligibility checks, and benefits verification APIs. Prevent fraud and data manipulation.

APIs secured: /claims, /eligibility, /benefits

Systems Healthcare Teams Run Alongside G8KEPR

Examples, not integrations: G8KEPR works at the HTTP layer and ships no vendor-specific connector for any of these systems, and it is not listed in any EHR vendor's marketplace.

EHR Systems

  • Epic
  • Cerner (Oracle Health)
  • Meditech
  • Athenahealth
  • AllScripts

HIE & Data Exchange

  • CommonWell
  • Carequality
  • eHealth Exchange
  • State HIEs
  • TEFCA QHIN

Identity & SSO

Planned identity providers. SSO sign-in is not yet available.

  • Okta
  • Azure AD
  • Ping Identity

Compliance & GRC

  • Vanta
  • Drata
  • Compliancy Group
  • HITRUST CSF
  • SecurityMetrics

Vendor-Neutral EHR API Protection

G8KEPR applies the same HTTP-layer controls to an EHR's APIs as to any other API it handles. There is no Epic, MyChart or other EHR connector, and no marketplace listing.

  • Rate limiting, on by default
  • Request-body size limit, 10 MB by default
  • ~340 regex rules evaluated on every request
Example API targets
FHIR R4 APIs an EHR exposes
Patient-portal APIs
Claims and eligibility APIs

Frequently Asked Questions

Common questions about G8KEPR for healthcare organizations

Audit Evidence, Built In From Day One

Every PHI access event written to the append-only audit log. Pre-built mappings to 12 compliance frameworks with automated assessment (plus 8 reference catalogs) and a published control crosswalk.

HIPAA-Ready
§164.312 mapped
HITECH
breach response
SOC 2 Type II
observation in progress
GDPR-Ready
Articles 5 / 17 / 32
EU AI Act
controls implemented
FedRAMP
AU-9 mapped

"-Ready" / "controls implemented" reflect capability posture. HIPAA has no third-party certification regime; SOC 2 Type II observation in progress with external audit engagement H2 2026.

Protect Patient Data

Join hospitals and health tech companies using G8KEPR to secure PHI, protect AI diagnostic agents, route clinical LLMs, and satisfy HIPAA Security Rule safeguards with documented evidence.

30-day free trial (extend to 90 days free)
HIPAA-Ready
BAA available