---
title: "Redaction Policies"
description: "A browsable, community-curated library of Philter and Phileas redaction policies. Covers HIPAA, PCI DSS, FRBP 9037, AI training data, and more. Apache 2.0."
url: "https://philterd.ai/policies/"
---

Redaction Policies

# Redaction policies, ready to deploy

A community-curated library of [Philter](https://philterd.ai/philter/) and [Phileas](https://philterd.ai/phileas/) policies covering HIPAA, PCI DSS, bankruptcy court filings, AI training prep, and more. Released under the permissive and business-friendly Apache license. Download as-is, fork, or contribute your own.

[View on GitHub →](https://github.com/philterd/pii-redaction-policies) [Contribute a policy →](https://github.com/philterd/pii-redaction-policies/blob/main/CONTRIBUTING.md)

[AI Training (1)](https://philterd.ai/policies/ai-training/) [Contact Center (1)](https://philterd.ai/policies/contact-center/) [Education (1)](https://philterd.ai/policies/education/) [Finance (4)](https://philterd.ai/policies/finance/) [General (8)](https://philterd.ai/policies/general/) [Healthcare (3)](https://philterd.ai/policies/healthcare/) [Legal (3)](https://philterd.ai/policies/legal/)

Legal v2.0.0

### [Bankruptcy Rule 9037 (FRBP 9037) Court Filing Redaction](https://philterd.ai/policies/legal/rule-9037-bankruptcy/)

Redact bankruptcy court filings per FRBP 9037 — last 4 of SSN/TIN/account, year-only of birthdates, minors' names to initials.

FRBP 9037 bankruptcy court filings privacy PII

Philterd

General v1.0.0

### [Brazilian Identifiers (CPF, CNPJ)](https://philterd.ai/policies/general/brazilian-identifiers/)

Redact Brazilian CPF (individual) and CNPJ (company) tax identifiers, formatted or unformatted, validated by their mod-11 check digits.

Brazil CPF CNPJ tax ID national ID

Philterd

General v1.0.0

### [Canadian Social Insurance Number (SIN) Redaction](https://philterd.ai/policies/general/canadian-sin/)

Redact Canadian Social Insurance Numbers (SIN), accepting formatted and unformatted nine-digit values and rejecting Luhn-invalid look-alikes.

Canada SIN Social Insurance Number National ID Luhn

Philterd

General v2.0.0

### [CCPA / CPRA Consumer Privacy Redaction](https://philterd.ai/policies/general/ccpa-consumer-privacy/)

Redact personal information and sensitive personal information as defined by the California Consumer Privacy Act (CCPA/CPRA) from consumer records.

CCPA CPRA California consumer privacy personal information sensitive personal information privacy

Philterd

Healthcare v2.0.0

### [Clinical Notes De-Identification (Date-Shifted)](https://philterd.ai/policies/healthcare/clinical-notes-deid/)

De-identify clinical notes for research, ML training, or analytics — preserving temporal relationships via per-patient date shifting.

HIPAA PHI clinical notes date shifting research

Philterd

Contact Center v1.0.0

### [Contact Center Call Recording Transcripts](https://philterd.ai/policies/contact-center/call-recording-transcripts/)

Strip cardholder data and PII from contact-center call transcripts — primarily PAN, CVV, SSN, account numbers — to reduce PCI DSS scope and meet QA privacy requirements.

PCI DSS contact center call recording transcripts PCI scope reduction QA

Philterd

Education v2.0.0

### [FERPA Student Records Redaction](https://philterd.ai/policies/education/ferpa-student-records/)

Remove personally identifiable information from student educational records per FERPA (20 USC 1232g; 34 CFR Part 99).

FERPA education K-12 higher-ed student records 20 USC 1232g

Philterd

Legal v2.0.0

### [FRCP 5.2 Federal Civil Filing Redaction](https://philterd.ai/policies/legal/rule-5-2-federal-civil/)

Redact federal civil filings per FRCP 5.2 — last 4 of SSN/TIN/account, year-only birthdates, minor names to initials.

FRCP 5.2 federal civil court filings privacy PII

Philterd

General v1.0.0

### [French Identifiers (NIR, SIREN, SIRET)](https://philterd.ai/policies/general/french-identifiers/)

Redact French social-security numbers (NIR) and business identifiers (SIREN, SIRET), validated by their control key or Luhn check.

France NIR INSEE SIREN SIRET social security business ID

Philterd

General v2.0.0

### [GDPR Personal Data Redaction](https://philterd.ai/policies/general/gdpr-personal-data/)

Redact personal data and special-category data as defined by the EU General Data Protection Regulation (GDPR) from documents and records.

GDPR EU personal data data protection Article 4 Article 9 privacy

Philterd

General v2.0.0

### [General-Purpose Starter Policy](https://philterd.ai/policies/general/general-purpose/)

A balanced starting policy covering common PII types — names, contact info, government IDs, payment data — with no vertical-specific tuning.

starter general default

Philterd

General v1.0.0

### [German Identifiers (Steuer-ID, Personalausweis)](https://philterd.ai/policies/general/german-identifiers/)

Redact German tax identification numbers (Steuer-ID / IdNr) and national ID card numbers (Personalausweis), validated by their check digits.

Germany Steuer-ID IdNr Personalausweis national ID tax ID

Philterd

Finance v2.0.0

### [GLBA Nonpublic Personal Information (NPPI) Redaction](https://philterd.ai/policies/finance/glba-nppi-redaction/)

Redact Nonpublic Personal Information (NPPI) from financial customer records under the Gramm-Leach-Bliley Act (15 USC 6801-6809).

GLBA NPPI financial privacy Safeguards Rule 15 USC 6801 banking

Philterd

Healthcare v2.0.1

### [HIPAA Safe Harbor De-Identification](https://philterd.ai/policies/healthcare/hipaa-safe-harbor/)

A starting point for HIPAA Safe Harbor de-identification of clinical text per 45 CFR 164.514(b)(2).

HIPAA Safe Harbor PHI 45 CFR 164.514 de-identification

Philterd

AI Training v2.0.0

### [LLM Training Data Preparation](https://philterd.ai/policies/ai-training/llm-training-data-prep/)

Aggressive PII redaction for documents being fed into LLM training, fine-tuning, or RAG vector stores — preserves semantic structure with type tokens.

AI LLM fine-tuning training data RAG ingestion

Philterd

Healthcare v2.0.0

### [Medical Chatbot — User Input Redaction](https://philterd.ai/policies/healthcare/medical-chatbot/)

Redact PHI from user messages to a healthcare chatbot before they reach the LLM — preserves clinical meaning while removing identifiers.

HIPAA PHI chatbot LLM conversational AI RAG

Philterd

Finance v1.0.0

### [PCI DSS Scope Reduction](https://philterd.ai/policies/finance/pci-dss-scope-reduction/)

Strip cardholder data (PAN, CVV, expiration) from logs, transcripts, and tickets to reduce PCI DSS scope per Requirement 3.4.

PCI DSS cardholder data PAN scope reduction Req 3.4

Philterd

Finance v2.0.0

### [SOX Financial Records Redaction](https://philterd.ai/policies/finance/sox-financial-records/)

Redact personal and account identifiers from financial records and audit workpapers under Sarbanes-Oxley while preserving the financial figures auditors need.

SOX Sarbanes-Oxley financial reporting audit internal controls SEC 15 USC 7201

Philterd

General v1.0.0

### [Spanish Identifiers (DNI, NIE, CIF)](https://philterd.ai/policies/general/spanish-identifiers/)

Redact Spanish personal and organization identifiers (DNI, NIE, CIF), validated by their control letter or character.

Spain DNI NIE CIF national ID tax ID

Philterd

Legal v2.0.0

### [State Court Filings Baseline Redaction](https://philterd.ai/policies/legal/state-court-filings-baseline/)

A starting policy for state-court PII redaction — covers the most-common state requirements; tune for your specific jurisdiction.

state court court filings privacy PII baseline

Philterd

Finance v1.0.0

### [SWIFT / BIC Codes](https://philterd.ai/policies/finance/swift-bic-codes/)

Redact SWIFT/BIC bank and business identifier codes (ISO 9362), validated structurally including a valid ISO 3166 country segment.

SWIFT BIC ISO 9362 banking wire transfer

Philterd

## Using a policy

Every policy is a single JSON file. Download it, upload it to your Philter instance, and reference it by name from the redaction API.

```
# 1. Download the policy
curl -O https://raw.githubusercontent.com/philterd/pii-redaction-policies/main/policies/philterd/healthcare/hipaa-safe-harbor.json

# 2. Upload it to Philter as hipaa-safe-harbor
curl -sk -X POST "https://localhost:8080/api/policies?name=hipaa-safe-harbor" \
     -H "Authorization: Bearer $PHILTER_API_KEY" \
     -H "Content-Type: application/json" \
     --data @hipaa-safe-harbor.json

# 3. Redact text with it
curl -sk "https://localhost:8080/api/filter?p=hipaa-safe-harbor" \
     -H "Authorization: Bearer $PHILTER_API_KEY" \
     -H "Content-Type: text/plain" \
     --data-binary "Patient John Smith was discharged on 2025-03-14."
```

For Philter 4.0. No Philter instance yet? The [quick start](https://philterd.ai/dev/start/) runs one with Docker or from your cloud’s marketplace, and shows where `PHILTER_API_KEY` comes from.

## Contributing

The library lives at [github.com/philterd/pii-redaction-policies](https://github.com/philterd/pii-redaction-policies). PRs welcome: bring your own vertical, your own custom identifiers, your own edge cases.

### Why contributing matters

The library is more useful the more eyes are on it. Every policy you contribute saves another team (in healthcare, finance, legal, government, AI training) from rebuilding the same thing privately and often incorrectly. **A rising tide lifts all boats.**

- **You save peers time.** A FERPA policy you write for K-12 student records is the starting point another district uses next week. A call-center PCI policy you tune today is the one a peer at a different bank doesn’t have to invent from scratch.
- **You get better policies.** Public PR review pulls in compliance officers, security engineers, and practitioners from outside your team. Your draft comes out tighter than anything a single team would ship alone.
- **You get credit.** Your name (or your org’s) lands in the policy’s `author` field and shows up on the policy’s page right here on philterd.ai. Durable attribution, not a buried changelog entry.
- **You compound the library.** Healthcare PHI patterns inform finance NPPI work. Legal redaction patterns inform government FOIA prep. A contribution in one vertical strengthens the adjacent ones.
- **You make the whole ecosystem safer.** Every team that adopts a vetted, peer-reviewed policy is one fewer team rolling their own regex and missing identifiers in production. Privacy is a collective-action problem; this is the collective action.

### How review works

Every contribution gets reviewed for: schema compliance, sidecar metadata completeness, and golden-file validation against a representative input. See [CONTRIBUTING.md](https://github.com/philterd/pii-redaction-policies/blob/main/CONTRIBUTING.md) for the file layout, metadata schema, and review process.

Policies must conform to the [Phileas redaction policy JSON schema](https://philterd.ai/schemas/redaction-policy/1.1.0/schema.json).

## Frequently asked questions

If something here isn’t covered, [get in touch](https://philterd.ai/policies/#) and we’ll answer.

What is a redaction policy?

A redaction policy is a single JSON file that tells [Philter](https://philterd.ai/philter/) and [Phileas](https://philterd.ai/phileas/) which types of PII and PHI to find and how to handle each one (redact, mask, encrypt, replace with a synthetic value, or pass through). Every policy in this library conforms to the [Phileas redaction policy JSON schema](https://philterd.ai/schemas/redaction-policy/1.1.0/schema.json).

How do I use a policy from this library?

Download the JSON file, upload it to your Philter instance, and reference it by name from the redaction API. The exact commands are in the [Using a policy](https://philterd.ai/policies/#using) section above. No Philter instance yet? [Deploy one in about five minutes](https://philterd.ai/philter/deploy/).

What is the difference between Philterd and Community policies?

Each policy card carries a badge. **Philterd** policies are written and maintained by the Philterd team; **Community** policies are contributed by practitioners outside Philterd and reviewed before they are merged. Both are released under the same permissive Apache license and held to the same schema and validation standards.

Are the policies free to use?

Yes. The entire library is released under the permissive and business-friendly Apache License, version 2. Download a policy as-is, fork it, adapt it to your own data, and ship it in production with no fees and no vendor lock-in.

Does using a HIPAA or PCI policy make me compliant?

No policy can do that on its own. These are vetted, peer-reviewed starting points that encode the entity types and handling rules a given framework calls for, not a legal guarantee of compliance. Treat any policy as a baseline: tune it against your real data, measure the results ([Philter Scope](https://philterd.ai/philter-scope/) scores precision and recall per entity type), and have the right people review it before you rely on it.

Can I contribute my own policy?

Yes, and contributions are welcome. The library lives at [github.com/philterd/pii-redaction-policies](https://github.com/philterd/pii-redaction-policies); open a pull request with your policy and its metadata. See [CONTRIBUTING.md](https://github.com/philterd/pii-redaction-policies/blob/main/CONTRIBUTING.md) for the file layout, metadata schema, and review process. Your name or your organization is credited in the policy's author field and on its page here.

What if the policy I need isn't in the library?

If you have a specific compliance framework or vertical use case that the library doesn't cover, the Philterd team can build a custom policy and tune it against your real data. [Talk to the team](https://philterd.ai/policies/#) about a custom policy.

## Need a policy that isn't here?

If you have a specific compliance framework or vertical use case in mind, the Philterd team can build a custom policy and tune it against your real data.
