Source Code Production Redaction with anonym.plus

Clear PII from code comments and config while the logic stays intact.

Source-code redaction is the removal of personal data from programs disclosed under a CPR 31.22 confidentiality regime for a secure review. anonym.plus runs locally and clears names in comments and config, keeping the logic intact.

When this applies

This disclosure goes to a locked review room under a strict regime. Comments, commit notes, and config files often hold developer names and credentials.

How anonym.plus handles it

  1. Load the program files into anonym.plus on your device.
  2. It scans comments, commit logs, and config values.
  3. The tool flags developer names, emails, and tokens.
  4. Confirm the flags; leave the program logic untouched.
  5. Replace or mask each confirmed value.
  6. Save the clean files on your device.

What you need to provide

PII entity types detected

Categoryanonym.plus entity typeExample
NamesPERSON// author: J. Doe → [DEV]
ContactEMAIL_ADDRESSj.doe@corp.co.uk → [EMAIL]
IdentifiersPERSONcommit user token → [USER]
SecretsPERSONhardcoded key → [SECRET]
DatesDATE_TIMEcommit date → [DATE]
ContactPHONE_NUMBERsupport phone → [PHONE]

Compliance achieved

Anonymise source code disclosure offline — see plans & start free →

Limitations & cautions

Code is sensitive to syntax. A swapped value must keep the file parseable, so use an allow-list for variable and function names. The tool clears named PII in comments and config, but a human must judge what counts as a trade secret versus a name.

Frequently asked questions

Why does source code go under CPR 31.22?

It is a trade secret, so courts set a confidentiality regime and often a secure review room. CPR 31.22 restricts collateral use of the disclosed material.

Will redaction break the program?

Not if you use an allow-list. The tool clears names in comments and config while keeping variable and function names, so the file still parses.

Does it catch hardcoded credentials?

It flags many secret patterns, like keys and tokens, but treat that as a starting point and review the results.