๐Ÿ›ก๏ธ CloakVault
100% Offline ยท Zero Core Dependencies ยท 0.14 ms P50

Share Docs, Logs & Contracts with Any AI โ€” Without Leaking a Single Secret

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.

pip install "cloakvault[full]" && cloakvault ui

๐Ÿ” Reversible AI Masking

Deterministic placeholders ([COMPANY_1], [IBAN_1], [DB_URI_1]) preserve full LLM context. Restore AI answers locally in 0.5 ms.

โœ… Checksum-Verified Detectors

Luhn credit card validation, ISO 13616 MOD-97 IBAN verification, 11-digit Turkish TCKN checksum, plus 15+ cloud & AI secret patterns.

๐Ÿ“„ True PDF, DOCX & EXIF Scrubbing

Destroys underlying PDF text layers via PyMuPDF, scrubs hidden OOXML author/company tags, and strips image EXIF/GPS metadata.

๐Ÿ” PBKDF2 Encrypted Local Vaults

Pure-stdlib authenticated encryption (200k iterations), strict 0o600 permissions, and automatic TTL expiration.

๐Ÿ–ฅ๏ธ Air-Gapped Local Web Studio

Run cloakvault ui for a zero-CDN drag-and-drop studio bound strictly to 127.0.0.1.

๐Ÿšฆ CI / Pre-Commit Secret Gate

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