rohansx/cloakpipe
Privacy middleware for LLM & RAG pipelines - consistent pseudonymization, encrypted vault, SSE streaming rehydration.
Detects 30+ PII entity types using a three-layer pipeline (regex pre-filter, ONNX-based GLiNER2 NER, fuzzy entity resolution) with <5ms latency, storing deterministic session-scoped token mappings in an AES-256-GCM encrypted local vault. Acts as a drop-in OpenAI-compatible proxy (single Rust binary, zero dependencies) that integrates seamlessly with LangChain, Anthropic, and standard SDK clients by intercepting at the base URL level. Includes specialized support for Indian PII (Aadhaar, PAN, UPI, GSTIN) and DPDP 2023 compliance.
Stars
14
Forks
4
Language
Rust
License
MIT
Category
Last pushed
Mar 11, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/rohansx/cloakpipe"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
LLAMATOR-Core/llamator
Red Teaming python-framework for testing chatbots and GenAI systems.
sleeepeer/PoisonedRAG
[USENIX Security 2025] PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented...
JuliusHenke/autopentest
CLI enabling more autonomous black-box penetration tests using Large Language Models (LLMs)
kelkalot/simpleaudit
Allows to red-team your AI systems through adversarial probing. It is simple, effective, and...
SecurityClaw/SecurityClaw
A modular, skill-based autonomous Security Operations Center (SOC) agent that monitors...