sgasser/pasteguard
AI gets the context. Not your private data. Local-first privacy proxy for browser chat, AI APIs, and coding agents.
解決的問題
PasteGuard 可防止個人識別資訊(PII)與密碼被傳送至雲端 AI 提供者。在處理敏感的客戶資料、客戶記錄或生產日誌時,無需手動脫敏,也無需切換至效能較低的本地模型。
工作原理
PasteGuard 作為一個本地優先的隱私層與代理。它會攔截對 AI 提供者(如 OpenAI、Anthropic 或 Gemini)的請求,在資料抵達提供者前,將敏感資料(如姓名、電子郵件和 API 金鑰)以佔位符取代。然後在使用者看到回應前,將這些佔位符還原。它結合使用校驗碼、格式檢查與語意後端(GLiNER)進行偵測。
適用對象
專為必須遵守嚴格隱私規則、無法將原始敏感資料傳送至雲端 AI 提供者的團隊與開發者設計,包括使用瀏覽器聊天介面、自訂應用程式/API 或 AI 編碼代理的使用者。
主要特色
- 多接口支援:支援透過瀏覽器擴充套件用於聊天介面,透過代理用於 API/SDK,以及與 Cursor 和 Copilot 等編碼代理整合。
- 隱私模式:提供「遮蔽模式」用於佔位符取代,以及「路由模式」將敏感請求重新導向至本地 LLM(例如 Ollama)。
- 廣泛偵測:可識別多語言個人資料(姓名、地點、電子郵件等)與多種密碼(API 金鑰、SSH 金鑰、JWT 等)。
- 本地優先:可透過 Docker 在本地執行,或在私人基礎設施中自行托管。
相關
- 專案
- 專案
dataiku/kiji-proxyKiji Privacy Proxy is an open‑source local proxy (macOS desktop app or Linux server) that automatically detects and masks 26 types of personally‑identifiable information in requests to AI services (OpenAI, Anthropic, Gemini, etc.) using an ONNX‑optimized DistilBERT model. It replaces sensitive data with realistic dummy values before forwarding the request, then restores the original data in the response. The tool works transparently via HTTP proxy settings (PAC on macOS, env vars on Linux), includes a Chrome extension for web‑based chat, offers a UI for reviewing masked mappings, and is configurable via custom regexes. All PII processing happens locally, keeping data private and helping meet GDPR/CCPA/HIPAA requirements. Installation is via Homebrew cask on macOS or Debian/Ubuntu packages, Docker, or tarballs. The project is Apache‑2.0 licensed and maintained by Dataiku’s 575 Lab, with full documentation, contribution guides, and security contact information.
- 專案
- 專案
- 專案