Skip to content
Back to skills

Redact Pii From Text Before Sharing Or Indexing With Scrubadub

ASecurity

Use scrubadub when an agent needs to strip emails, phone numbers, names, and similar sensitive text before sending content to external systems or search indexes.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 2, 2026
ai-agentspythongogitsecuritydocumentation

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 2, 2026

npx -y skills add agentskillexchange/skills --skill redact-pii-from-text-before-sharing-or-indexing-with-scrubadub --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Redact Pii From Text Before Sharing Or Indexing With Scrubadub?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Redact Pii From Text Before Sharing Or Indexing With Scrubadub
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-redact-pii-from-text-before-sharing-or-indexing-wi/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-redact-pii-from-text-before-sharing-or-indexing-wi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Redact PII from text before sharing or indexing with scrubadub"
slug: "redact-pii-from-text-before-sharing-or-indexing-with-scrubadub"
description: "Use scrubadub when an agent needs to strip emails, phone numbers, names, and similar sensitive text before sending content to external systems or search indexes."
github_stars: 421
verification: "security_reviewed"
source: "https://github.com/LeapBeyond/scrubadub"
author: "LeapBeyond"
publisher_type: "organization"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "LeapBeyond/scrubadub"
  github_stars: 421
---

# Redact PII from text before sharing or indexing with scrubadub

Use scrubadub when an agent needs to strip emails, phone numbers, names, and similar sensitive text before sending content to external systems or search indexes.

## Prerequisites

Python and scrubadub, plus any text source the agent needs to sanitize.

## Installation

Use the upstream install or setup path that matches your environment:
- pip install scrubadub

Requirements and caveats from upstream:
- .. image:: https://img.shields.io/github/workflow/status/LeapBeyond/scrubadub/Python%20package/master
- incorporating it into your python scripts like this:
- This package requires at least python 3.6.

Basic usage or getting-started notes:
- -----------
- .. code:: pycon
- >> import scrubadub

- Source: https://github.com/LeapBeyond/scrubadub
- Extracted from upstream docs: https://raw.githubusercontent.com/LeapBeyond/scrubadub/HEAD/README.rst

## Documentation

- https://scrubadub.readthedocs.io/en/stable/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/redact-pii-from-text-before-sharing-or-indexing-with-scrubadub/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…