Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

Dbmask

Discover, mask, and verify sensitive data in SQL databases

Details

External ID
49645189
Source
HN
Company
—
Product
Dbmask
Website domain
github.com
Launched
Sept. 10, 2026
Cohort
—
Upvotes
5
Upvotes percentile
0.12998405103668262
Tags
—
Fetched at
Sept. 14, 2026, 5:28 p.m.
Updated at
Sept. 14, 2026, 5:28 p.m.

Description

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

Enrichment

Theme
database infrastructure and developer tools
Vertical
Security
Function
Compliance & governance
Audience
B2B
AI stance
AI feature
Project type
Commercial product
Normalized one-liner
discover and mask sensitive data in databases
Manually corrected
False

Could you build this?

Yes Dbmask is a Python database scanning and masking CLI/tool that introspects schema metadata, identifies PII using regex/heuristics, and masks values deterministically (e.g. using Faker/hashlib).

Discussion

No comments on this launch.

Competitors

Other products that read as similar to this one — 110 launches clear the similarity bar, closest 8 shown.

Attention rank: #87 of 111 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 316 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a compliance & governance tool for Media & entertainment yet.