SecretGuard Cleaner is a privacy-first toolkit that detects, masks, and previews sensitive data before you paste prompts into LLMs or share snippets with teammates. Everything runs locally in the browser, powered by a reusable secret-detection core and a modern Vite + React experience.
- 🔐 Client-side redaction pipeline – Finds PII, credentials, tokens, and banking details without sending text to a server.
- ⚡ Instant text comparison – Side-by-side panes show original vs. masked content along with detector highlights.
- 🧠 Reusable detection core –
packages/secretguard-coreexposes detectors/maskers so you can embed the logic in other apps. - 🎛️ Policy-aware masking – Switch between masking policies for different security contexts.
- 🌓 Polished UI – Responsive Tailwind UI with theme toggle, trust microcopy, and onboarding-ready hero section.
main_compressed.mp4
| Original Input | Masked Output | Trust & CTA |
|---|---|---|
![]() |
![]() |
![]() |
Need a live glance? Visit the hosted build at secretguard.vercel.app.
- Ensure you have Node.js ≥ 18 and npm ≥ 9 installed.
- Clone the repository:
git clone <repo-url> && cd cleaner - Install workspace dependencies:
npm install - Build the detection core once (required for the web app):
npm run build:core
# Start the client with freshly built detectors
npm run dev
# Build production assets
npm run build:web
# Run unit tests across workspaces
npm test- The dev server launches the Vite web app at
http://localhost:5173. - Paste any text in the “Original” editor; detections stream in as you type.
- Download the masked copy or copy-to-clipboard when you are satisfied with the redaction.
.
├── apps/
│ └── secretguard-web/ # Vite + React frontend
├── packages/
│ └── secretguard-core/ # Detector + masking SDK
├── LICENSE
├── package.json # Workspace scripts
└── vercel.json # Deployment config
- Create a feature branch from
main. - Run
npm run lintandnpm testbefore opening a PR. - Include screenshots or recordings when UI changes impact the masking workflow.
- ⏳ Browser extension that protects prompts anywhere you type.
- ⏳ Shared masking policies synced across teams.
Released under the MIT License © 2025 Jayesh Vegda. See LICENSE for full text.
ping Jayesh on LinkedIn.


