audit_unmasked_pii_exposure
Scans SQL seed files, CSV fixtures, and JSONL logs offline to detect unmasked emails, payment cards, national IDs, public IPv4s, and exposed tokens while masking matched PII in findings.
Instructions
Scans SQL seed files, CSV fixtures, or JSONL logs offline for unmasked live emails, Luhn payment cards outside sandbox BINs, GB 11643-1999 18-digit IDs, public IPv4s, and unredacted JWT/API tokens without echoing raw secrets.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_unmasked_pii_exposure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Raw SQL, CSV, JSONL, or text fixture content to inspect for unmasked PII exposure. | |
| filePath | No | Optional local file path to inspect when content is omitted. | |
| filename | No | Optional display filename attached to audit findings. | |
| redactFindings | No | When true (default), masks middle characters of matched PII in finding previews. | |
| allowSyntheticCnIds | No | When true, suppresses alerts on 18-digit GB 11643 IDs in files already sanitized with SeedMask. |