Works with the AI Agents you already use
PII & Secret Redactor: Free Offline Privacy Scrubber
by ClumsyMoney
Sanitizes logs, CSV exports, HAR captures, and .env files locally before sharing with teammates or AI tools.
Free
PII & Secret Redactor: Free Offline Privacy Scrubber
Example session with this skill installed
Scrub ./raw/support_export.csv and ./raw/staging.env into ./clean/ using reversible tokenization with vault ./private/run.vault.json, then run the zero-leak verification gate.
- Read your context and instructions
- Compiled the pii & secret
- Generated the data export
Offline Privacy Scrub Summary
- Verification Gate:
PASS(exit code0) - Mode:
tokenize(Vault saved to./private/run.vault.json, mode0600— keep out of Git/chat) - Files Processed:
2sanitized,0warnings, originals untouched
| Category | Matches Redacted | Validation Method |
|---|---|---|
EMAIL | 3 | RFC 5322 syntax (RFC 2606 skipped) |
PAYMENT_CARD | 1 | ISO/IEC 7812 Luhn Mod-10 |
ENV_SECRET | 2 | Sensitive key & URI credential parser |
Zero residual leaks detected across ./clean/support_export.csv and ./clean/staging.env.
support_export.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Sanitizes logs, CSV exports, HAR captures, and .env files locally before sharing with teammates or AI tools. Masks customer PII, auth tokens, and production API keys offline with zero network calls while preserving original file structure.
PII & Secret Redactor is a 100% free, 100% offline Python 3.9+ privacy scrubber that cleans local files before they ever leave your machine—with zero pip installs, zero API keys, and zero network requests.
What It Does
- Checksum- & Entropy-Validated Detection (
redact_files.py): Detects emails (skipping RFC 2606 example domains), US SSNs (filtering invalid SSA areas), payment card numbers (ISO/IEC 7812 Luhn Mod-10), IBANs (ISO 13616 Mod-97 across 24 countries), public IPv4/IPv6 addresses (preserving RFC 1918 private and RFC 5737 doc IPs by default), provider tokens (AWS, GitHub, Stripe, Slack, Google, JWT, Bearer headers, PEM keys), and high-entropy secret assignments—while ignoring UUIDs, Git commit SHAs, and non-Luhn order IDs. - Format-Preserving Redaction: Parses
JSON,JSONL,HAR 1.2,CSV,TSV, and.envnatively so sanitized outputs stay valid, parseable, and column-aligned. Scrubs HAR headers, cookies,postData.text, andrequest.queryString+request.urlin sync. - Permanent Masking or Reversible Tokenization (
restore_tokens.py): Choose permanent[REDACTED:EMAIL]masks or deterministic reversible<<EMAIL_001>>tokens backed by a local0600vault JSON so you can restore values locally after debugging. - Independent Zero-Leak Verification Gate (
verify_zero_leak.py): Re-scans sanitized outputs against all active rules and vault fingerprints without printing raw secrets, exiting0(PASS) or1(FAIL) with exactfile:line:collocations.
Supported File Formats
- Logs & plain text (
.log,.txt,.md,.sql) - Structured tables (
.csv,.tsv) - JSON & newline-delimited JSON (
.json,.jsonl) - Browser network captures (
.har1.2) - Environment configs (
.env, including database URI credentials)
This toolkit scrubs text-based formats (logs, Markdown, CSV/TSV, JSON/JSONL, HAR 1.2, .env, SQL) using deterministic rules, checksums, and entropy thresholds; it does not perform OCR on binary images/PDFs or contextual NER for arbitrary unformatted person names in free-form prose.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 3 days ago
- Free with an Agensi account
- Software
Python 3.9+
Permissions
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.