agent-data-gateway

Detect and transform PII and secrets in JSON payloads.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/zackiles/agent-data-gateway --skill agent-data-gateway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-data-gateway
Source: https://github.com/zackiles/agent-data-gateway/tree/main/skill
Command: npx skills add https://github.com/zackiles/agent-data-gateway --skill agent-data-gateway

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Automatically detects PII and secrets in JSON payloads and applies policy-driven transforms to scrub or mask sensitive data before it leaves your backend.

Core Features & Use Cases

  • Classifies fields by path, key name, and regex patterns, then applies transforms such as mask, drop, hash, or last4.
  • Supports integration as middleware in Deno/Node frameworks or as a standalone container.
  • Use cases include API sanitization, privacy compliance, and secure data sharing in analytics pipelines.

Quick Start

Install the gateway in your project or run it as a container, configure SCRUBBER_INDEX and SCRUBBER_POLICY, and test with a sample payload.

Frequently Asked Questions about agent-data-gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically detect and mask PII in JSON payloads before they leave my backend?

Automated PII masking in JSON payloads uses policy-driven transforms to scrub sensitive data before it leaves your backend. This gateway classifies fields by path, key name, and regex patterns, then applies transforms such as mask, drop, hash, or last4.

Can I use this data sanitization gateway as middleware in existing Node or Deno frameworks?

Yes, you can use this data sanitization gateway as middleware in existing JS/TS projects. It integrates directly into Deno and Node frameworks, or can be deployed as a standalone container to scrub data across API pipelines and Docker deployments.

What configuration is required to set up JSON data sanitization for API pipelines?

JSON data sanitization requires configuring a SCRUBBER_INDEX for field classification and a SCRUBBER_POLICY for transform rules. You install the gateway in your project or run it as a container, configure these files, and test with a sample payload.

Does this PII scrubbing gateway support different authentication adapters for cloud platforms?

Yes, the PII scrubbing gateway supports multiple authentication adapters for secure integration. It is designed for deployment across cloud platforms and Docker environments, providing setup and reference guidance for installation and contribution.

What is the best way to sanitize JSON data for privacy compliance in analytics pipelines?

The best way to sanitize JSON data for privacy compliance is applying policy-driven transforms to scrub or mask sensitive data. This gateway automates detection across API pipelines, enabling secure data sharing in analytics workflows.

What transforms are available for masking secrets in JSON payloads?

Available transforms for masking secrets in JSON payloads include mask, drop, hash, and last4. The gateway classifies fields by path, key name, and regex patterns, then applies these transforms based on your configured SCRUBBER_POLICY.