Repository navigation
Releases
Releases · Bosaj/prompt-secret-mask
v0.4.0: keep keys and personal data out of AI prompts
Added
- Masking of keys, tokens, passwords, personal data (including Moroccan phones, RIB, IBAN, CIN and ICE) and IP addresses, with placeholders that stay the same for the same value.
- A vault that restores values in replies, including in streams where a placeholder arrives split.
secret-mask: a CLI to mask text,scanfiles without printing values, and run a local proxy for LLM SDKs.- A web page that works entirely in the browser, with a security policy that forbids it from sending anything.
Security
- Every pattern is bounded, after profiling found 36 s on a hostile 200 KB input. The worst case is now under 20 ms, and a test enforces a limit.
v0.1.0: Secret & PII Detection Engine
Initial Cybersecurity Release
- Shannon entropy scanner and secret detection patterns.
- Bi-directional pseudonymization vault architecture.
- Comprehensive test suite and developer documentation.