Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Data Loss Prevention Python Packages

Python packages with the GitHub topic data-loss-prevention. Sorted by monthly downloads, with stars and forks.
awslabs
ferret-scan

Find and redact sensitive data before it leaks — a fast, offline CLI and Go library that detects PII, secrets, and credentials in files and streams, scores them with context-aware confidence, and redacts them format-preserving. Nothing leaves your host.

19K 105 14
plenoai
pleno-dlp

Always Verify. Unified DLP scanner. Fast and Less False Positive.

6K 1 2
moxno
privacyscrubber-mcp

Zero-Trust PII & secrets redaction MCP server for Cursor & Claude. Lightweight, zero-dependency Presidio alternative for Node.js / TypeScript.

4K 3 0
forgd-ai
forgd-verdict

Data loss prevention for Claude: finds secrets and personal data in prompts and responses, blocks prompts through inference hooks, and scans Compliance API history. Self-hosted on Azure, AWS or Google Cloud.

3K 7 2
forgd-ai
forgd-verdict-hook

Data loss prevention for Claude: finds secrets and personal data in prompts and responses, blocks prompts through inference hooks, and scans Compliance API history. Self-hosted on Azure, AWS or Google Cloud.

3K 7 2
fusiontechstrategies
bedrock-guardrail-firewall

Evaluate and redact sensitive AI content locally before optional Bedrock Guardrails and Presidio controls, with fail-closed policy decisions and metadata-only evidence.

2K 3 0
spark1security
n0s1

Secret Scanner for Slack, Jira, Confluence, Asana, Wrike, Linear, Zendesk, GitHub, and GitLab

1K 84 18
Data-ScienceTech
forcefield

Open ForceField — zero-dependency LLM & agent control library. Prompt-injection detection, PII redaction, tool governance, evals in 3 lines of Python. Apache-2.0.

1K 1 0
sdursun1979
pii-gate

Fail-closed personal-data gate for AI coding agents: a Codex CLI and Claude Code hook that blocks national IDs, IBANs, card numbers, secrets, upload commands and PII-selecting SQL before they leave your machine.

1K 1 3
brootware
pyredactkit

Python CLI tool to redact and un-redact sensitive data from text files. 🔐📝

1K 53 7
nightfallai
nightfall

Python SDK for Nightfall

787 25 13
lemonadesaltbagel
veil-proxy

Local privacy proxy for AI coding agents. Keep PII and secrets out of LLMs with deterministic pseudonymization.

732 332 54
YauhenBichel
molecare-privacy-gate

Keep sensitive prompts local: a 1,024-weight head on bge-m3 that catches health data, credentials and PII written as plain English, which regex and entity tools miss. A second gate for LLM routers and guardrails. Not a medical device.

581 2 0
strac-io
strac-mcp-dlp

MCP server for Strac DLP — detect and redact PII, PHI, PCI and secrets before an AI agent sees them.

544 8 0
SHUBHAGYTA24
contextduty

Local-first prompt firewall — stop secrets & PII from reaching AI tools (IDE, git, AI-API proxy, MCP). Built on Microsoft Presidio.

507 6 4
traceredact
traceredact

Redact PII & secrets from LLM prompts, agent traces & tool-call args before they hit your logs. Content-based detection (not just key names), CI-gateable, zero data retained.

481 1 0
Data-ScienceTech
langchain-forcefield

Open ForceField — zero-dependency LLM & agent control library. Prompt-injection detection, PII redaction, tool governance, evals in 3 lines of Python. Apache-2.0.

460 1 0
Data-ScienceTech
llama-index-forcefield

Open ForceField — zero-dependency LLM & agent control library. Prompt-injection detection, PII redaction, tool governance, evals in 3 lines of Python. Apache-2.0.

447 1 0
chigwell
llm-securescan

A new package is designed to facilitate secure and structured user interactions with language models by analyzing and extracting specific information from user-provided text. It uses pattern matching

397 1 0
PaperMtn
gitlab-watchman

Finding exposed secrets and personal data in GitLab

361 206 25
plenoai
pleno-secret-scanner

Always Verify. Unified DLP scanner. Fast and Less False Positive.

301 1 2
Zuga-Technologies
zugashield

7-layer AI agent security system — stop prompt injection, data exfiltration, and AI-specific attacks in under 15ms. Zero dependencies.

254 1 1
occludra
aisg

Python SDK for Occludra (AI Security Gateway) — PII redaction, prompt injection defense, and smart routing for any LLM.

236 52 5
jasonzhang06-source
sharelint

Local, fail-closed privacy preflight for files, folders, and nested archives.

171 392 31
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology