{"repo":"spire-studio/cloakbot","free":true,"listed":false,"github":"https://github.com/spire-studio/cloakbot","clone":"git clone https://github.com/spire-studio/cloakbot.git","description":"A privacy-first AI agent that sanitizes your prompts locally with a local LLM before forwarding to remote LLM APIs.","language":"Python","stars":209,"topics":["ai-security","llm","local-first","privacy","privacy-preserving-ai","prompt-sanitization","trustworthy-ai"],"license":null,"category":"ai-agents","readme_excerpt":"CloakBot — A Local Privacy Kernel for Frontier LLMs Use Claude / GPT / Gemini without your data ever leaving your laptop. English 简体中文 Built on nanobot · Submitted to the Gemma 4 Good Hackathon (Kaggle, May 2026) --- 📋 TL;DR Frontier LLM use is now load-bearing — but the data that crosses the wire is non-revocable. CloakBot moves enforcement before the wire : a local privacy kernel on Gemma 4 E2B that detects sensitive spans, assigns stable typed placeholders, redacts images, chunks long documents, and restores outputs locally from a per-session vault. The remote LLM is interchangeable — Claude, GPT, and Gemini all accept the sanitised stream unchanged. 2,872 entity-test instances of receipts across three leak-eval layers — 7.98% pair leak (text) · 1.11% span leak (visual) · 6.26% pair leak (long-document) · 97.14% cross-turn alias consistency. --- 🔍 How it works Streaming output is buffered until restoration completes — the user never sees raw placeholders. --- What gets detected Category Examples Severity --- --- :---: Personal & contact Names, phone, email, address High Unique identifiers SSN, passport, account, license plate High Secrets & access Passwords, API keys, tokens, private URLs High Organisation & network Company names, school names, IPs High Medical & narrative PHI, treatments, diagnoses, code names High Numeric & temporal Money, dates, percentages, counts, measurements, coordinates High Detection is split into GeneralPrivacyDetector (non-computable text span","default_branch":null,"files":null,"tree":[],"storefront":"/r/spire-studio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spire-studio/cloakbot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}