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.

9K 98 8
fusiontechstrategies
bedrock-guardrail-firewall

Stop unsafe AI traffic before it spreads with enterprise PII redaction, prompt-injection defense, grounding checks, tamper-evident auditing, and optional Amazon Bedrock plus Presidio controls in one Python file.

2K 2 0
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.

2K 1 0
brootware
pyredactkit

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

1K 52 7
spark1security
n0s1

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

1K 81 18
Zuga-Technologies
zugashield

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

766 1 1
jasonzhang06-source
sharelint

Local privacy preflight for files, folders, and archives—catch secrets, PII, metadata, and hidden document content before sharing.

657 400 31
SHUBHAGYTA24
contextduty

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

504 4 3
strac-io
strac-mcp-dlp

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

451 7 0
Data-ScienceTech
forcefield

ForceField Python SDK -- AI security in 3 lines of code. Prompt injection detection, PII redaction, security evals, tool governance. GitHub Action, pre-commit hook, Homebrew, VS Code extension.

446 1 0
moxno
privacyscrubber-mcp

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

437 2 0
nightfallai
nightfall

Python Data Loss Prevention (DLP) SDK - Nightfall Developer Platform

402 25 13
moxno
ztds

ZTDS.ai — Zero-Trust Data Sanitization (ZTDS) Open Specification, RFC v1.0, and Consortium

351 0 0
saheb26
pii-lens

Highlight credit cards, emails, phone numbers, SSNs, and US bank numbers in logs and prompts before they hit an LLM.

322 1 0
MoleCare
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.

282 2 0
Data-ScienceTech
langchain-forcefield

ForceField Python SDK -- AI security in 3 lines of code. Prompt injection detection, PII redaction, security evals, tool governance. GitHub Action, pre-commit hook, Homebrew, VS Code extension.

215 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

212 1 0
PaperMtn
gitlab-watchman

Finding exposed secrets and personal data in GitLab

210 207 25
occludra
occludra

Self-hosted AI security proxy. Redact PII, block prompt injection, route to any LLM provider. OpenAI-compatible.

204 46 4
plenoai
pleno-dlp

Verify by Default. Unified DLP scanner.

198 1 2
occludra
aisg

Self-hosted AI security proxy. Redact PII, block prompt injection, route to any LLM provider. OpenAI-compatible.

188 46 4
plenoai
pleno-secret-scanner

Verify by Default. Unified DLP scanner.

164 1 2
krayzpipes
txtferret

Identify and classify data in your text files with Python.

155 5 1
009-KumarJi
novisentinel

Scan LLM inputs and outputs for PII, prompt injection, secrets, and toxicity. Python SDK, FastAPI middleware, VS Code extension included.

153 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology