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
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.
[](https://www.skillsdirectory.com/skills/agentskillexchange-redact-pii-from-text-before-sharing-or-indexing-wi)
---
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/)