JustHandled Labs
// security

PII & Data-Leak Scanner

Find personal-data indicators and pattern-like values in SQL, CSV, JSON, seed data, fixtures, and logs before those files are committed or shared.

What the scan covers

The scanner creates a review queue. A field name tells you where personal data may be expected; a value match tells you where data may already be present. Neither is a verdict without context.

Input and report

Point the agent at the repository paths you want reviewed. Start with SQL schemas or migrations, seeds and fixtures, CSV or JSON samples, and recent logs. Keep unrelated directories outside the scope.

Each finding includes a file, line, rule, and remediation. Email-, SSN-, card-, and phone-like matches are replaced with redacted placeholders so the report does not reproduce the detected value.

Five practical use cases

Run it with least privilege

The scan only needs local read access to the files in scope and Python 3 for the bundled standard-library workflow. It requires no network access, third-party package, environment secret, or write permission.

When the files may contain real personal data, work on an access-controlled copy and avoid pasting raw matches into chat, issue trackers, or public reports. Record the file and rule needed for remediation without reproducing the full sensitive value.

Known limitations

Use the review workflow before sharing the files

The codebase PII preflight explains which repository surfaces to inventory, how to triage pattern matches without copying sensitive values, and what evidence to keep after remediation.

Questions

What files does it inspect?

SQL, CSV, JSON, and log files, including those inside seed and fixture folders. Limit each run to the folders that belong in the review scope.

What signals does it find?

PII-indicating column and key names plus pattern-like email addresses, SSN-like numbers, credit-card-like numbers, and phone numbers.

What does the report include?

A file, line, rule, and remediation for each finding. Matched email-, SSN-, card-, and phone-like values are redacted from report evidence.

Does a clean scan prove compliance?

No. It is a heuristic review aid, not legal advice or a compliance certificate. Definitions and obligations depend on context and jurisdiction.

Will it change or delete files?

Treat the workflow as inspection and triage. Review findings before any removal, replacement, masking, or retention decision, and do not grant write access merely to scan.

Which agents can run it?

Compatible agents that read the open SKILL.md format and can access the scoped files and bundled heuristic workflow, including Claude Code, Codex, and Cursor.

Find the data before the wrong person does.

Current price and purchase option are shown on Agensi. Review the evidence before changing any file.

Get PII & Data-Leak Scanner on Agensi