CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/presidio-pii-detection

Author and run Microsoft Presidio PII detection - wraps presidio-analyzer (PII detector) + presidio-anonymizer (replace/redact/mask/hash/encrypt operators) for scanning datasets, log streams, and free-text fields. Covers AnalyzerEngine + AnonymizerEngine setup, built-in recognizers (PERSON, EMAIL_ADDRESS, CREDIT_CARD, US_SSN, IBAN_CODE, country-specific IDs across US/UK/Spain/Italy/Poland/Singapore/Australia/India and more), custom PatternRecognizer authoring, score thresholds, and CI gating. Use when scanning *existing* data for PII (vs synthesising fresh fixtures with synthetic-pii-generator).

79

Quality

99%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

entity-catalog.mdreferences/

presidio-pii-detection - built-in entity catalog

Full entity lists for presidio-pii-detection. The runnable detection, custom-recogniser, anonymise, batch, and CI examples stay in SKILL.md; this file is the lookup catalog behind the entities=[...] whitelist.

Per presidio.dataprivacystack.org/supported_entities, the global entities are:

EntityDetects
CREDIT_CARD12 - 19 digit numbers (Luhn-validated)
CRYPTOBitcoin wallet addresses
DATE_TIMEAbsolute or relative dates / times
EMAIL_ADDRESSEmail box identifiers
IBAN_CODEInternational bank account numbers
IP_ADDRESSIPv4 / IPv6
MAC_ADDRESSNetwork interface identifiers
NRPNationality / religious / political affiliation
LOCATIONPolitically or geographically defined location (NER)
PERSONFull names (NER)
PHONE_NUMBERTelephone numbers
MEDICAL_LICENSECommon medical licence numbers
URLUniform Resource Locators

Country-specific entities (subset):

RegionEntities
USUS_BANK_NUMBER, US_DRIVER_LICENSE, US_ITIN, US_MBI, US_NPI, US_PASSPORT, US_SSN
UKUK_NHS, UK_NINO, UK_PASSPORT, UK_POSTCODE, UK_VEHICLE_REGISTRATION
SpainES_NIF, ES_NIE
ItalyIT_FISCAL_CODE, IT_DRIVER_LICENSE, IT_VAT_CODE, IT_PASSPORT, IT_IDENTITY_CARD
PolandPL_PESEL
SingaporeSG_NRIC_FIN, SG_UEN
AustraliaAU_ABN, AU_ACN, AU_TFN, AU_MEDICARE
IndiaIN_PAN, IN_AADHAAR, IN_VEHICLE_REGISTRATION, IN_VOTER, IN_PASSPORT, IN_GSTIN
FinlandFI_PERSONAL_IDENTITY_CODE
KoreaKR_DRIVER_LICENSE, KR_FRN, KR_PASSPORT, KR_BRN, KR_RRN
NigeriaNG_NIN, NG_VEHICLE_REGISTRATION
ThailandTH_TNIN

For the full list and entity descriptions see presidio.dataprivacystack.org/supported_entities.

SKILL.md

tile.json