Data Privacy & Compliance (GDPR)

Scan Python codebases and logs for PII, PCI, and unsafe logging patterns.

1|1|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Bambibanners/master_of_puppets --skill data-privacy-compliance-gdpr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Data Privacy & Compliance (GDPR)
Source: https://github.com/Bambibanners/master_of_puppets/tree/main/.agent/skills/review-data-privacy
Command: npx skills add https://github.com/Bambibanners/master_of_puppets --skill data-privacy-compliance-gdpr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Identify and flag PII leaks and unsafe logging in codebases and logs to prevent data leakage.

Core Features & Use Cases

  • Scans for UK PII patterns (NINO, Sort Codes) and high-risk data
  • Flags potential PII/PCI in non-production environments
  • Integrates into CI or local development to enforce privacy hygiene

Quick Start

Run the PII scan across your codebase to detect and report potential PII and unsafe logging patterns.

Frequently Asked Questions about Data Privacy & Compliance (GDPR)

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

FAQPage Schema
How do I scan my Python codebase for PII and unsafe logging?

Scan your Python codebase for PII and unsafe logging by running the automated privacy check to detect UK NI numbers, sort codes, emails, and credit-card-like patterns using regex.

Can I run automated PII detection in my CI pipeline?

Yes, you can run automated PII detection in your CI pipeline to prevent data leakage by flagging potential PII and PCI across Python projects containing customer data and logs.

What specific data patterns does GDPR compliance scanning check for?

GDPR compliance scanning checks for UK National Insurance numbers, sort codes, emails, and credit-card-like patterns in your codebase and logs using regex to prevent data leakage.

Does this tool flag PCI data in non-production environments?

Yes, this tool flags potential PII and PCI data in non-production environments to enforce privacy hygiene and prevent sensitive customer data leakage during development.

How do I configure privacy checks for my development environment?

Configure privacy checks for your development environment via the SKILL.md frontmatter, adjusting the scan_pii tool settings to target specific unsafe logging patterns in your Python project.