Skip to main content

Introduction

Scrub is a HIPAA-compliant AI gateway designed for healthcare organizations. It sits between your application and AI providers (OpenAI, Anthropic, Google), automatically detecting and protecting Protected Health Information (PHI) before it reaches external LLMs.

Why Scrub?

Healthcare organizations face a critical challenge: they want to leverage powerful AI models, but can't risk exposing patient data. Scrub solves this by:

  • Detecting PHI automatically - 20+ patterns including SSN, MRN, DOB, addresses, and more
  • Protecting data your way - Flag, block, redact, or mask sensitive information
  • Supporting multiple providers - One unified API for OpenAI, Anthropic, and Google models
  • Providing complete audit trails - Every request logged for compliance

How It Works

Your App → Scrub API → PHI Detection → AI Provider → Response
  1. Your application sends requests to Scrub's API (drop-in replacement for OpenAI's API)
  2. Scrub scans the content for PHI patterns
  3. Based on your settings, PHI is flagged, blocked, redacted, or masked
  4. Clean requests are forwarded to your chosen AI provider
  5. Responses are returned to your application
  6. Everything is logged for audit purposes