# Sensitive Data & Log Privacy Scrubber

> Scan and redact secrets, PII, IDs, bank cards, and custom terms in logs, configs, and code—never modifying originals—with optional lossless restore.

Sensitive Data & Log Privacy Scrubber is a paid AI agent skill on Agensi by kkbeingbusy, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [kkbeingbusy](https://www.agensi.io/creators/kkbeingbusy)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.1
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/sensitive-data-log-privacy-scrubber
- Tags: security, code-quality-review, productivity

## About this skill

Safely detect and redact sensitive information in logs, configs, source code, and text documents before sharing them with teammates or AI tools—built with Python 3.8+ standard library only.

### Key Capabilities
- **12 High-Precision Detectors**: PEM private keys (`PRIVATE_KEY`), database connection strings with credentials (`CONN_STR`), `JWT`, API keys (`sk-`, `ghp_`, `AKIA`, `AIza`, `xoxb-`, `Bearer`), key-value secrets (`password=`, `api_key=`), `EMAIL`, 18-digit Chinese Resident IDs (`CN_ID` with GB 11643-1999 check digit), bank cards (`BANK_CARD` with Luhn checksum), Chinese mobile numbers (`PHONE_CN`), private/public IPv4 addresses (ignoring version numbers like `v2.4.1.0`), and custom exact/regex term dictionaries (`--terms`).
- **Two Redaction Modes**: Reversible `[CATEGORY_N]` placeholders (preserving correlation for debugging) with optional `--map-out` + `restore`, or irreversible visual masking (`--style mask`, e.g. `138****5678`).
- **Strict Non-Destructive Guarantees**: Never modifies original files in-place, masks `scan` previews by default, and skips binary files cleanly.

## Requires

- Python 3.8+

## Known limitations

Pattern- and checksum-based detection is designed for structured text, logs, configs, and source code; binary files are skipped. Phone and national ID patterns are tuned for Chinese mainland formats alongside global secrets, emails, cards, and IPs.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Sensitive Data & Log Privacy Scrubber skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Sensitive Data & Log Privacy Scrubber do?

Scan and redact secrets, PII, IDs, bank cards, and custom terms in logs, configs, and code—never modifying originals—with optional lossless restore.

### Which AI agents support Sensitive Data & Log Privacy Scrubber?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Sensitive Data & Log Privacy Scrubber?

Connect your AI agent to Agensi through MCP, then ask it to use Sensitive Data & Log Privacy Scrubber on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
