Presidio

Active
GitHub Python MIT

Description

Microsoft's open-source context-aware PII detection and de-identification SDK for text, images, and structured data, providing sensitive data protection for LLM applications and agents.

Key Features

  • Context-aware PII detection — Identifies credit card numbers, names, addresses, and other sensitive entities using NER, regex, rule logic, and checksums
  • Multiple de-identification modes — Supports masking, replacement, encryption, pseudonymization, and other anonymization strategies
  • Image PII redaction — Built-in image text recognition and PII region masking, with DICOM medical image support
  • Custom recognizers — Extend PII detection with custom recognizers and integrate external NLP models
  • Multi-language support — Built-in PII detection across multiple languages for global data compliance
  • Flexible deployment — Supports Python, PySpark, Docker, and Kubernetes deployment options

Use Cases

💡 Detect and redact PII in user input and model output before and after LLM calls
💡 Scan and anonymize sensitive information in RAG knowledge base documents
💡 Process personally identifiable information in customer support tickets and chat logs
💡 Redact patient information from medical images and documents
💡 Meet GDPR, HIPAA, CCPA, and other data protection regulation requirements

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (10.7k stars)
  • Permissive open-source license (MIT)

Quick Start

pip install presidio-analyzer presidio-anonymizer
python -m spacy download en_core_web_lg
from presidio_analyzer import AnalyzerEngine
from presidio_anonymizer import AnonymizerEngine
text = "John's email is john@example.com, call him at 555-123-4567."
analyzer = AnalyzerEngine()
results = analyzer.analyze(text=text, language='en')
anonymizer = AnonymizerEngine()
print(anonymizer.anonymize(text=text, analyzer_results=results))

Related Projects

HexStrike AI

11.5k · Python
Active A

HexStrike AI is an advanced MCP server that lets AI agents autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, and security research.

cybersecuritypentestingmcp-server +2
  • · 150+ professional security tools integrated — network recon, web app testing, password cracking, binary analysis, and cloud security
  • · 12+ autonomous AI agents for specialized tasks like BugBounty, CTF solving, CVE intelligence, and exploit generation
  • · MCP protocol integration with Claude, GPT, VS Code Copilot, Cursor, and other MCP-compatible clients

GhidraMCP

9.9k · Java
Stale B

MCP server for Ghidra reverse engineering platform, enabling AI agents to autonomously perform binary analysis and vulnerability discovery.

mcpreverse-engineeringghidra +2
  • · MCP server for Ghidra enabling LLMs to autonomously perform binary reverse engineering
  • · Decompile and analyze binaries with automatic renaming of methods and data
  • · List all methods, classes, imports, and exports, exposing core Ghidra functionality to MCP clients

OpenShell

8.5k · Rust
Active A

OpenShell is the safe, private runtime for autonomous AI agents, developed by NVIDIA. Provides controlled execution environments and resource management.

rustagentframework +2
  • · Sandboxed execution environments protecting data, credentials, and infrastructure with declarative YAML policies
  • · Four defense-in-depth layers: filesystem, network, process, and inference policy enforcement
  • · Hot-reloadable network and inference policies via `openshell policy set` without restarting sandboxes

DeepCamera

3.0k · JavaScript
Normal A

Open-Source AI Camera Skills Platform, AI NVR & CCTV Surveillance. LLM-powered agentic security camera agent with pluggable AI skills. Runs on Mac Mini & AI PC.

javascriptagenttools +3
  • · VLM scene analysis and object detection running locally with Qwen, DeepSeek, SmolVLM
  • · 19+ pluggable AI skills across detection, segmentation, annotation, and training
  • · Auto-detection of GPU/NPU/CPU hardware with TensorRT, CoreML, OpenVINO acceleration