152-FZ personal data audit skill

152fz-data-audit-skill

A 152-FZ personal data audit skill: where the database lives, what leaves Russia, who really has access and what never gets deleted

  • 1 ★ on the repository
  • Last commit
  • MIT
Skill

Broad access

Why this level

  • The procedure queries the production database holding personal data and its system catalogs
  • Runs a shell scan of the code, including a secrets search
  • Calls the project API from outside to test access
All reasons and checks
Russian stack

imnadsa/152fz-data-audit-skill

Install

Services

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/152fz-data-audit-skill

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The procedure queries the production database holding personal data and its system catalogs
  • Runs a shell scan of the code, including a secrets search
  • Calls the project API from outside to test access

This is third-party code. Review the repository files before installing.

What it does

The skill gives the agent a 12-point procedure for checking a project against Russian personal data law. The agent determines whose data is processed, finds the hosting country of the database, storage and backups, maps personal data fields and collects every external URL in the code with its jurisdiction. It then compares UI permissions with database permissions and checks channel encryption, retention, logs, backups and whether the site's privacy policy matches the code. The core rule is that compliance can be claimed only after a live system check. It ships SQL queries for Postgres and Supabase, a code scan script and a report template.

Who it is for. For developers and SaaS owners preparing a project for 152-FZ and wanting precise facts for their lawyer.

Good fit when

  • You need to know which personal data flows to foreign services
  • You need to check whether data leaks past the UI without authorization
  • You need to verify that data deletion jobs actually run

Not a fit when

  • You need legal documents: Roskomnadzor notices, policies, contracts
  • You only have source code without access to the database or environment

Example request

Run the personal data audit skill and map cross-border data flows

Limitations

The skill covers the technical side and does not replace a lawyer. The bundled SQL targets Postgres and Supabase; other databases need adapted checks. Live checks require access to the production database and project API.

How to disable. Delete the data-privacy-audit folder from ~/.claude/skills or the project's .claude/skills.

FAQ

Why not just check the code?

Code shows intent, not system state. Scheduled deletion is verified by job logs, and access by calling the API without authorization.

Does it work outside Claude Code?

Yes, SKILL.md is self-contained and can be given to Cursor, Codex or a custom agent as instructions.

Discussion

No questions or reviews yet.

Russian stack

A Claude skill that audits a website and its documents against Federal Law 152-FZ using a 55-point checklist, with fine estimates and a fix plan

SkillExtended access4Repository stars
Russian stack

A skill that checks a website against Russian law: personal data, cookies and trackers, operator details, advertising and login methods

SkillExtended access1Repository stars
Russian stack

A first-pass contract review skill under Russian law: Civil Code, 152-FZ, Roskomnadzor, personal data

SkillMinimal access6Repository stars
Russian stack

An evidence-based SEO audit skill using signals from the Google Content Warehouse API leak, plus a Russian 152-FZ and Roskomnadzor launch checklist

SkillExtended access

Russian supply contract review skill

Russian Legal Skills для Claude

Russian stack

A Claude Skill that reviews a Russian supply contract under Civil Code chapter 30: essential terms, deadlines, price and liability

SkillMinimal access1Repository stars

README in short

The README frames four questions the audit answers: what data exists, where it goes, who can access it and what gets deleted. It explains how a typical SaaS quietly sends data abroad through analytics, monitoring, AI and messengers. It covers global and per-project install for Claude Code, a table of check areas and the file layout, and ends with a note on the skill's limits. MIT licensed.

README badge

Original SKILL.md

---
name: data-privacy-audit
description: Аудит персональных данных в проекте по 152-ФЗ — найти, куда данные уходят за границу, кто имеет к ним доступ на самом деле, что хранится вечно и совпадает ли политика с кодом. Use when the user asks about personal data compliance, 152-ФЗ, ПДн, GDPR-like audit, «персональные данные», «трансграничная передача», «утекают ли данные», «проверь доступы», «сроки хранения», «локализация базы», data protection review.
---

# Аудит персональных данных: 12 точек

Задача — не пересказать закон, а найти в конкретном проекте места, где данные
людей уходят туда, куда не должны, живут дольше, чем нужно, или доступны тем,
кому не положено.

## Правило номер один: проверять по факту, а не по коду

Код описывает намерение, а не состояние системы. Расхождения, которые обязан
проверить агент:

- задача очистки написана верно — убедиться, что её запуски завершаются успешно;
- политика доступа написана — убедиться, что объект не отдаётся без авторизации;
- витрина фильтрует по владельцу — убедиться, что она не выполняется с правами
  создателя в обход политик;
- интерфейс скрывает раздел — убедиться, что прямой запрос к API его тоже не
  отдаёт.

Каждая проверка ниже имеет живой вариант: запрос к базе, обращение к API
снаружи, чтение журнала выполнения. Порядок и правила — `references/verify-live.md`.

---

## Шаг 0. Определить роль и состав данных

Спросите у владельца проекта и запишите:

1. **Чьи данные обрабатываются**: пользователи сервиса, их сотрудники,
   их клиенты, контрагенты-физлица. Это разные субъекты и разные основания —
   согласие владельца аккаунта не является согласием его сотрудников.
2. **Роль продукта**: сам оператор (свои пользователи, оплаты, поддержка) или
   обработчик по поручению (данные, загруженные клиентом о его людях). Обычно
   и то, и другое одновременно — тогда нужны оба комплекта документов.
3. **Есть ли специальные категории**: здоровье, биометрия, судимость,
   политические и религиозные взгляды. Требования к ним кратно строже.

Report a problem

Foxx AI152-FZ personal data audit
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.