← all repositories

sgasser/pasteguard

Open-source privacy proxy that automatically masks names, emails, and API keys in prompts before they reach LLM APIs.

700 stars TypeScript LLMOps · Eval
pasteguard
Not currently ranked — collecting fresh signals.
star history

PasteGuard intercepts text sent to AI services and uses Microsoft Presidio (ML-based PII detection) to replace sensitive information with placeholders before the prompt reaches the LLM. It supports 30+ PII types across 24 languages and can be deployed as a local proxy, browser extension, or app integration. The original data never leaves the user’s machine while the AI receives a context-preserving version of the prompt.

Frequently asked

What is sgasser/pasteguard?
Open-source privacy proxy that automatically masks names, emails, and API keys in prompts before they reach LLM APIs.
Is pasteguard open source?
Yes — sgasser/pasteguard is open source, released under the Apache-2.0 license.
What language is pasteguard written in?
sgasser/pasteguard is primarily written in TypeScript.
How popular is pasteguard?
sgasser/pasteguard has 700 stars on GitHub.
Where can I find pasteguard?
sgasser/pasteguard is on GitHub at https://github.com/sgasser/pasteguard.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.