Show HN: Dbmask – Discover, mask, and verify sensitive data in SQL databases
No tagline provided.
View Origin LinkProduct Positioning & Context
Hi HNI developed *dbmask*, an open-source Python tool designed to discover sensitive columns in SQL databases, masking them with deterministic fake values, and validate the masking results.The motivation behind this tool stems from a common issue I encountered when handling test data: existing masking tools often assume the user already knows exactly which columns contain sensitive information. Furthermore, the successful completion of a masking task does not guarantee that all sensitive values have actually been replaced.dbmask aims to integrate these steps into a unified workflow rather than treating them as three separate tasks.During the detection phase, the tool makes determinations by combining column names, sampled values, database type/context, historical decisions, and optionally LLMs. While LLM functionality is disabled by default, it supports local execution via Ollama or other services compatible with the OpenAI API. If the tool cannot determine a column's nature with confidence, it marks it as `UNKNOWN` rather than simply classifying uncertain cases as "non-sensitive."I also wanted to incorporate human decision-making into the system. Detection results can be exported for manual review, and confirmed decisions can be saved in CSV, XLSX, or Markdown formats, or stored in a SQL history decision table. The system logs information about both the analyst and the reviewer and re-evaluates past decisions if column types change or review results expire.The masking process employs deterministic mapping, ensuring that identical original values consistently map to the same synthetic values across different tables. Once masking is complete, the `dbmask validate --strict` command compares the masked copy with the original data, checking row counts and table structures, and verifying sensitive values row-by-row using primary keys wherever possible.The project is currently in its early stages (version 0.1.x). The current CI (Continuous Integration) pipeline covers SQLite testing; integration tests for PostgreSQL and MySQL, as well as public detection benchmarks, are included in the future development roadmap.I would particularly appreciate feedback on the detection rules, the manual review/history tracking workflows, and the verification methods. Please let me know if you encounter any usability issues or potential security risks while testing on the temporary database.Install:pip install dbmask
Related Ecosystem & Alternatives
Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.
Deep-Dive FAQs
What is Dbmask – Discover, mask, and verify sensitive data in SQL databases?
Dbmask – Discover, mask, and verify sensitive data in SQL databases is a digital product or tool described as: Hi HNI developed *dbmask*, an open-source Python tool designed to discover sensitive columns in SQL databases, masking them with deterministic fake...
Where did Dbmask – Discover, mask, and verify sensitive data in SQL databases originate?
Data for Dbmask – Discover, mask, and verify sensitive data in SQL databases was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Dbmask – Discover, mask, and verify sensitive data in SQL databases publicly launched?
The initial public indexing or launch date for Dbmask – Discover, mask, and verify sensitive data in SQL databases within our tracked developer communities was recorded on September 11, 2026.
How popular is Dbmask – Discover, mask, and verify sensitive data in SQL databases?
Dbmask – Discover, mask, and verify sensitive data in SQL databases has achieved measurable traction, logging over 5 traction score and facilitating 0 recorded discussions or engagements.
How does the creator describe Dbmask – Discover, mask, and verify sensitive data in SQL databases?
The original author or development team describes the product as follows: "Hi HNI developed *dbmask*, an open-source Python tool designed to discover sensitive columns in SQL databases, masking them with deterministic fake values, and validate the masking results.The moti..."
Community Voice & Feedback
No active discussions extracted yet.
Discovery Source
Hacker News Aggregated via automated community intelligence tracking.
Tech Stack Dependencies
No direct open-source NPM package mentions detected in the product documentation.
Media Tractions & Mentions
No mainstream media stories specifically mentioning this product name have been intercepted yet.
Deep Research & Science
No direct peer-reviewed scientific literature matched with this product's architecture.
SaaS Metrics