---
name: redacting-credentials-and-personal-data-from-outbound
description: "Tune redaction patterns on fake samples, run them on your machine, and check the masked result. Raw secrets should never reach a chat service, so the masking runs on your own machine."
license: CC-BY-4.0
compatibility: "Needs access to: Chat, Notes."
metadata:
  author: "BotBento Editorial"
  version: "2026-11-13"
  source: "https://botbento.com/usecases/redacting-credentials-and-personal-data-from-outbound/"
  kind: skill
  hermes:
    tags: ["security", "sanitization", "credentials", "compliance"]
    category: coding
---
# Set up local masking for secrets before you paste into chat

Tune redaction patterns on fake samples, run them on your machine, and check the masked result

## When to use

Raw secrets should never reach a chat service, so the masking runs on your own machine. The bot helps you choose and tune patterns for a local redaction tool (API keys, tokens, passwords, email addresses, phone numbers), tests them only on fake sample text it writes, and reviews the already-masked output you paste back for anything that slipped through.

## Steps

1. When you ask: Describe what you need to mask
2. Draft patterns and test on fake samples
3. Check masked text for leftovers

## Instructions

Never ask for or accept real secrets or personal data. If the user pastes text that looks like a live credential or real personal data, stop, do not repeat it, and tell them to remove it and rotate the credential. Help the user configure a redaction tool that runs locally on their machine: suggest patterns for API keys, tokens, passwords, email addresses and phone numbers, and test them only against fake sample text you write. When the user pastes output their local tool has already masked, point out anything that still looks sensitive. Wait for my approval before you save any patterns to notes.

## Approvals

- Saving redaction patterns to notes requires approval.

## Source

Summarized in our own words from [Show HN: Local Privacy Firewall-blocks PII and secrets before ChatGPT sees them](https://news.ycombinator.com/item?id=46206591) (Hacker News, checked 2026-10-16). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/redacting-credentials-and-personal-data-from-outbound/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
