PII and Secrets Redactor for Logs

    by Singgih Rochmad Saputro

    1

    Scrub emails, phone numbers, NIK, card numbers, JWTs, passwords and API keys from logs and exports before sharing, Indonesia-ready.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    PII and Secrets Redactor for Logs

    Example session with this skill installed

    Redact this log before I send it to support:
    OTP sent to +62 812-3456-7890
    Charging card 4111 1111 1111 1111 for order #88231
    login failed: password=hunter2&remember=true

    • Read your context and instructions
    • Compiled the pii and secrets

    OTP sent to [PHONE]
    Charging card [CARD] for order #88231
    login failed: password=[SECRET]&remember=true
    Found: phone 1, card 1, secret 1. A password appeared in the log, so change it.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Replace sensitive values with clear placeholders ([EMAIL], [PHONE], [NIK], [CARD], [JWT], [SECRET]) while leaving everything else, including order IDs and timestamps, readable for debugging.

    • "Clean this log before I send it to the vendor"
    • "Redact customer data from this CSV export"
    • "Add PII redaction to our Android / Node / Python logger"
    • "Did any secrets leak into these logs?"
    1. Put the text in a file (or pipe it) and run:

    Options: --with ip,npwp,iban to enable extra rules, --only email,phone to run a subset, --extra 'ORD-\d{6}=[ORDER]' for a custom pattern (repeatable), --report for counts per rule. 2. Review the report. If a rule hit unexpectedly often (e.g. card on a log full of long numeric IDs), sample a few redacted lines and confirm with the user. The card rule already requires a valid Luhn checksum and the NIK rule a valid province, month and day, so false positives are rare. 3. Deliver the redacted file. Never paste the original sensitive values back into the chat, and do not echo found secrets in the summary; report counts and line numbers instead. 4. If secrets (passwords, API keys, tokens) were found, tell the user they should rotate them: redacting a copy does not un-leak the original.

    Pattern-based: it does not detect personal names, street addresses or free text, so it is not full legal anonymisation. Phone detection is tuned for Indonesian mobile numbers; add custom patterns for other countries.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    Software
    Python 3.8+

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    The
    log
    or
    text
    files
    you
    ask
    it
    to
    redact
    their
    redacted
    copies
    and
    optional
    .bak
    backups

    No network access and no API keys. In-place mode overwrites the files you name; use --backup to keep originals.

    Listed4 days ago

    What's inside

    Frequently Asked Questions

    Scrub emails, phone numbers, NIK, card numbers, JWTs, passwords and API keys from logs and exports before sharing, Indonesia-ready.

    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.

    Connect your AI agent to Agensi through MCP, then ask it to use PII and Secrets Redactor for Logs 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.

    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.