dbmask
A tool that finds and masks sensitive values in SQL data and verifies the results
What does it do?
Users can scan a SQL database for sensitive columns, review the decisions, and then run masking. The same input becomes the same fake value, preserving links between tables. A verification command then matches rows in the original and masked databases by primary key and compares them to check whether sensitive values remain. It warns when it cannot establish the scope of verification or has checked only part of the data; strict mode treats this as a failure. A small SQLite example can also run in Google Colab.
Key features
- Detects columns containing sensitive data and masks them after review
- Replaces identical inputs with consistent fake values to preserve links between tables
- Verifies results by comparing the original and masked databases row by row
- Warns when verification is incomplete and treats it as a failure in strict mode
- Lets users try the workflow with synthetic SQLite data in Google Colab without installation or an external LLM