OpenObscure: Open-Source On-Device Privacy Firewall for AI Agents

What OpenObscure Does
OpenObscure addresses the problem where most PII redaction tools replace sensitive data with placeholders, which breaks LLM functionality since the model can't reason about the structure of obscured data like credit card numbers or SSNs. Instead, OpenObscure uses FF1 Format-Preserving Encryption (AES-256) to encrypt PII values before the request leaves your device. The LLM receives realistic-looking ciphertext that maintains the same format but contains fake values. On the response side, values are automatically decrypted before your agent sees them.
Integration requires just one line: change the base_url to the local proxy.
Core Features
- PII detection: Uses regex + CRF + TinyBERT NER ensemble with 99.7% recall for 15+ data types
- FF1/AES-256 FPE: Keys stored in OS keychain, nothing transmitted
- Cognitive firewall: Scans every LLM response for persuasion techniques across 7 categories using a 250-phrase dictionary + TinyBERT cascade, aligning with EU AI Act Article 5 requirements on prohibited manipulation
- Image pipeline: Face redaction (SCRFD + BlazeFace), OCR text scrubbing, NSFW filter
- Voice processing: Keyword spotting in transcripts for PII trigger phrases
- Architecture: Rust core, runs as Gateway sidecar (macOS/Linux/Windows) or embedded in iOS/Android via UniFFI Swift/Kotlin bindings
- Hardware optimization: Auto-detects device capabilities and selects appropriate tier (Full/Standard/Lite)
Technical Details
The tool is licensed under MIT/Apache-2.0 with no telemetry and no cloud dependency. It's designed to work with OpenClaw, with setup instructions available at the GitHub repository.
📖 Read the full source: r/openclaw
👀 See Also

Two Approaches to Reduce Data Leak Risk with AI Agents
A Reddit post outlines two methods for developers to control where their AI agent data goes: using your own API keys directly with providers like OpenAI or Anthropic to cut out middlemen, or running open-source models locally with tools like Ollama and OpenClaw.

Reddit user reports OpenClaw VM persistence and suspicious activity
A Reddit user reports their OpenClaw virtual machine automatically restarting after being closed and exhibiting suspicious behavior including opening Microsoft Store and attempting to download questionable files.

Developer Builds Firecracker MicroVM Sandbox for OpenClaw Security
A developer concerned about LLM security built a bare-metal sandbox using Firecracker microVMs to isolate OpenClaw scripts, with each script running in its own Linux kernel with 128MB RAM cap and no network by default.

AI Chatbots Leaking Real Phone Numbers: The PII Exposure Problem
Chatbots like Gemini, ChatGPT, and Claude are exposing real personal phone numbers due to PII in training data. DeleteMe reports a 400% increase in AI-related privacy requests in seven months.