agent-safe-pipeline
AI security and guardrails
Open-source gateway that authorizes AI agent actions before they run
661 57 yesterday Thriving Apache-2.0
Self-hosted proxy that masks PII and secrets before prompts reach AI providers
Listed by Alston Antony, founder & editor
Health
ThrivingStars
840
Last commit
yesterday
Nov 2026
Repository age
11 months
since Jan 2026
Latest version
v0.9.9
Nov 2026
Contributors
–
2 active in 90 days
Releases
25
last 12 months
Language
TypeScript
PasteGuard sits between you and AI providers and replaces personal data and secrets with placeholders before a request leaves your machine. The provider sees placeholders. You keep the originals, and supported placeholders are restored in the response.
It works in three places. A browser extension, still experimental, covers ChatGPT, Claude and Gemini. For apps and SDKs, you change one base URL, such as the OpenAI or Anthropic endpoint, to point at PasteGuard. Coding agents including Codex, Claude Code, Cursor, Windsurf and Copilot can be routed through it so logs, stack traces and config files are masked.
Two modes are offered. Mask mode swaps sensitive values for placeholders. Route mode sends requests that contain sensitive data to a local model such as Ollama, vLLM or llama.cpp, and other requests can still go to a cloud provider. It is written in TypeScript, runs from a Docker image and is licensed Apache-2.0. It is not a compliance program by itself.
Logs, configs and stack traces get masked before they leave your machine.
Skip if: Your agent tooling cannot be pointed at a custom base URL.
One base URL change adds masking in front of OpenAI or Anthropic calls.
Skip if: You already run only local models and never send data to cloud providers.
The browser extension masks names and details in ChatGPT, Claude and Gemini.
Skip if: You need a mature, non-experimental extension.
Sending customer records, credentials or logs to cloud AI services exposes private data, and redacting it by hand is slow. PasteGuard masks it automatically so you can still use hosted models.
docker run --rm -p 3000:3000 ghcr.io/sgasser/pasteguard:latest From the project's own install instructions. Check the docs for production settings.
Yes. It is open source under Apache-2.0.
Yes. Run the Docker image locally or in your own infrastructure.
ChatGPT, Claude and Gemini in the browser, OpenAI and Anthropic APIs, Codex CLI, and coding agents like Cursor and Windsurf.
Yes. Route mode sends requests with sensitive data to Ollama, vLLM or llama.cpp.
AI security and guardrails
Open-source gateway that authorizes AI agent actions before they run
661 57 yesterday Thriving Apache-2.0
AI security and guardrails
Runtime security monitor that checks AI agent actions and reasoning for attacks
599 97 34 days ago Slowing Apache-2.0
AI security and guardrails
415 3 30 days ago Slowing Unknown
AI security and guardrails
Self-hosted proxy that filters prompts and responses between your app and LLM APIs
181 20 17 months ago Dormant BUSL-1.1
AI security and guardrails
Scanner and runtime guard that checks AI projects against Chinese compliance rules
140 23 2 months ago Active Apache-2.0
AI security and guardrails
115 18 2 months ago Dormant Unknown