Repository navigation
Releases
v0.2.0 — Opt-in file masking for CSV, JSON and project files
Adds opt-in, read-only file tools and makes the restoration reference visible to text-only clients.
Added
mask_fileandscan_file: one named UTF-8 file (up to 1 MB) below a single project directory. Off by default; both tools exist only when the server is started with--root <directory>. Links and outside paths are refused; nothing is written.- Cell-by-cell masking for CSV/TSV with a table-shape check, value-wise masking for JSON and JSON Lines, plain-text fallback reported as
text. scan_json: category counts for JSON string values.
Changed
mask_textandmask_jsonreturn the same JSON object (masked text,session_id, counts) in the text content and instructuredContent. 0.1.4 returned only the masked text in the text content. Clients that parse the text content need to read themaskedfield.- A masking result above 1 million characters and a restoration above 2 million output characters are refused.
- Expired sessions are removed by a timer, not only on the next tool call (reference removal, not physical memory erasure).
- Session references come from
node:crypto, so masking works on plain Node 18. scan --stagedalso selects staged type changes.
Evidence: CI on Node 22 and 24, 197 tests each, zero failures and zero skips, including all 14 real Git fixtures (run 46898533548). Fictional data only.
Boundaries: masking requires explicit tool or CLI calls and does not intercept a client's own file reads; values the patterns do not recognise stay unmasked; restoration returns originals to the caller. PDF, Office documents and images are not supported. Windows, macOS and installed AI clients were not exercised with this version.
This release starts the npm publication workflow. npm artifact verification and the MCP Registry update are separate follow-up checks recorded in RELEASE.md.
v0.1.4 — Local scans and Git pre-commit checks
Adds bounded read-only directory scans, full changed-index scans and preview-first local pre-commit installation. Includes English enterprise guidance and version-aligned MCP Registry metadata.
Release candidate CI passed on Node 22 and 24: 161 tests each, zero failures and zero skips, including all 13 real Git fixtures. CodeQL completed successfully.
Boundaries: masking requires explicit tool/CLI calls. This release does not intercept native model file reads, implement a pre-push hook or establish installed AI-client compatibility. Restoration returns originals to the caller.
This release starts the existing npm publication workflow. npm artifact verification and MCP Registry acceptance are separate follow-up checks.
v0.1.3 — English documentation
English-first documentation, examples and artwork for international users.
MCP help, setup messages, tool descriptions and errors are now in English. All five tool names and existing masking/session limits are unchanged.
Local fictional-input regression tests passed. No real model calls, editor installation tests or independent certification are claimed.
v0.1.2 – eigene Schutzbegriffe und JSON-Maskierung
Änderungen
- Eigene Schutzbegriffe (
custom_terms) für mask_text, scan_text und mask_json. - Neue Werkzeuge mask_json und restore_json: JSON-Zeichenkettenwerte maskieren und JSON-sicher wiederherstellen; Schlüssel und Zahlenlexeme bleiben unverändert und ungeschützt.
- MCP-Banner im Shield-Stil für GitHub und npm.
- 127 lokale Tests bestanden, einschliesslich echtem Node-stdio-Ablauf und Anbieter-SDKs mit lokalen Antworten; keine echten Modellaufrufe.
- Entwicklungsabhängigkeiten und eingefrorener Bun-Lockfile für die eigenständigen Tests; weiterhin keine Laufzeit-Abhängigkeiten.
Grenzen
Nur explizite Eingaben, keine automatische Abfangfunktion. Mustererkennung kann sensible Daten übersehen. restore_text/restore_json geben Originale an den aufrufenden Client zurück. Sitzung spätestens 60 Minuten ab Erstellung; kein garantierter sicherer RAM-Löschvorgang. Echte Editorinstallationen und unabhängige Neubewertungen nicht nachgewiesen.
MIT · lokal · stdio · keine Netzwerkaufrufe im Paket.
v0.1.1
- Tool annotations and input descriptions for mask_text, scan_text, restore_text
- Local masking of common developer secrets
initpreviews by default; writes only with--write, backs up existing config- Test suite included (41 tests)
Pattern-based detection can miss secrets; no automatic interception of client input.
v0.1.0 - Local MCP Server + CLI
Initial release of @promptaudit/mcp: Local MCP server for Claude Desktop, Cursor, and Windsurf, plus terminal CLI for pre-LLM PII and secret masking.