npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-sensitive-data-masker

v1.0.1

Published

An automated privacy guard to mask PII (Emails, IBANs, Phones) in your n8n workflows.

Downloads

37

Readme

n8n-nodes-sensitive-data-masker

This is an n8n community node that allows you to easily mask, redact, and anonymize sensitive data (PII) like Emails, IBANs, and Phone numbers within your workflows. Ensure GDPR compliance and protect user privacy before sending data to third-party APIs or LLMs.

Key FeaturesInstallationUsageTechnical Highlights


Why use this node?

When building automation workflows—especially those integrating AI, LLMs, or external analytics—handling raw personal data poses a major security and compliance risk.

The Sensitive Data Masker acts as an automated privacy guard. It scans your data fields and applies customizable masking patterns, ensuring that sensitive information never leaves your secure infrastructure un-anonymized.

Key Features

  • 🛡️ PII Protection: Native support for masking common sensitive patterns (Emails, IBANs, Phone numbers).
  • 🎛️ Total Control: Mask specific JSON fields, or define custom text patterns using custom regular expressions (Regex).
  • 🔄 Deep Recursive Scan: Automatically traverses nested JSON structures to protect data at every level.
  • Security-First: Built following n8n's strict security guidelines to prevent Prototype Pollution and Regular Expression Denial of Service (ReDoS).

Installation

For n8n Users (Community Node Registry)

You can easily install this node directly from your n8n instance:

  1. Open your n8n instance in your browser.
  2. Go to Settings > Community Nodes.
  3. Click on Install a community node.
  4. Enter the npm package name: n8n-nodes-sensitive-data-masker
  5. Agree to the risks and click Install.

Usage

Once installed, the Sensitive Data Masker node will appear in your n8n node selector.

Configuration Parameters

Value to Mask: Select or map the incoming field data (={{ $json.myField }}) that contains the text or JSON object you want to anonymize.

Masking Rule: Choose how you want to mask the data:

Predefined Rule: Select from quick presets like Email, IBAN, or Phone Number.

Custom Rule: Define your own replacement character (e.g., * or [MASKED]) or input a custom Regex pattern.

Input / Output Example

Incoming Data (Input):

JSON { "user": { "name": "Issam", "email": "[email protected]", "phone": "0612345678" } }

Processed Data (Output):

JSON { "user": { "name": "Issam", "email": "[MASKED]", "phone": "[MASKED]" } }

Technical Highlights

Language: Written completely in TypeScript.

Performance: Optimized recursive traversal algorithm for handling large JSON payloads without blocking the Node.js event loop.

Reliability: Built and structured to be fully compatible with the core n8n architecture.

License MIT