CloakDB: Open-Source Python Tool Anonymizes SQL Dumps While Preserving Foreign Keys
A developer has released CloakDB, an open-source Python tool designed to anonymize relational SQL database dumps without breaking foreign-key relationships. The tool uses deterministic pseudonymization, ensuring the same source value maps consistently across all tables, so relational integrity is maintained after anonymization. CloakDB processes dumps as a streaming pipeline to avoid loading entire datasets into memory, making it practical for large databases. It can detect potential PII including email addresses, phone numbers, credit card numbers, and IP addresses, and offers a scan-and-preview workflow before any changes are applied. The project is publicly available on GitHub, and the developer is seeking feedback from those who have worked with anonymizing production database snapshots for development or testing purposes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in