pii-detection repositories

Trending repositories tagged pii-detection, ranked by trending score. Updated daily.

  1. 1
    thyrisAI/safe-zone

    TSZ (Thyris Safe Zone) is an open-source PII detection and guardrails engine that prevents sensitive data from leaking to LLMs and third-party APIs.

    GitHub · Go · 34 stars · 11 forks · +4 stars in 24 hours · Trending score 1.06

  2. 2
    boromat/polanon

    Reversible PII masking for LLM calls and RAG, Polish-first: checksum-validated PESEL, NIP and IBAN, Polish names in every case, stable tokens, streaming restore and Haystack components.

    GitHub · Python · 38 stars · 10 forks · 0 stars in 24 hours · Trending score 0.85

  3. 3
    occludra/gateway

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

    GitHub · Python · 52 stars · 5 forks · 0 stars in 24 hours · Trending score 0.81

  4. 4
    maziyarpanahi/openmed

    Local-first healthcare AI: clinical NER and HIPAA PII de-identification on hardware you control. 2,200+ medical models, 35 model-backed PII languages, and Python, MLX, Android and browser runtimes. Apache-2.0 SDK.

    GitHub · Python · 5,832 stars · 772 forks · 0 stars in 24 hours · Trending score 0.77

  5. 5
    sgasser/pasteguard

    AI gets the context. Not your private data. Local-first privacy proxy for browser chat, AI APIs, and coding agents.

    GitHub · TypeScript · 836 stars · 49 forks · 0 stars in 24 hours · Trending score 0.65

  6. 6
    Vecshield/VecShield

    Open-source security and compliance scanning for vector databases and RAG pipelines.

    GitHub · Python · 20 stars · 3 forks · 0 stars in 24 hours · Trending score 0.64

  7. 7
    arcjet/arcjet-js

    Runtime security for AI apps and agents: prompt injection detection, tool-call authorization, sensitive-data redaction, bot protection, and rate limiting. Drop it into your JS/TS code.

    GitHub · TypeScript · 701 stars · 34 forks · 0 stars in 24 hours · Trending score 0.58

  8. 8
    ultramancode/spring-ai-privacy-guardrails

    Privacy and security guardrails for Spring AI: request-scoped PII tokenization, least-privilege disclosure to tools, and tool authorization with Spring Security. Configurable content inspection using rules, HTTP guard models, or local ONNX classifiers. PII detection with Presidio and JVM-local OpenNLP.

    GitHub · Java · 24 stars · 1 forks · +1 stars in 24 hours · Trending score 0.52

  9. 9
    DataFog/datafog-python

    Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM guardrail. Zero network calls, one dependency.

    GitHub · Python · 80 stars · 15 forks · 0 stars in 24 hours · Trending score 0.48

  10. 10
    frangelbarrera/DidILeak

    Local-first LLM secret scanner — scan ChatGPT, Claude, Cursor & Kimi K3 chat history for leaked API keys, PII & credentials. HTML dashboard + rotation guides.

    GitHub · Python · 9 stars · 0 forks · +1 stars in 24 hours · Trending score 0.46

  11. 11
    gantz-ai/pii.engineer

    🏆 Fast, multilingual PII detection for privacy compliance (PDPA, PDPD, PDP Law, PIPL). 9 entity types, 13+ languages, CPU-only ONNX Runtime inference.

    GitHub · HTML · 14 stars · 2 forks · 0 stars in 24 hours · Trending score 0.46

  12. 12
    marcieltorres/safe-chat-slack-bot

    SafeChat Slack Bot is an open-source project designed to enhance data security within Slack workspaces.

    GitHub · Python · 50 stars · 4 forks · +1 stars in 24 hours · Trending score 0.45

  13. 13
    dataiku/kiji-proxy

    Privacy proxy for your OpenAI requests

    GitHub · Go · 453 stars · 55 forks · 0 stars in 24 hours · Trending score 0.30

  14. 14
    abishekvupputur/ravensPort

    RavensPort is an MCP proxy in your tray on 127.0.0.1. Each agent gets one endpoint with exactly the tools you granted, from any MCP servers and APIs, and call filters stop secrets, personal data and risky actions before they leave your PC. Windows; Debian/Ubuntu for x86-64 and arm64.

    GitHub · C# · 7 stars · 0 forks · 0 stars in 24 hours · Trending score 0.20

  15. 15
    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.

    GitHub · Go · 104 stars · 13 forks · 0 stars in 24 hours · Trending score 0.19

  16. 16
    zitrino-oss/znyx-runtime

    Local-first guardrails evaluation server for LLM apps. Scans inputs, outputs, and tool calls against a YAML policy and returns allow / block / redact. No database, runs entirely on your machine.

    GitHub · Python · 9 stars · 0 forks · 0 stars in 24 hours · Trending score 0.10

  17. 17
    fongfan999/offlinemask

    Free desktop app that masks names, phone and account numbers on your computer before you ask ChatGPT, Claude or Gemini, then restores them in the reply. Works offline. Made for Vietnamese.

    GitHub · JavaScript · 6 stars · 0 forks · 0 stars in 24 hours · Trending score 0.09

  18. 18
    Jungroo-AI/redefiner

    A 0.8B model that extracts the entities you define in a plain-English rulebook. It runs on a CPU and is free under Apache 2.0. By Jungroo AI Labs.

    GitHub · Python · 8 stars · 0 forks · 0 stars in 24 hours · Trending score 0.09

  19. 19
    arcjet/example-nextjs

    An example Next.js application protected by Arcjet.

    GitHub · TypeScript · 59 stars · 10 forks · 0 stars in 24 hours · Trending score 0.08

  20. 20
    hounddogai/hounddog

    Deterministic Privacy Code Scanner for GDPR Data Mapping Evidence and Proactive AI Governance

    GitHub · Shell · 133 stars · 61 forks · 0 stars in 24 hours · Trending score 0.07

  21. 21
    censgate/redact

    Fast Rust engine for detecting and redacting PII and secrets — in prompts, code, and databases. OpenAI-compatible gateway, Postgres scanner, CLI, and WASM. 32× Presidio. Apache-2.0.

    GitHub · Rust · 24 stars · 3 forks · 0 stars in 24 hours · Trending score 0.07

  22. 22
    fcarvajalbrown/MaskOps

    High-speed PII masking as a Polars plugin, powered by Rust

    GitHub · Python · 23 stars · 0 forks · 0 stars in 24 hours · Trending score 0.03

  23. 23
    crp4222/PrivAiTe

    Self-hosted PII redaction proxy for LLM APIs and agent CLIs. Scrubs names, emails and secrets from Claude Code, Codex and any OpenAI-compatible app before requests leave your machine, tool-call arguments included, then restores them in the reply. Local detection, zero telemetry.

    GitHub · Python · 63 stars · 3 forks · 0 stars in 24 hours · Trending score 0.02

  24. 24
    seanpedrick-case/doc_redaction

    Redact PDF/image-based documents, Word, or CSV/XLSX files using a graphical user interface. Demo: https://huggingface.co/spaces/seanpedrickcase/document_redaction or with try with VLMs: https://huggingface.co/spaces/seanpedrickcase/document_redaction_vlm

    GitHub · Python · 64 stars · 12 forks · 0 stars in 24 hours · Trending score 0.02