Download Latest Version v0.3.0 source code.tar.gz (10.1 MB)
Email in envelope

Get an email when there's a new version of PasteGuard

Home / v0.1.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-01-17 3.0 kB
v0.1.0 source code.tar.gz 2026-01-17 10.1 MB
v0.1.0 source code.zip 2026-01-17 10.1 MB
Totals: 3 Items   20.3 MB 0

The first public release of PasteGuard — a privacy proxy for LLMs that masks personal data and secrets before sending to your provider.

Highlights

🔒 PII Detection — Detect and mask names, emails, phone numbers, credit cards, IBANs, IP addresses, and locations using Microsoft Presidio

🔑 Secrets Detection — Catch private keys, API keys (OpenAI, AWS, GitHub), JWT tokens, and credentials before they reach the LLM

🌍 24 Languages — Automatic language detection with support for English, German, French, Spanish, and 20 more

🐳 Prebuilt Docker Images — Zero-config deployment with language-specific images

📊 Dashboard — Real-time monitoring of protected requests

🔄 Streaming Support — Real-time unmasking as tokens arrive from the LLM

Two Privacy Modes

Mask Mode — Replace PII with placeholders like [[PERSON_1]], send to your provider, restore in response. No local infrastructure needed.

Route Mode — Send PII requests to a local LLM (Ollama, vLLM, llama.cpp), everything else to your cloud provider. Data never leaves your network.

Quick Start

:::bash
docker run --rm -p 3000:3000 ghcr.io/sgasser/pasteguard:en

Point your app to http://localhost:3000/openai/v1 instead of https://api.openai.com/v1.

Dashboard: http://localhost:3000/dashboard

European Languages

For German, Spanish, French, Italian, Dutch, Polish, Portuguese, and Romanian:

:::bash
docker run --rm -p 3000:3000 ghcr.io/sgasser/pasteguard:eu

Docker Images

Tag Languages Size
en / latest English ~2.7GB
eu English, German, Spanish, French, Italian, Dutch, Polish, Portuguese, Romanian ~12GB

Languages are auto-configured per image — no config changes needed.

Features

PII Detection

  • Names, emails, phone numbers
  • Credit cards, IBANs
  • IP addresses, locations
  • Configurable confidence threshold
  • Automatic language detection

Secrets Detection

  • OpenSSH and PEM private keys
  • API keys: OpenAI, AWS, GitHub
  • JWT tokens, Bearer tokens
  • Environment variable credentials
  • Configurable actions: redact, block, or route to local

Integrations

Works with any OpenAI-compatible tool: - OpenAI SDK (Python/JS) - LangChain, LlamaIndex - Cursor, Open WebUI, LibreChat

Tech Stack

Documentation

📚 Full documentation: https://pasteguard.com/docs

Contributors

Thanks to everyone who contributed to this release:

License

Apache 2.0


Full Changelog: https://github.com/sgasser/pasteguard/commits/v0.1.0

Source: README.md, updated 2026-01-17