What Paste Guard detects

This list is generated from the detector code in the extension, so it matches the version in the repository. Every detector can be switched off in the popup.

Secrets and keys

DetectorPlaceholderOn by defaultWhat it matches
API keys & secrets[API_KEY_1]YesTokens that start with a known provider prefix (cloud, source hosting, payments, messaging and AI services, among others), secrets next to a label such as secret, token or password, JWTs, HTTP authorization headers, passwords in connection strings and curl commands, and private key blocks.

Identity

DetectorPlaceholderOn by defaultWhat it matches
Aadhaar numbers[AADHAAR_1]YesTwelve digits starting 2 to 9. Grouped as 4-4-4 is flagged; an unbroken number must also pass its check digit.
PAN numbers[PAN_1]YesFive letters, four digits, one letter.
US SSNs[SSN_1]YesNine digits in the 3-2-4 shape with separators, excluding ranges that are never issued.

Contact

DetectorPlaceholderOn by defaultWhat it matches
Email addresses[EMAIL_1]YesStandard name@domain addresses.
Phone numbers (+91 / international)[PHONE_1]YesNumbers that start with a plus sign and a country code, and Indian mobile numbers written in two groups of five.
Phone numbers (local formats)[PHONE_1]NoOther local phone shapes. Off by default because ordinary numbers can look like phone numbers.

Payments

DetectorPlaceholderOn by defaultWhat it matches
Card numbers[CARD_1]YesThirteen to nineteen digits that pass the card check-digit test. Repeated-digit strings are ignored.

Regional

DetectorPlaceholderOn by defaultWhat it matches
UPI IDs[UPI_1]YesA name, an at sign and the handle of a well-known UPI bank or app.
IFSC codes[IFSC_1]YesFour letters, a zero, then six letters or digits.
GSTIN numbers[GSTIN_1]YesFifteen characters in the GST format, with its check character verified.
Bank account numbers (labelled)[BANK_ACCT_1]YesNine to eighteen digits, only when a label such as account number or a/c no comes right before them.
IBANs[IBAN_1]YesCountry code, two check digits and the account part, verified with the standard check.
UK National Insurance numbers[NINO_1]YesThe UK National Insurance format, excluding prefixes that are never used.

How masking works

Each found value is replaced with a numbered tag. The same value gets the same number within one paste, so the text still reads sensibly: two mentions of one email both become [EMAIL_1], a second address becomes [EMAIL_2]. Numbers restart with every paste.

Limits

Detection is pattern based. It can miss formats it does not know and can occasionally flag something harmless; Ignore skips a value you choose. It reads text only, not images. It watches pastes on the supported sites, not typing or uploads, and it reads page text there to restore placeholders in replies. It is a safety net, not a guarantee.