Document Redaction Pack
★Trusted◇Sandbox optionalv1.0.0MIT✔Verified80by AgentNode · published 5 months ago · toolpack
Redact sensitive information like PII, SSNs, and emails from documents.
Automatically detect and redact personally identifiable information, social security numbers, credit card numbers, emails, and phone numbers from documents.
Quick Start
agentnode install document-redaction-packRuns in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.
Usage
From packagefrom document_redaction_pack.tool import run
result = run(
action="redact_document",
text="""Customer: Hi, my name is Sarah Chen and my account email is
sarah.chen@gmail.com. I need help with order #48291.
My SSN on file is 412-68-9103 and my phone is (415) 555-0187.
Please ship to 742 Evergreen Terrace, Springfield IL 62704.""",
redact_types=["ssn", "email", "phone", "address", "person_name"],
replacement_style="label"
)
print(result["redacted_text"])
# Customer: Hi, my name is [PERSON_NAME] and my account email is
# [EMAIL]. I need help with order #48291.
# My SSN on file is [SSN] and my phone is [PHONE].
# Please ship to [ADDRESS].
print(f"Entities redacted: {result['redaction_count']}")
for entity in result["entities_found"]:
print(f" {entity['type']}: {entity['original'][:20]}...")Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Verified in real_auto mode
Last verified 8/6/2026· Runner v2.0.0
Use this when you need to...
- ›Redact Social Security numbers from legal PDF documents
- ›Strip email addresses and phone numbers from customer support logs
- ›Anonymize patient names in medical records before sharing
- ›Remove credit card numbers from transaction report exports
- ›Mask IP addresses and hostnames in security audit files
README
Version History
Capabilities
Permissions
Declared by the publisher. Checked before execution by the policy gate.
Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more
Privacy
All tool execution happens locally on your machine. AgentNode never receives:
- • Tool inputs or outputs
- • Execution logs
- • Data your agent processes
Only install events and search queries are sent to the registry.
agentnode install document-redaction-packFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode