Habr•November 27, 2026•🇷🇺Translated from Russian

Replacing Names with [PERSON_1] Before Sending Contracts to External LLMs: Does This Qualify as Anonymization Under Russian Law?

Russian companies often want to use external large language models to review contracts, but these documents frequently contain personal data including full names of signatories, passport details, INN of individuals, and directors' phone numbers. Manually redacting every identifier from lengthy documents is impractical, yet simply replacing names with generic markers such as [PERSON_1] may leave enough context for re-identification.

One recommended approach involves assigning unique labels to each individual, sending the processed text to the model, and restoring original values in the correct grammatical case after receiving the response. The mapping table stays inside the organization. This technique aligns with the method of introducing identifiers described in Roskomnadzor Order No. 140 of 19 June 2025, which replaced the earlier Order No. 996.

Under Article 3 of Federal Law No. 152-FZ, anonymization is considered successful only when it becomes impossible to determine which person the data belongs to without additional information. If the processed query still allows identification either directly or by cross-referencing with other data the provider may possess, the replacement is insufficient.

Four-Step Workflow for Safe Processing

  • Detection inside the controlled perimeter using local models or pattern matching for phones, addresses, INN, SNILS, and bank card numbers.
  • Replacement with consistent labels across case forms and removal of unnecessary attributes such as passport data when they are not required for the task.
  • Pre-send review of the entire prompt, attachments, and conversation history to confirm that neither the query itself nor its combination with publicly available information enables identification.
  • Restoration of original values inside the organization after the model responds, with verification that the model did not alter or invent new labels.

Order No. 140 permits both constant and variable identifiers. Using the same label across unrelated queries increases re-identification risk if the provider retains history. The order also requires that the correspondence key be stored separately from the original personal data array and never transferred to third parties.

Additional risks arise when job titles, company names from EGRUL, exact transaction amounts, specific dates, or project locations remain in the prompt. These details can be matched against public procurement notices or court filings. Rounding amounts, generalizing dates to quarters, and removing precise addresses can reduce linkage potential while still allowing the model to verify contract structure.

Organizations must also verify the entire request immediately before transmission, including any employee instructions that might inadvertently reintroduce names, and confirm that the mapping table does not leak into backups, synchronized folders, or diagnostic logs.

Related articles

AntiMalware•Privacy & Surveillance

Hisense Smart TVs Transmit Viewing Data Fingerprints to Nexxen Every 2.7 Seconds

Hisense smart televisions have been found sending detailed viewing information to the advertising company Nexxen at intervals of just 2.7 seconds. The devices generate 72-bit digital audio fingerprints from content being played, including material delivered through HDMI connections, and forward these fingerprints along with unique device identifiers to servers operated by the Israeli firm Nexxen. This Automatic Content Recognition mechanism allows the company to identify specific movies, television programs, and advertisements watched by users without transmitting full audio recordings. The data collection activates automatically during the initial setup of the television and supports the creation of detailed user profiles for personalized advertising. Owners can disable the feature through the menu path Settings > System > Advanced Settings by turning off the option labeled Agree to Enhanced Viewing Service. Comparable tracking practices were previously identified in televisions manufactured by LG. Manufacturers of smart TVs often rely on such advertising revenue streams to offset thin profit margins on hardware sales.

Habr•Privacy & Surveillance

Biometrics in Flutter: Why local_auth Alone Fails to Protect Secrets

Using local_auth in Flutter allows quick biometric login but does not automatically secure stored tokens such as refresh tokens. The package only returns an authentication result and leaves token storage unprotected unless combined with platform-specific secure mechanisms. On iOS, developers must configure Keychain access controls with flags like biometryCurrentSet to bind access to the current biometric set. On Android, proper protection requires storing ciphertext in app storage while keeping the encryption key in Android Keystore and linking BiometricPrompt with a CryptoObject. The flutter_secure_storage package can enforce biometric checks via AndroidOptions and IOSOptions, yet default settings do not require authentication. When biometric enrollment changes or verification is canceled, applications must fall back to full re-authentication rather than relying on cached results.

Habr•Privacy & Surveillance

Hisense TV Owner Decrypts Advertising Traffic Revealing Continuous Audio Fingerprinting to Nexxen

A Hisense television owner has successfully decrypted the device's outbound advertising traffic, uncovering systematic surveillance practices. The smart TV transmits audio fingerprints of on-screen content to the advertising company Nexxen approximately every 2.7 seconds. This data collection occurs regardless of the content source, including HDMI-connected devices. The discovery follows similar reports involving LG televisions, indicating a broader industry pattern of smart TV telemetry. Audio fingerprinting enables detailed tracking of viewing habits without requiring direct access to video streams. The findings highlight ongoing privacy concerns with consumer electronics that maintain persistent network connections to third-party advertising platforms.

Habr•Privacy & Surveillance

OpenAI Codex Desktop Leaks Up to 1 MB Git Diffs Bypassing Analytics Opt-Out

Reverse engineering of OpenAI Codex on Windows and macOS revealed multiple privacy and telemetry issues. The client sends raw unified git diffs up to 1 MB in size to analytics endpoints even when users disable analytics and training. Reasoning output is hard-capped at exactly 516 tokens on flagship models, with the limit enforced server-side and confirmed via encrypted content length correlation. The application collects unhashed Windows BIOS serial numbers and UserAssist registry data while scrubbing the same information from local logs. No secure_delete pragma is used in any SQLite database, and microphone recordings remain unencrypted. Remote Statsig flags can override local analytics settings and model routing without user notification.