CatalogueSecurity & Compliance
Data Privacy & Regulatory Exposure Map
Maps where personal and payment data enters, where it rests, and where it leaves.
What it examines
- Where personal data enters and which tables, caches, indexes, and backups hold it
- Personal data written into logs
- Encryption at rest and TLS past the edge
- Whether a deletion request can actually be carried out
- Third parties and regions that receive the data
- Which components are in scope for card data
What you get back
A findings file. Each item has the evidence, how serious it is, and a fix.
Dependencies
- An AI coding agent that reads SKILL.md files, such as Claude Code, Codex or Gemini CLI
- Read access to the repository, including schema and database definitions
- The privacy rules that apply to you, such as GDPR, POPIA, PCI-DSS or CCPA. The audit asks for them.
- A list of the third-party services you send data to. Without it, cross-border transfers cannot be mapped.
- Python 3 with the jsonschema package, to check findings.json before fixing anything
How it works
The audit is read-only. It maps where personal data enters your system and where it is stored, including caches, search indexes and backups.
It then checks for personal data in logs, encryption at rest and in transit, retention and deletion rules, transfers to services in other countries, and which components touch card data.
You get findings.json and findings.md. The remediate skill reads findings.json. It applies simple fixes with tests, asks you to approve larger changes and plans the rest. Legal decisions stay with you.
Setup
- Unzip the download. Copy the audit and remediate folders into your agent's skills folder (for Claude Code, .claude/skills/) in the repository you want to check.
- Write down the regulations that apply and list the third-party services that receive personal data.
- Open the repository in your agent and ask it to run the a6-data-privacy-regulatory-audit skill.
- Check the result with the validator: pip install jsonschema, then python3 schema/validate.py findings.json.
- Ask your agent to run the a6-data-privacy-regulatory-remediate skill using findings.json. Fix some findings and leave the rest open if you like.
Run it with your agent
Copy the prompt, fill in the parts in square brackets, and paste it into your agent.
Run the a6-data-privacy-regulatory-audit skill on this repository. Regulations that apply: [GDPR, POPIA, PCI-DSS, CCPA]. Third-party services that receive personal data: [list]. Mode: audit only. Do not change any code. Write findings.json and findings.md in the repository root.
Run the a6-data-privacy-regulatory-remediate skill using findings.json. Work through the findings I choose, and leave the rest open.