v-masker: High-Performance Local Log Data Masking Tool
Table of Contents

Before sharing production logs with third-party vendors or uploading them to code repositories, data masking is a critical step for compliance. v-masker is a high-performance local utility built for one purpose: redacting PII (Personally Identifiable Information) from your logs without the need for complex regex or internet connectivity.
Why choose v-masker?#
- Local-First Security: Operates 100% offline. Unlike online tools, your raw logs (containing sensitive passwords, phone numbers, or tokens) never leave your machine.
- Massive File Support: Powered by a Go-based stream processing engine, v-masker can process a 2GB Nginx log file in seconds.
- Smart Detection: Built-in intelligent recognition for common PII patterns like mobile numbers, government IDs, emails, and structured JSON fields.
- Zero Configuration: No runtime environment required, no config files to write. It’s a single binary that works right out of the box.
Supported Masking Rules#
- Communication: Mobile numbers (hiding middle digits) and Email addresses (obfuscating the prefix).
- Identity: 18-digit ID cards and SSN patterns (retaining only the head and tail).
- Networking: IPv4 addresses (masking the last two octets to protect network topology).
- Dev-Centric: Automatically scans JSON structures for keys like
password,token,secret, andapiKeyto hide their values.
How to Use#
- Method A (Easiest): Simply drag and drop your
.logor.txtfile onto thev-masker.exeicon. - Method B (CLI): Run
v-masker access.login your terminal. The tool will automatically generateaccess.log.masked.log.
Technical Specifications#
- Core Engine: Golang (Optimized for High-Performance String Processing)
- Throughput: ~50MB - 100MB / second (depending on regex complexity)
- Memory Footprint: Consistently stays below 20MB, regardless of the input file size.
⬇️ Download v-masker.zip#
Version: 1.0.0 | System: Windows/Linux/macOS (x64)
There are no articles to list here yet.