Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarHabr AI→ original

Yatoba DBMS Learns to Find Personal Data with AI and Mask It

Finding personal data by hand in a large, constantly changing database is slow and unreliable. The Yatoba DBMS takes a sample from each column and checks it with regular expressions, dictionaries and a machine learning model to decide whether it holds full names, emails or ordinary data. A separate anonymization component then masks what was found. This is useful when a copy of the database goes to testing or support and the team has to comply with Federal Law 152-FZ.

AI-processed from Habr AI; edited by Hamidun News
Yatoba DBMS Learns to Find Personal Data with AI and Mask It
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
Key metric #1First, the scanner lists all tables and columns in the database
Key metric #2For each column, the system issues a verdict: personal data or not
Key metric #3Each data type has its own masking algorithm, and users can add their own

Anyone who has ever copied a production database into a test environment or handed it to technical support knows the uncomfortable question: what's inside? Among hundreds of tables there is almost always a column with full names, phone numbers or email addresses, and its name may be perfectly innocent, such as "field_17". The developers of the Russian DBMS Yatoba decided to remove this manual work and added an AI-based function that automatically detects personal data.

What problem the feature solves

In Russia, personal data (PD) is governed by Federal Law 152-FZ, and responsibility for leaks lies with the operator. The risk is especially high in two situations: when a database is copied for testing and when it is handed to technical support specialists. In both cases, real customer names and contacts end up where they should not be.

The classic way to protect data is for an administrator to review the database structure by hand, find sensitive columns and configure masking for them. According to the authors, this approach does not scale well. The database is large and constantly changing: new tables and fields appear, and each one has to be checked again. In addition, a person inevitably misses something.

How it works in practice

The new component follows four steps.

  1. Scanning. The component lists all tables and columns in the database.
  2. Sampling. A small sample of data is taken from each column. There is no need to read the entire contents.
  3. Analysis. Three checks are applied to the sample: regular expressions (which catch phone numbers and email addresses well), comparison against dictionaries (for example, common first names) and a machine learning model.
  4. Classification. The system issues a verdict for each column: whether it contains personal data or not. If it does, the system determines the type, such as full name or email address.

An important detail is that the system looks not only at table and column names but also at the contents themselves. A column with an unfortunate name will still appear in the report if it contains surnames or email addresses. The combination of rules, dictionaries and a model is meant to ensure that each method covers the blind spots of the others. A regular expression cannot tell that a person is mentioned in free text, while a model can make mistakes where the format is strict.

From detection to masking

The developers cite the main advantage as automation of the entire cycle. The detection component works together with the anonymization component. The first produces a report of the PD it finds and sets security labels. The second uses those labels to perform masking automatically.

Each data type has its own algorithm: a name must be masked differently from an email address. The administrator is not limited to a ready-made set and can define custom masking functions. This is useful, for example, if a company has an internal identifier format.

What to keep in mind

This is an announcement from the vendor itself, and it contains no key figures. The developers do not state detection accuracy and recall, the false-positive rate, the scanning speed on large databases or the sample size per column. It is not disclosed which machine learning model is used or whether it was trained on Russian data formats. Without this information, the real benefit can only be assessed on your own database.

The practical takeaway for teams working with PD is as follows. First, treat automatic discovery as an assistant, not a replacement for an audit: the report of found columns still needs to be reviewed by a human, especially on the first runs. Second, if you are choosing a DBMS or tools for test environments, ask the vendor for classification quality metrics and how the system behaves on free text and non-standard fields. Third, the "find and immediately mask" pipeline noticeably shortens the path from a production database copy to a safe test dataset. That step is where leaks most often happen.

Story

Key Questions Answered

What problem the feature solves?

In Russia, personal data (PD) is governed by Federal Law 152-FZ, and responsibility for leaks lies with the operator. The risk is especially high in two situations: when a database is copied for testing and when it is handed to technical support specialists. In both cases, real customer names and contacts end up where they should not be. The classic way to protect data is for an administrator to review the database structure by hand, find sensitive columns and configure masking for them.

How it works in practice?

The new component follows four steps. Scanning. The component lists all tables and columns in the database. Sampling. A small sample of data is taken from each column. There is no need to read the entire contents. Analysis. Three checks are applied to the sample: regular expressions (which catch phone numbers and email addresses well), comparison against dictionaries (for example, common first names) and a machine learning model. Classification.

What are the key details on From detection to masking?

The developers cite the main advantage as automation of the entire cycle. The detection component works together with the anonymization component. The first produces a report of the PD it finds and sets security labels. The second uses those labels to perform masking automatically. Each data type has its own algorithm: a name must be masked differently from an email address. The administrator is not limited to a ready-made set and can define custom masking functions.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Yatoba DBMS Learns to Find Personal Data with AI and Mask It https://news.hamidun.com/en/news/17328/yatoba-dbms-learns-to-find-personal-data-with-ai-and-mask-it

What do you think?
Loading comments…