1
    PII & Privacy Leak Gate

    PII & Privacy Leak Gate

    by PubsProToolkit

    An adversarial security gate to detect and redact PII, secrets, and confidential data before sending prompts.

    Updated Jun 2026
    Security scanned
    including Claude Code

    $5

    · or 25 credits

    30-day refund guarantee

    Secure checkout via Stripe

    Included in download

    • Redact API keys and secrets from logs before sharing with support
    • Anonymize customer data in transcripts before LLM analysis
    • file_read, file_write automation included
    • Ready for including Claude Code
    • Instant install

    Sample input

    Scan this log for PII before I send it to the support bot: 'Error at 10:15 AM for user john.doe@gmail.com. Connection failed with API_KEY=sk-123456789abc.'

    Sample output

    Verdict: BLOCK Findings:

    • Email (Medium): j...m (personal identifier)
    • API key (High): ...bc (credential)

    Redacted rewrite: 'Error at 10:15 AM for user [REDACTED_EMAIL]. Connection failed with API_KEY=[REDACTED_API_KEY].'

    About This Skill

    Protect Sensitive Data Before It Leaves the Boundary

    The PII & Privacy Leak Gate is an adversarial review skill that scans text - prompts, logs, code, or AI outputs - for personal data, secrets, and confidential information. It acts as a final check before you paste sensitive data into a third-party AI or ship agent-generated content downstream.

    How It Works

    The skill runs a structured privacy review, analyzing your input against six categories of sensitive data, including direct identifiers, government and financial IDs, credentials, and confidential business info. It does not just block; it explains the risk and returns a safer version of your text.

    • Risk Assessment: Categorizes findings into High, Medium, and Low severity.
    • Adversarial Logic: Assumes destinations are untrusted, so it errs toward catching more rather than less.
    • Automatic Redaction: Returns a clean rewrite of your text with clear placeholders like [REDACTED_API_KEY] or [REDACTED_EMAIL].
    • Clear Verdict: Every review ends in a single PASS, FLAG, or BLOCK decision with the reasoning shown.

    Why Pay for This?

    Prompting an AI to "be careful" is not enough. This skill applies a structured adversarial framework that forces an explicit PASS/FLAG/BLOCK verdict, so findings are surfaced consistently instead of slipping through. It is a practical guardrail that helps your team catch accidental data exposure, support your privacy and compliance efforts, and avoid credential leaks before text leaves a trusted boundary.

    Built for developers, support and ops teams, and anyone who pastes text into AI tools or ships agent output and wants a last review first.

    Use Cases

    • Redact API keys and secrets from logs before sharing with support
    • Anonymize customer data in transcripts before LLM analysis
    • Prevent internal hostnames and file paths from leaking to public AI models
    • Review agent-generated emails for PII before they are sent to customers

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    Read Files
    Write Files

    Read Files is used to review text or files you point it at. Write Files is used only to save the redacted rewrite or review report when you ask for it. The skill needs no terminal, network, or environment access.

    No runtime or dependencies required. Works with any agent that follows the SKILL.md standard, including Claude Code, Codex CLI, Cursor, VS Code Copilot, and Gemini CLI. The skill reads the text you give it and returns a verdict plus a redacted rewrite.

    Creator

    PubsProToolkit builds adversarial "gate" skills for AI agents — they catch problems before your output ships, instead of just generating more. From code, security, and infrastructure to content, hiring, contracts, and finance. Built by a CMPP-certified, PhD medical writer who brings regulated-industry rigor to every domain.

    Frequently Asked Questions

    More Premium Skills

    $5