CloakVault masks PII, IBANs, TCKNs, credit cards, API keys, and custom company names locally with deterministic placeholders โ then restores the AI's reply back to real values in one command.
Deterministic placeholders ([COMPANY_1], [IBAN_1], [DB_URI_1]) preserve full LLM context. Restore AI answers locally in 0.5 ms.
Luhn credit card validation, ISO 13616 MOD-97 IBAN verification, 11-digit Turkish TCKN checksum, plus 15+ cloud & AI secret patterns.
Destroys underlying PDF text layers via PyMuPDF, scrubs hidden OOXML author/company tags, and strips image EXIF/GPS metadata.
Pure-stdlib authenticated encryption (200k iterations), strict 0o600 permissions, and automatic TTL expiration.
Run cloakvault ui for a zero-CDN drag-and-drop studio bound strictly to 127.0.0.1.
Use cloakvault scan --fail-on-findings to block accidental secret leaks before commits or deploys.
# 1. Mask a contract or incident log before pasting into ChatGPT / Claude $ cloakvault redact incident.log -o incident.safe.log --entity "Acme Corp:COMPANY" Wrote incident.safe.log (7 findings, mode=reversible) Reversible session saved: cv_20261130_211041_cd1a60 # 2. Restore the AI's reply back to your real values $ cloakvault restore ai_reply.md --session cv_20261130_211041_cd1a60 -o final_reply.md Restored 7 placeholders into final_reply.md # 3. Launch the 100% air-gapped Local Web Studio $ cloakvault ui