Skip to content

Releases: pratikwayal01/datacloak

v0.3.1

Choose a tag to compare

@pratikwayal01 pratikwayal01 released this 01 Oct 05:15

Firefox (AMO) release: gecko ID + MV3 compat, site-toggle fix for required host permissions, settings autosave. Community standards checklist complete (conduct, contributing, security, issue/PR templates).

v0.3.0 — typed entities, profiles, review UX

Choose a tag to compare

@pratikwayal01 pratikwayal01 released this 27 Sep 14:16

DataCloak v0.3.0. Local-first prompt protection: real values become realistic fakes before they reach the model, originals restore on the way back.

Typed custom entities — no regex. Extension rows are value + type (Name, Employee ID, Email, Phone, Other). Each type ships a hardcoded matcher and a same-length / same-case / same-format fake. Right-click any selection to capture it with auto-inferred kind. Legacy literals migrate automatically.

Cloak profiles. Named configs with their own entities, detector flags, and UI prefs. Switching repaints everything; site grants stay global. Rename, guarded delete, live counts.

Review UX. Optional Review-before-sending mode: centered overlay lists every detected value with per-row Keep/Reveal, Send cloaked, one-click Send-original. Same text never asks twice. Auto mode shows cloak counts on a hideable page badge.

Full-page tab. Dedicated shell (sidebar, vault table, persisted panel/fold state) with a side-by-side last-cloak diff and per-sub entity capture. Dev Tools network log carries per-site origins.

Robustness. Recase-tolerant restore, copy-matches-display clipboard handling, confirmed global vault wipe that stays wiped, all-time cloaked counter, first-run tour.

Install: npm i @pratikw/detect @pratikw/datacloak (publish runs on this tag) · Extension: load packages/browser-extension unpacked (v0.3.0). Full changelog in docs/changelog.md.

v0.2.0 — cloak fakes in, originals back

Choose a tag to compare

@pratikwayal01 pratikwayal01 released this 25 Sep 07:58

DataCloak swaps real secrets and PII for realistic synthetic fakes before your prompt reaches any AI model — then swaps the originals back. Same shape, same meaning, zero real data leaves your machine.

curl -fsSL https://raw.githubusercontent.com/pratikwayal01/datacloak/master/install.sh | bash

Docs (install, agents, architecture, privacy): https://pratikwayal01.github.io/datacloak/

Packages (all 0.2.0, one tag, one train)

Package What it does
@pratikw/detect Detection engine (patterns + entropy), Faker synthesis, vault
@pratikw/datacloak cloak / restore / scan / guard CLI, shell integration, hooks for Claude Code, Codex, Gemini, Qwen, Kilo, OpenClaw, Hermes, Pi, DeepSeek, Aider
@pratikw/opencode-plugin Automatic prompt cloaking, env-dump blocking, output redaction, write-path restore for OpenCode
@pratikw/detect-ner Person names, street addresses, gated DOB (heuristics + ONNX loader)

Browser extension

Attached below: datacloak-extension-0.1.0.zip — auto-cloak on 8 AI chat sites, per-tab vault, popup viewer (Brave/Chrome: developer mode → load unpacked).

Privacy

Local-first: no account, no server, no telemetry. Vault stays in memory (CLI file vault is chmod 600). Full policy: https://pratikwayal01.github.io/datacloak/privacy/