Skip to content

A privacy-focused module for detecting and scrubbing PII/PHI from screen data and user actions.

License

Notifications You must be signed in to change notification settings

OpenAdaptAI/OpenSanitizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

🛡️ OpenSanitizer

Advanced Privacy Scrubbing for Screen Parsing and Action Models

OpenSanitizer is a dedicated module designed to detect and scrub PII/PHI data from screen captures and action logs, enhancing privacy across applications like OpenAdapt and OpenAdapter. This tool integrates with deployment frameworks to ensure data protection in automation and screen parsing workflows.

✨ Features

  • PII/PHI Detection and Scrubbing: Identify and remove sensitive data from screen and action inputs using state-of-the-art privacy tools.
  • Powerful Privacy Stack: OpenSanitizer includes integrations with Microsoft Presidio for identifying and redacting PII entities, Private AI for customizable and GDPR-compliant scrubbing, and AWS Comprehend for natural language processing to enhance data protection.
  • Flexible Integration: Supports OpenAdapt and OpenAdapter for end-to-end privacy in screen-based automation.
  • Efficient Processing: Streamlined for low latency in high-frequency applications.

⚙️ Setup

Prerequisites

  • Python 3.10+
  • Environment variables for PII/PHI detection settings (e.g., DETECTION_MODE, LOG_LEVEL).

Installation

  1. Clone this repository:
    git clone https://github.com/OpenAdaptAI/OpenSanitizer.git
    cd OpenSanitizer
  2. Set up virtual environment and install dependencies:
    python3 -m venv venv && source venv/bin/activate
    pip install -r requirements.txt

💡 Usage Example

Use OpenSanitizer to scrub sensitive data from screen logs before processing:

from opensanitizer import ScreenScrubber

scrubber = ScreenScrubber()
cleaned_data = scrubber.scrub(screenshot_data, action_data)

🔒 Security

OpenSanitizer complies with privacy standards for PII/PHI handling and is optimized for healthcare and enterprise deployments.

🛠️ Roadmap

  • Expanded Scrubbing Patterns: Add support for custom scrubbing patterns.
  • Cloud Integration: Automate PII/PHI scrubbing in cloud deployments for EC2 and containerized models.
  • Modular Expansion: Extend compatibility with additional OpenAdapt tools.

License

OpenSanitizer is licensed under the MIT License.

About

A privacy-focused module for detecting and scrubbing PII/PHI from screen data and user actions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published