HabrAugust 17, 2026🇷🇺Translated from Russian

Browser Extension Anonymizes Sensitive Data Before Sending to AI Chatbots

A new browser extension has been developed to solve the growing problem of sensitive data leaking into AI chat services through everyday work tasks.

HR specialists, lawyers, accountants, and IT staff routinely paste resumes, contracts, payroll tables, and configuration files containing personal data, bank details, and passwords directly into AI prompts. Once sent, this information remains on third-party servers with no reliable way to delete it from logs or training datasets.

The extension intercepts messages and file uploads at the moment of sending, replaces detected sensitive values with unique pseudonyms such as [user_qhb6tm] or [card_348zsg], and forwards only the masked text to the AI. When the AI replies using the same placeholders, the extension instantly restores the original values on the user's screen while the server sees only the anonymized version.

Earlier approaches proved insufficient. Manual replacement quickly failed due to user fatigue. Simple regex scripts struggled with Russian grammar, false positives on invoice numbers, and inconsistent name formats. External anonymization services merely shifted the trust problem to another third party.

The final solution meets three strict requirements: fully automatic operation without user intervention, completely local processing with no internet required after installation, and seamless integration that does not change how people interact with their preferred AI chat interface.

Inside the engine, 33 data categories are defined declaratively with patterns, validators, and priorities. INN numbers are verified using FNS checksum algorithms, cards use the Luhn check, and passwords are filtered by entropy and stop-word lists. Russian names are normalized to nominative case so that declined forms receive the same pseudonym. The response parser tolerates case changes, spaces, markdown, and homoglyphs to ensure reliable decoding even when models alter labels.

File support includes more than 70 formats. Office documents are processed by creating anonymized copies that preserve formatting, tables, and headers. Scanned PDFs and photos are handled by a local offline OCR engine that runs in a single worker thread, keeping memory usage low and the system responsive.

A free version covering all text categories and custom rules is available in the Chrome Web Store. Advanced features for files, scans, and enterprise policy distribution are provided upon request.

Related articles

HabrPrivacy & Surveillance

pg_anon Open-Source Tool Receives Major Updates for PostgreSQL Data Masking and Partial Database Operations

Tantor Labs has released version 1.11.0 of pg_anon, an open-source utility designed to mask personal data in PostgreSQL databases while preserving structure and relationships. The update introduces packaging as a standard Python package, support for partial dumps and restores using whitelist and blacklist dictionaries, and improved handling of complex schema elements such as partitioned tables, generated columns, and custom types. Performance improvements include switching the dump engine to asyncio, single-query metadata collection, and on-the-fly gzip compression to reduce memory usage on large databases. New CLI options allow clean or drop operations on target databases, privilege ignoring, and passthrough of pg_dump and pg_restore flags. A REST API was added to enable integration into CI/CD pipelines and automated self-service systems for nightly masked database refreshes. The tool helps organizations comply with data protection requirements by creating pseudonymized copies suitable for development, testing, and contractor environments.

BoletimSecPrivacy & Surveillance

Pegasus Spyware Returns in Serbian Surveillance Campaign via Zero-Click iMessage Exploit

A Serbian student activist's iPhone was infected with the Pegasus spyware through a zero-click exploit in iMessage, allowing silent installation without any user interaction. The infection, confirmed by Citizen Lab in collaboration with the SHARE Foundation, showed indicators of compromise between December 2025 and January 2026. Apple later sent the target a notification warning of a mercenary spyware attack attempt. The exploit granted full access to photos, messages, files, and enabled covert microphone and camera activation. The vulnerability was addressed in the iOS 18.4.1 update released on April 16, 2025. The incident forms part of a wider surveillance wave in Serbia, with at least 14 individuals including students, activists, a parliament member, and a local political representative receiving similar Apple alerts. Additional targets were hit with Android spyware variants linked to NoviSpy.

AntiMalwarePrivacy & Surveillance

Mozilla Adds Built-in Ad Blocker to Firefox for iOS Devices

Mozilla has integrated a native ad-blocking feature directly into its Firefox browser for iOS. The update allows iPhone and iPad users to block third-party advertisements and associated trackers before web pages load, eliminating the need for separate extensions. Apple’s App Store policies have long restricted the use of third-party content blockers on iOS compared to desktop and Android platforms. The new functionality targets intrusive elements such as pop-up windows, content-overlapping banners, and other advertising formats. By handling blocking at the browser level, Firefox for iOS improves user privacy and reduces exposure to tracking mechanisms without requiring additional software installation.

HabrPrivacy & Surveillance

De-Clouding IoT Devices: Local Control for Midea Air Conditioners and Tuya-Based Cat Feeders

A security researcher detailed a methodical approach to eliminating vendor cloud dependency for Wi-Fi IoT devices in a smart home setup. After acquiring a cat, the author was forced to integrate several Tuya-based appliances that only worked through proprietary cloud apps. Using hardware analysis tools including UART adapters, multimeters, and soldering equipment, the devices were disassembled and their controllers identified. The Midea air conditioner controller based on TYWE3S ESP8266 was reflashed with ESPHome to enable direct Home Assistant integration. For the Tuya WBR3-powered cat feeder running on an RTL8720CF chip, OpenBeken firmware was installed after extracting the original firmware with ltchiptool. Detailed UART communication analysis between the Wi-Fi module and MCU allowed full recreation of scheduling and control functions locally via MQTT.