flare-redact 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +113 -0
  2. package/README.md +122 -1225
  3. package/bench/adversarial-runtime.mjs +27 -6
  4. package/dist/ai-sdk.d.ts +62 -0
  5. package/dist/ai-sdk.d.ts.map +1 -0
  6. package/dist/ai-sdk.js +263 -0
  7. package/dist/ai-sdk.js.map +1 -0
  8. package/dist/checksums.d.ts +43 -0
  9. package/dist/checksums.d.ts.map +1 -1
  10. package/dist/checksums.js +184 -0
  11. package/dist/checksums.js.map +1 -1
  12. package/dist/cli.d.ts.map +1 -1
  13. package/dist/cli.js +5 -2
  14. package/dist/cli.js.map +1 -1
  15. package/dist/detectors.d.ts.map +1 -1
  16. package/dist/detectors.js +7 -4
  17. package/dist/detectors.js.map +1 -1
  18. package/dist/extra.d.ts.map +1 -1
  19. package/dist/extra.js +229 -1
  20. package/dist/extra.js.map +1 -1
  21. package/dist/file-discovery.d.ts +5 -0
  22. package/dist/file-discovery.d.ts.map +1 -1
  23. package/dist/file-discovery.js +5 -1
  24. package/dist/file-discovery.js.map +1 -1
  25. package/dist/gateway/body.d.ts.map +1 -1
  26. package/dist/gateway/body.js +2 -1
  27. package/dist/gateway/body.js.map +1 -1
  28. package/dist/gateway/config.d.ts +5 -3
  29. package/dist/gateway/config.d.ts.map +1 -1
  30. package/dist/gateway/config.js.map +1 -1
  31. package/dist/gateway/index.d.ts +1 -0
  32. package/dist/gateway/index.d.ts.map +1 -1
  33. package/dist/gateway/index.js +1 -0
  34. package/dist/gateway/index.js.map +1 -1
  35. package/dist/gateway/server.d.ts.map +1 -1
  36. package/dist/gateway/server.js +17 -1
  37. package/dist/gateway/server.js.map +1 -1
  38. package/dist/gateway/sse.d.ts +35 -0
  39. package/dist/gateway/sse.d.ts.map +1 -0
  40. package/dist/gateway/sse.js +217 -0
  41. package/dist/gateway/sse.js.map +1 -0
  42. package/dist/help.d.ts.map +1 -1
  43. package/dist/help.js +11 -5
  44. package/dist/help.js.map +1 -1
  45. package/dist/init.d.ts.map +1 -1
  46. package/dist/init.js +12 -3
  47. package/dist/init.js.map +1 -1
  48. package/dist/llm.d.ts.map +1 -1
  49. package/dist/llm.js +20 -9
  50. package/dist/llm.js.map +1 -1
  51. package/dist/locales.d.ts +3 -2
  52. package/dist/locales.d.ts.map +1 -1
  53. package/dist/locales.js +152 -3
  54. package/dist/locales.js.map +1 -1
  55. package/dist/pack.d.ts.map +1 -1
  56. package/dist/pack.js +14 -1
  57. package/dist/pack.js.map +1 -1
  58. package/dist/vault.d.ts +26 -1
  59. package/dist/vault.d.ts.map +1 -1
  60. package/dist/vault.js +61 -3
  61. package/dist/vault.js.map +1 -1
  62. package/docker/README.md +8 -5
  63. package/docs/guide.md +1416 -0
  64. package/package.json +10 -3
  65. package/spec/SPEC.md +40 -3
  66. package/spec/conformance/README.md +8 -1
  67. package/spec/conformance/cases.json +60 -1
  68. package/spec/conformance/expected.json +815 -7
  69. package/spec/detectors.json +1118 -222
  70. package/spec/detectors.schema.json +3 -1
@@ -2,7 +2,7 @@
2
2
  "$schema": "./detectors.schema.json",
3
3
  "spec": "FRS-1",
4
4
  "id": "flare-redact/core",
5
- "version": "1.7.0",
5
+ "version": "1.10.0",
6
6
  "title": "flare-redact core detector pack",
7
7
  "description": "The portable profile of the flare-redact detector set. Every pattern is written in the FRS-1 regular-expression subset so the JavaScript, Python, Go and Rust engines compile it to the same automaton and produce byte-identical output. See spec/SPEC.md.",
8
8
  "license": "MIT",
@@ -125,15 +125,16 @@
125
125
  {
126
126
  "id": "gitlab_token",
127
127
  "label": "GitLab token",
128
- "why": "A GitLab personal access token grants API and repo access.",
129
- "pattern": "glpat-[A-Za-z0-9_-]{20}",
128
+ "why": "GitLab access, deploy, runner and pipeline tokens grant API, repository and CI access.",
129
+ "pattern": "(?:gl(?:pat|rt)-[A-Za-z0-9_-]{27,300}\\.[0-9a-z]{9}|glpat-[A-Za-z0-9_-]{20}|gl(?:dt|rt|ft|soat|ffct)-[A-Za-z0-9_-]{20}|glimt-[A-Za-z0-9_-]{25}|glagent-[A-Za-z0-9_-]{50}|gloas-[A-Za-z0-9_-]{64}|glptt-[a-f0-9]{40}|glcbt-[A-Za-z0-9]{1,5}_[A-Za-z0-9_-]{20})",
130
130
  "boundary": {
131
131
  "before": "word",
132
132
  "after": "word_dash"
133
133
  },
134
134
  "mask": {
135
- "type": "keepPrefix",
136
- "n": 6
135
+ "type": "keepThroughSeparator",
136
+ "separator": "-",
137
+ "count": 1
137
138
  },
138
139
  "default": true,
139
140
  "risk": "critical",
@@ -341,7 +342,7 @@
341
342
  "id": "url_credentials",
342
343
  "label": "Credentials in URL",
343
344
  "why": "A username:password baked into a connection string leaks the password.",
344
- "pattern": "[a-zA-Z][a-zA-Z0-9+.-]*://[^:@ \\t\\n\\x0B\\f\\r/]+:[^@ \\t\\n\\x0B\\f\\r/]+@",
345
+ "pattern": "[a-zA-Z][a-zA-Z0-9_+.-]{0,63}://[^:@ \\t\\n\\x0B\\f\\r/]+:[^@ \\t\\n\\x0B\\f\\r/]+@",
345
346
  "boundary": {
346
347
  "before": "word"
347
348
  },
@@ -350,7 +351,7 @@
350
351
  ],
351
352
  "mask": {
352
353
  "type": "replace",
353
- "pattern": "([a-zA-Z][a-zA-Z0-9+.-]*://[^:@ \\t\\n\\x0B\\f\\r/]+:)[^@ \\t\\n\\x0B\\f\\r/]+(@)",
354
+ "pattern": "([a-zA-Z][a-zA-Z0-9_+.-]{0,63}://[^:@ \\t\\n\\x0B\\f\\r/]+:)[^@ \\t\\n\\x0B\\f\\r/]+(@)",
354
355
  "replacement": "$1***$2"
355
356
  },
356
357
  "default": true,
@@ -1042,257 +1043,962 @@
1042
1043
  "confidence": 0.99
1043
1044
  },
1044
1045
  {
1045
- "id": "digitalocean_token",
1046
- "label": "DigitalOcean token",
1047
- "why": "Controls DigitalOcean infrastructure and billing.",
1048
- "pattern": "dop_v1_[a-f0-9]{64}",
1046
+ "id": "ro_cnp",
1047
+ "label": "Romanian CNP",
1048
+ "why": "Romania personal numeric code, assigned at birth.",
1049
+ "pattern": "[1-9][0-9]{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12][0-9]|3[01])[0-9]{6}",
1049
1050
  "boundary": {
1050
1051
  "before": "word",
1051
1052
  "after": "word"
1052
1053
  },
1054
+ "validators": [
1055
+ {
1056
+ "name": "cnp"
1057
+ }
1058
+ ],
1053
1059
  "mask": {
1054
- "type": "keepPrefix",
1055
- "n": 7
1060
+ "type": "fixed",
1061
+ "text": "[REDACTED ID]"
1056
1062
  },
1057
- "default": true,
1063
+ "default": false,
1058
1064
  "tags": [
1059
- "secret"
1065
+ "pii",
1066
+ "id",
1067
+ "ro"
1060
1068
  ],
1061
- "risk": "critical",
1062
- "confidence": 0.92
1069
+ "risk": "high",
1070
+ "confidence": 0.99,
1071
+ "priority": 1
1063
1072
  },
1064
1073
  {
1065
- "id": "sentry_dsn",
1066
- "label": "Sentry DSN",
1067
- "why": "A Sentry DSN can be used to send events to your project.",
1068
- "pattern": "https://[0-9a-zA-Z]{16,}@[A-Za-z0-9_.-]*sentry\\.io/[0-9]+",
1074
+ "id": "se_personnummer",
1075
+ "label": "Swedish personnummer",
1076
+ "why": "Sweden personal identity number.",
1077
+ "pattern": "(?:(?:19|20)[0-9]{6}-?|[0-9]{6}[-+])[0-9]{4}",
1069
1078
  "boundary": {
1070
1079
  "before": "word",
1071
1080
  "after": "word"
1072
1081
  },
1073
- "prefilter": [
1074
- "sentry.io"
1082
+ "validators": [
1083
+ {
1084
+ "name": "personnummer"
1085
+ }
1075
1086
  ],
1076
1087
  "mask": {
1077
1088
  "type": "fixed",
1078
- "text": "[REDACTED SENTRY DSN]"
1089
+ "text": "[REDACTED ID]"
1079
1090
  },
1080
- "default": true,
1091
+ "default": false,
1081
1092
  "tags": [
1082
- "secret"
1093
+ "pii",
1094
+ "id",
1095
+ "se"
1083
1096
  ],
1084
- "risk": "critical",
1085
- "confidence": 0.92
1097
+ "risk": "high",
1098
+ "confidence": 0.99
1086
1099
  },
1087
1100
  {
1088
- "id": "new_relic_key",
1089
- "label": "New Relic key",
1090
- "why": "Grants access to your New Relic account data.",
1091
- "pattern": "(?:NRAK-[A-Z0-9]{27}|NRJS-[a-f0-9]{19})",
1101
+ "id": "fi_hetu",
1102
+ "label": "Finnish personal identity code (HETU)",
1103
+ "why": "Finland henkilötunnus, the personal identity code.",
1104
+ "pattern": "(?:0[1-9]|[12][0-9]|3[01])(?:0[1-9]|1[0-2])[0-9]{2}[-+A-FU-Y][0-9]{3}[0-9A-FHJ-NPR-Y]",
1092
1105
  "boundary": {
1093
1106
  "before": "word",
1094
1107
  "after": "word"
1095
1108
  },
1109
+ "validators": [
1110
+ {
1111
+ "name": "hetu"
1112
+ }
1113
+ ],
1096
1114
  "mask": {
1097
- "type": "keepPrefix",
1098
- "n": 5
1115
+ "type": "fixed",
1116
+ "text": "[REDACTED ID]"
1099
1117
  },
1100
- "default": true,
1118
+ "default": false,
1101
1119
  "tags": [
1102
- "secret"
1120
+ "pii",
1121
+ "id",
1122
+ "fi"
1103
1123
  ],
1104
- "risk": "critical",
1105
- "confidence": 0.92
1124
+ "risk": "high",
1125
+ "confidence": 0.99
1106
1126
  },
1107
1127
  {
1108
- "id": "discord_bot_token",
1109
- "label": "Discord bot token",
1110
- "why": "Full control of a Discord bot account.",
1111
- "pattern": "[MNO][A-Za-z0-9_-]{23}\\.[A-Za-z0-9_-]{6}\\.[A-Za-z0-9_-]{27,}",
1128
+ "id": "no_fodselsnummer",
1129
+ "label": "Norwegian fødselsnummer",
1130
+ "why": "Norway national identity number, including D- and H-numbers.",
1131
+ "pattern": "[0-9]{6} ?[0-9]{5}",
1112
1132
  "boundary": {
1113
1133
  "before": "word",
1114
- "after": "word_dash"
1134
+ "after": "word"
1115
1135
  },
1136
+ "validators": [
1137
+ {
1138
+ "name": "fodselsnummer"
1139
+ }
1140
+ ],
1116
1141
  "mask": {
1117
1142
  "type": "fixed",
1118
- "text": "[REDACTED DISCORD TOKEN]"
1143
+ "text": "[REDACTED ID]"
1119
1144
  },
1120
- "default": true,
1145
+ "default": false,
1121
1146
  "tags": [
1122
- "secret"
1147
+ "pii",
1148
+ "id",
1149
+ "no"
1123
1150
  ],
1124
- "risk": "critical",
1125
- "confidence": 0.92
1151
+ "risk": "high",
1152
+ "confidence": 0.99
1126
1153
  },
1127
1154
  {
1128
- "id": "telegram_bot_token",
1129
- "label": "Telegram bot token",
1130
- "why": "Full control of a Telegram bot.",
1131
- "pattern": "[0-9]{8,10}:[A-Za-z0-9_-]{34,46}",
1155
+ "id": "be_national_number",
1156
+ "label": "Belgian national number",
1157
+ "why": "Belgium national register number, also used for social security.",
1158
+ "pattern": "[0-9]{2}[. ]?[0-9]{2}[. ]?[0-9]{2}[-. ]?[0-9]{3}[. ]?[0-9]{2}",
1132
1159
  "boundary": {
1133
1160
  "before": "word",
1134
- "after": "word_dash"
1161
+ "after": "word"
1135
1162
  },
1163
+ "validators": [
1164
+ {
1165
+ "name": "be_national_number"
1166
+ }
1167
+ ],
1136
1168
  "mask": {
1137
1169
  "type": "fixed",
1138
- "text": "[REDACTED TELEGRAM TOKEN]"
1170
+ "text": "[REDACTED ID]"
1139
1171
  },
1140
- "default": true,
1172
+ "default": false,
1141
1173
  "tags": [
1142
- "secret"
1174
+ "pii",
1175
+ "id",
1176
+ "be"
1143
1177
  ],
1144
- "risk": "critical",
1145
- "confidence": 0.92
1178
+ "risk": "high",
1179
+ "confidence": 0.99
1146
1180
  },
1147
1181
  {
1148
- "id": "shopify_token",
1149
- "label": "Shopify token",
1150
- "why": "Access to a Shopify store and its data.",
1151
- "pattern": "shp(?:at|ca|pa|ss)_[a-fA-F0-9]{32}",
1182
+ "id": "pt_nif",
1183
+ "label": "Portuguese NIF",
1184
+ "why": "Portugal tax identification number of a person.",
1185
+ "pattern": "[1-4][0-9]{2} ?[0-9]{3} ?[0-9]{3}",
1152
1186
  "boundary": {
1153
1187
  "before": "word",
1154
1188
  "after": "word"
1155
1189
  },
1190
+ "validators": [
1191
+ {
1192
+ "name": "pt_nif"
1193
+ }
1194
+ ],
1156
1195
  "mask": {
1157
- "type": "keepPrefix",
1158
- "n": 6
1196
+ "type": "fixed",
1197
+ "text": "[REDACTED ID]"
1159
1198
  },
1160
- "default": true,
1199
+ "default": false,
1161
1200
  "tags": [
1162
- "secret"
1201
+ "pii",
1202
+ "id",
1203
+ "pt"
1163
1204
  ],
1164
- "risk": "critical",
1165
- "confidence": 0.92
1205
+ "risk": "high",
1206
+ "confidence": 0.99
1166
1207
  },
1167
1208
  {
1168
- "id": "square_token",
1169
- "label": "Square token",
1170
- "why": "Can move money through a Square account.",
1171
- "pattern": "(?:sq0[a-z]{3}-[A-Za-z0-9_-]{22,43}|EAAA[A-Za-z0-9_-]{60})",
1209
+ "id": "za_id",
1210
+ "label": "South African ID number",
1211
+ "why": "South Africa identity number, encodes birth date and citizenship.",
1212
+ "pattern": "[0-9]{6} ?[0-9]{4} ?[0-9]{2} ?[0-9]",
1172
1213
  "boundary": {
1173
1214
  "before": "word",
1174
- "after": "word_dash"
1215
+ "after": "word"
1175
1216
  },
1217
+ "validators": [
1218
+ {
1219
+ "name": "za_id"
1220
+ }
1221
+ ],
1176
1222
  "mask": {
1177
- "type": "keepPrefix",
1178
- "n": 6
1223
+ "type": "fixed",
1224
+ "text": "[REDACTED ID]"
1179
1225
  },
1180
- "default": true,
1226
+ "default": false,
1181
1227
  "tags": [
1182
- "secret"
1228
+ "pii",
1229
+ "id",
1230
+ "za"
1183
1231
  ],
1184
- "risk": "critical",
1185
- "confidence": 0.92
1232
+ "risk": "high",
1233
+ "confidence": 0.99,
1234
+ "priority": 1
1186
1235
  },
1187
1236
  {
1188
- "id": "azure_storage_key",
1189
- "label": "Azure storage key",
1190
- "why": "A storage account key grants full access to the account.",
1191
- "pattern": "AccountKey=[A-Za-z0-9+/]{86}==",
1237
+ "id": "mx_curp",
1238
+ "label": "Mexican CURP",
1239
+ "why": "Mexico population registry code, encodes name, birth date and sex.",
1240
+ "pattern": "[A-Z]{4}[0-9]{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12][0-9]|3[01])[HM](?:AS|BC|BS|CC|CH|CL|CM|CS|DF|DG|GR|GT|HG|JC|MC|MN|MS|NE|NL|NT|OC|PL|QR|QT|SL|SP|SR|TC|TL|TS|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[0-9A-Z][0-9]",
1192
1241
  "boundary": {
1193
- "before": "word"
1242
+ "before": "word",
1243
+ "after": "word"
1194
1244
  },
1195
- "prefilter": [
1196
- "accountkey="
1245
+ "validators": [
1246
+ {
1247
+ "name": "curp"
1248
+ }
1197
1249
  ],
1198
1250
  "mask": {
1199
1251
  "type": "fixed",
1200
- "text": "AccountKey=***"
1252
+ "text": "[REDACTED ID]"
1201
1253
  },
1202
- "default": true,
1254
+ "default": false,
1203
1255
  "tags": [
1204
- "secret"
1256
+ "pii",
1257
+ "id",
1258
+ "mx"
1205
1259
  ],
1206
- "risk": "critical",
1207
- "confidence": 0.92
1260
+ "risk": "high",
1261
+ "confidence": 0.99
1208
1262
  },
1209
1263
  {
1210
- "id": "discord_webhook",
1211
- "label": "Discord webhook URL",
1212
- "why": "Anyone with the URL can post messages to the channel.",
1213
- "pattern": "https://(?:[A-Za-z0-9_]+\\.)?discord(?:app)?\\.com/api/webhooks/[0-9]{17,20}/[A-Za-z0-9_-]{60,}",
1264
+ "id": "cl_rut",
1265
+ "label": "Chilean RUT / RUN",
1266
+ "why": "Chile national identity and tax number.",
1267
+ "pattern": "[1-9][0-9]?\\.?[0-9]{3}\\.?[0-9]{3}-[0-9Kk]",
1214
1268
  "boundary": {
1215
- "before": "word"
1269
+ "before": "word",
1270
+ "after": "word"
1216
1271
  },
1217
- "prefilter": [
1218
- "/api/webhooks/"
1272
+ "validators": [
1273
+ {
1274
+ "name": "rut"
1275
+ }
1219
1276
  ],
1220
1277
  "mask": {
1221
1278
  "type": "fixed",
1222
- "text": "[REDACTED DISCORD WEBHOOK]"
1279
+ "text": "[REDACTED ID]"
1223
1280
  },
1224
- "default": true,
1281
+ "default": false,
1225
1282
  "tags": [
1226
- "secret"
1283
+ "pii",
1284
+ "id",
1285
+ "cl"
1227
1286
  ],
1228
- "risk": "critical",
1229
- "confidence": 0.92
1287
+ "risk": "high",
1288
+ "confidence": 0.99
1230
1289
  },
1231
1290
  {
1232
- "id": "huggingface_token",
1233
- "label": "Hugging Face token",
1234
- "why": "Grants access to private models, datasets, and inference.",
1235
- "pattern": "hf_[A-Za-z0-9]{30,45}",
1291
+ "id": "ar_cuit",
1292
+ "label": "Argentine CUIL / CUIT",
1293
+ "why": "Argentina tax and labour identification number of a person.",
1294
+ "pattern": "2[0347]-?[0-9]{8}-?[0-9]",
1236
1295
  "boundary": {
1237
1296
  "before": "word",
1238
1297
  "after": "word"
1239
1298
  },
1299
+ "validators": [
1300
+ {
1301
+ "name": "cuit"
1302
+ }
1303
+ ],
1240
1304
  "mask": {
1241
- "type": "keepPrefix",
1242
- "n": 3
1305
+ "type": "fixed",
1306
+ "text": "[REDACTED ID]"
1243
1307
  },
1244
- "default": true,
1308
+ "default": false,
1245
1309
  "tags": [
1246
- "secret"
1310
+ "pii",
1311
+ "id",
1312
+ "ar"
1247
1313
  ],
1248
- "risk": "critical",
1249
- "confidence": 0.92
1314
+ "risk": "high",
1315
+ "confidence": 0.99
1250
1316
  },
1251
1317
  {
1252
- "id": "vault_token",
1253
- "label": "HashiCorp Vault token",
1254
- "why": "A Vault token unlocks every secret it is entitled to read.",
1255
- "pattern": "hv[sbr]\\.[A-Za-z0-9_-]{20,200}",
1318
+ "id": "sg_nric",
1319
+ "label": "Singapore NRIC / FIN",
1320
+ "why": "Singapore identity card or foreign identification number.",
1321
+ "pattern": "[STFG][0-9]{7}[A-Z]",
1256
1322
  "boundary": {
1257
1323
  "before": "word",
1258
- "after": "word_dash"
1324
+ "after": "word"
1259
1325
  },
1326
+ "validators": [
1327
+ {
1328
+ "name": "nric"
1329
+ }
1330
+ ],
1260
1331
  "mask": {
1261
- "type": "keepPrefix",
1262
- "n": 4
1332
+ "type": "fixed",
1333
+ "text": "[REDACTED ID]"
1263
1334
  },
1264
- "default": true,
1335
+ "default": false,
1265
1336
  "tags": [
1266
- "secret"
1337
+ "pii",
1338
+ "id",
1339
+ "sg"
1267
1340
  ],
1268
- "risk": "critical",
1269
- "confidence": 0.92
1341
+ "risk": "high",
1342
+ "confidence": 0.99
1270
1343
  },
1271
1344
  {
1272
- "id": "groq_key",
1273
- "label": "Groq API key",
1274
- "why": "Bills inference against your Groq account.",
1275
- "pattern": "gsk_[A-Za-z0-9]{40,60}",
1345
+ "id": "il_teudat_zehut",
1346
+ "label": "Israeli ID number (Teudat Zehut)",
1347
+ "why": "Israel identity number.",
1348
+ "pattern": "[0-9]{8}-?[0-9]",
1276
1349
  "boundary": {
1277
1350
  "before": "word",
1278
1351
  "after": "word"
1279
1352
  },
1353
+ "validators": [
1354
+ {
1355
+ "name": "luhn",
1356
+ "minDigits": 9,
1357
+ "maxDigits": 9
1358
+ }
1359
+ ],
1280
1360
  "mask": {
1281
- "type": "keepPrefix",
1282
- "n": 4
1361
+ "type": "fixed",
1362
+ "text": "[REDACTED ID]"
1283
1363
  },
1284
- "default": true,
1364
+ "default": false,
1285
1365
  "tags": [
1286
- "secret"
1366
+ "pii",
1367
+ "id",
1368
+ "il"
1369
+ ],
1370
+ "risk": "high",
1371
+ "confidence": 0.99
1372
+ },
1373
+ {
1374
+ "id": "gr_amka",
1375
+ "label": "Greek AMKA",
1376
+ "why": "Greece social security number, starts with the birth date.",
1377
+ "pattern": "(?:0[1-9]|[12][0-9]|3[01])(?:0[1-9]|1[0-2])[0-9]{7}",
1378
+ "boundary": {
1379
+ "before": "word",
1380
+ "after": "word"
1381
+ },
1382
+ "validators": [
1383
+ {
1384
+ "name": "amka"
1385
+ }
1386
+ ],
1387
+ "mask": {
1388
+ "type": "fixed",
1389
+ "text": "[REDACTED ID]"
1390
+ },
1391
+ "default": false,
1392
+ "tags": [
1393
+ "pii",
1394
+ "id",
1395
+ "gr"
1396
+ ],
1397
+ "risk": "high",
1398
+ "confidence": 0.99
1399
+ },
1400
+ {
1401
+ "id": "uk_nino",
1402
+ "label": "UK National Insurance number",
1403
+ "why": "A UK National Insurance number, used for tax and benefits.",
1404
+ "pattern": "[A-CEGHJ-PR-TW-Z][A-CEGHJ-NPR-TW-Z] ?[0-9]{2} ?[0-9]{2} ?[0-9]{2} ?[A-D]",
1405
+ "boundary": {
1406
+ "before": "word",
1407
+ "after": "word"
1408
+ },
1409
+ "validators": [
1410
+ {
1411
+ "name": "uk_nino"
1412
+ }
1413
+ ],
1414
+ "mask": {
1415
+ "type": "fixed",
1416
+ "text": "[REDACTED ID]"
1417
+ },
1418
+ "default": false,
1419
+ "tags": [
1420
+ "pii",
1421
+ "id",
1422
+ "gb"
1423
+ ],
1424
+ "risk": "high",
1425
+ "confidence": 0.99
1426
+ },
1427
+ {
1428
+ "id": "digitalocean_token",
1429
+ "label": "DigitalOcean token",
1430
+ "why": "Controls DigitalOcean infrastructure and billing.",
1431
+ "pattern": "do[opr]_v1_[a-f0-9]{64}",
1432
+ "boundary": {
1433
+ "before": "word",
1434
+ "after": "word"
1435
+ },
1436
+ "mask": {
1437
+ "type": "keepPrefix",
1438
+ "n": 7
1439
+ },
1440
+ "default": true,
1441
+ "tags": [
1442
+ "secret"
1443
+ ],
1444
+ "risk": "critical",
1445
+ "confidence": 0.92
1446
+ },
1447
+ {
1448
+ "id": "sentry_dsn",
1449
+ "label": "Sentry DSN",
1450
+ "why": "A Sentry DSN can be used to send events to your project.",
1451
+ "pattern": "https://[0-9a-zA-Z]{16,}@[A-Za-z0-9_.-]*sentry\\.io/[0-9]+",
1452
+ "boundary": {
1453
+ "before": "word",
1454
+ "after": "word"
1455
+ },
1456
+ "prefilter": [
1457
+ "sentry.io"
1458
+ ],
1459
+ "mask": {
1460
+ "type": "fixed",
1461
+ "text": "[REDACTED SENTRY DSN]"
1462
+ },
1463
+ "default": true,
1464
+ "tags": [
1465
+ "secret"
1466
+ ],
1467
+ "risk": "critical",
1468
+ "confidence": 0.92
1469
+ },
1470
+ {
1471
+ "id": "new_relic_key",
1472
+ "label": "New Relic key",
1473
+ "why": "Grants access to your New Relic account data.",
1474
+ "pattern": "(?:NRAK-[A-Z0-9]{27}|NRJS-[a-f0-9]{19})",
1475
+ "boundary": {
1476
+ "before": "word",
1477
+ "after": "word"
1478
+ },
1479
+ "mask": {
1480
+ "type": "keepPrefix",
1481
+ "n": 5
1482
+ },
1483
+ "default": true,
1484
+ "tags": [
1485
+ "secret"
1486
+ ],
1487
+ "risk": "critical",
1488
+ "confidence": 0.92
1489
+ },
1490
+ {
1491
+ "id": "discord_bot_token",
1492
+ "label": "Discord bot token",
1493
+ "why": "Full control of a Discord bot account.",
1494
+ "pattern": "[MNO][A-Za-z0-9_-]{23}\\.[A-Za-z0-9_-]{6}\\.[A-Za-z0-9_-]{27,}",
1495
+ "boundary": {
1496
+ "before": "word",
1497
+ "after": "word_dash"
1498
+ },
1499
+ "mask": {
1500
+ "type": "fixed",
1501
+ "text": "[REDACTED DISCORD TOKEN]"
1502
+ },
1503
+ "default": true,
1504
+ "tags": [
1505
+ "secret"
1506
+ ],
1507
+ "risk": "critical",
1508
+ "confidence": 0.92
1509
+ },
1510
+ {
1511
+ "id": "telegram_bot_token",
1512
+ "label": "Telegram bot token",
1513
+ "why": "Full control of a Telegram bot.",
1514
+ "pattern": "[0-9]{8,10}:[A-Za-z0-9_-]{34,46}",
1515
+ "boundary": {
1516
+ "before": "word",
1517
+ "after": "word_dash"
1518
+ },
1519
+ "mask": {
1520
+ "type": "fixed",
1521
+ "text": "[REDACTED TELEGRAM TOKEN]"
1522
+ },
1523
+ "default": true,
1524
+ "tags": [
1525
+ "secret"
1526
+ ],
1527
+ "risk": "critical",
1528
+ "confidence": 0.92
1529
+ },
1530
+ {
1531
+ "id": "shopify_token",
1532
+ "label": "Shopify token",
1533
+ "why": "Access to a Shopify store and its data.",
1534
+ "pattern": "shp(?:at|ca|pa|ss)_[a-fA-F0-9]{32}",
1535
+ "boundary": {
1536
+ "before": "word",
1537
+ "after": "word"
1538
+ },
1539
+ "mask": {
1540
+ "type": "keepPrefix",
1541
+ "n": 6
1542
+ },
1543
+ "default": true,
1544
+ "tags": [
1545
+ "secret"
1546
+ ],
1547
+ "risk": "critical",
1548
+ "confidence": 0.92
1549
+ },
1550
+ {
1551
+ "id": "square_token",
1552
+ "label": "Square token",
1553
+ "why": "Can move money through a Square account.",
1554
+ "pattern": "(?:sq0[a-z]{3}-[A-Za-z0-9_-]{22,43}|EAAA[A-Za-z0-9_-]{60})",
1555
+ "boundary": {
1556
+ "before": "word",
1557
+ "after": "word_dash"
1558
+ },
1559
+ "mask": {
1560
+ "type": "keepPrefix",
1561
+ "n": 6
1562
+ },
1563
+ "default": true,
1564
+ "tags": [
1565
+ "secret"
1566
+ ],
1567
+ "risk": "critical",
1568
+ "confidence": 0.92
1569
+ },
1570
+ {
1571
+ "id": "azure_storage_key",
1572
+ "label": "Azure storage key",
1573
+ "why": "A storage account key grants full access to the account.",
1574
+ "pattern": "AccountKey=[A-Za-z0-9+/]{86}==",
1575
+ "boundary": {
1576
+ "before": "word"
1577
+ },
1578
+ "prefilter": [
1579
+ "accountkey="
1580
+ ],
1581
+ "mask": {
1582
+ "type": "fixed",
1583
+ "text": "AccountKey=***"
1584
+ },
1585
+ "default": true,
1586
+ "tags": [
1587
+ "secret"
1588
+ ],
1589
+ "risk": "critical",
1590
+ "confidence": 0.92
1591
+ },
1592
+ {
1593
+ "id": "discord_webhook",
1594
+ "label": "Discord webhook URL",
1595
+ "why": "Anyone with the URL can post messages to the channel.",
1596
+ "pattern": "https://(?:[A-Za-z0-9_]+\\.)?discord(?:app)?\\.com/api/webhooks/[0-9]{17,20}/[A-Za-z0-9_-]{60,}",
1597
+ "boundary": {
1598
+ "before": "word"
1599
+ },
1600
+ "prefilter": [
1601
+ "/api/webhooks/"
1602
+ ],
1603
+ "mask": {
1604
+ "type": "fixed",
1605
+ "text": "[REDACTED DISCORD WEBHOOK]"
1606
+ },
1607
+ "default": true,
1608
+ "tags": [
1609
+ "secret"
1610
+ ],
1611
+ "risk": "critical",
1612
+ "confidence": 0.92
1613
+ },
1614
+ {
1615
+ "id": "huggingface_token",
1616
+ "label": "Hugging Face token",
1617
+ "why": "Grants access to private models, datasets, and inference.",
1618
+ "pattern": "hf_[A-Za-z0-9]{30,45}",
1619
+ "boundary": {
1620
+ "before": "word",
1621
+ "after": "word"
1622
+ },
1623
+ "mask": {
1624
+ "type": "keepPrefix",
1625
+ "n": 3
1626
+ },
1627
+ "default": true,
1628
+ "tags": [
1629
+ "secret"
1630
+ ],
1631
+ "risk": "critical",
1632
+ "confidence": 0.92
1633
+ },
1634
+ {
1635
+ "id": "vault_token",
1636
+ "label": "HashiCorp Vault token",
1637
+ "why": "A Vault token unlocks every secret it is entitled to read.",
1638
+ "pattern": "hv[sbr]\\.[A-Za-z0-9_-]{20,200}",
1639
+ "boundary": {
1640
+ "before": "word",
1641
+ "after": "word_dash"
1642
+ },
1643
+ "mask": {
1644
+ "type": "keepPrefix",
1645
+ "n": 4
1646
+ },
1647
+ "default": true,
1648
+ "tags": [
1649
+ "secret"
1650
+ ],
1651
+ "risk": "critical",
1652
+ "confidence": 0.92
1653
+ },
1654
+ {
1655
+ "id": "groq_key",
1656
+ "label": "Groq API key",
1657
+ "why": "Bills inference against your Groq account.",
1658
+ "pattern": "gsk_[A-Za-z0-9]{40,60}",
1659
+ "boundary": {
1660
+ "before": "word",
1661
+ "after": "word"
1662
+ },
1663
+ "mask": {
1664
+ "type": "keepPrefix",
1665
+ "n": 4
1666
+ },
1667
+ "default": true,
1668
+ "tags": [
1669
+ "secret"
1670
+ ],
1671
+ "risk": "critical",
1672
+ "confidence": 0.92
1673
+ },
1674
+ {
1675
+ "id": "xai_key",
1676
+ "label": "xAI API key",
1677
+ "why": "Bills inference against your xAI account.",
1678
+ "pattern": "xai-[A-Za-z0-9]{40,120}",
1679
+ "boundary": {
1680
+ "before": "word",
1681
+ "after": "word"
1682
+ },
1683
+ "mask": {
1684
+ "type": "keepPrefix",
1685
+ "n": 4
1686
+ },
1687
+ "default": true,
1688
+ "tags": [
1689
+ "secret"
1690
+ ],
1691
+ "risk": "critical",
1692
+ "confidence": 0.92
1693
+ },
1694
+ {
1695
+ "id": "perplexity_key",
1696
+ "label": "Perplexity API key",
1697
+ "why": "Bills inference against your Perplexity account.",
1698
+ "pattern": "pplx-[A-Za-z0-9]{40,60}",
1699
+ "boundary": {
1700
+ "before": "word",
1701
+ "after": "word"
1702
+ },
1703
+ "mask": {
1704
+ "type": "keepPrefix",
1705
+ "n": 5
1706
+ },
1707
+ "default": true,
1708
+ "tags": [
1709
+ "secret"
1710
+ ],
1711
+ "risk": "critical",
1712
+ "confidence": 0.92
1713
+ },
1714
+ {
1715
+ "id": "openrouter_key",
1716
+ "label": "OpenRouter API key",
1717
+ "why": "Bills requests to every model behind your OpenRouter account.",
1718
+ "pattern": "sk-or-v1-[a-f0-9]{64}",
1719
+ "boundary": {
1720
+ "before": "word",
1721
+ "after": "word"
1722
+ },
1723
+ "mask": {
1724
+ "type": "keepPrefix",
1725
+ "n": 9
1726
+ },
1727
+ "default": true,
1728
+ "tags": [
1729
+ "secret"
1730
+ ],
1731
+ "risk": "critical",
1732
+ "confidence": 0.92
1733
+ },
1734
+ {
1735
+ "id": "replicate_token",
1736
+ "label": "Replicate token",
1737
+ "why": "Runs and bills model predictions on your account.",
1738
+ "pattern": "r8_[A-Za-z0-9]{30,45}",
1739
+ "boundary": {
1740
+ "before": "word",
1741
+ "after": "word"
1742
+ },
1743
+ "mask": {
1744
+ "type": "keepPrefix",
1745
+ "n": 3
1746
+ },
1747
+ "default": true,
1748
+ "tags": [
1749
+ "secret"
1750
+ ],
1751
+ "risk": "critical",
1752
+ "confidence": 0.92
1753
+ },
1754
+ {
1755
+ "id": "databricks_token",
1756
+ "label": "Databricks token",
1757
+ "why": "Access to workspaces, jobs, and data in Databricks.",
1758
+ "pattern": "dapi[a-f0-9]{32}(?:-[0-9])?",
1759
+ "boundary": {
1760
+ "before": "word",
1761
+ "after": "word"
1762
+ },
1763
+ "mask": {
1764
+ "type": "keepPrefix",
1765
+ "n": 4
1766
+ },
1767
+ "default": true,
1768
+ "tags": [
1769
+ "secret"
1770
+ ],
1771
+ "risk": "critical",
1772
+ "confidence": 0.92
1773
+ },
1774
+ {
1775
+ "id": "airtable_pat",
1776
+ "label": "Airtable personal access token",
1777
+ "why": "Reads and writes the bases the token is scoped to.",
1778
+ "pattern": "pat[A-Za-z0-9]{14}\\.[a-f0-9]{64}",
1779
+ "boundary": {
1780
+ "before": "word",
1781
+ "after": "word"
1782
+ },
1783
+ "mask": {
1784
+ "type": "keepPrefix",
1785
+ "n": 6
1786
+ },
1787
+ "default": true,
1788
+ "tags": [
1789
+ "secret"
1790
+ ],
1791
+ "risk": "critical",
1792
+ "confidence": 0.92
1793
+ },
1794
+ {
1795
+ "id": "postman_key",
1796
+ "label": "Postman API key",
1797
+ "why": "Access to workspaces, collections, and stored environments.",
1798
+ "pattern": "PMAK-[a-f0-9]{24}-[a-f0-9]{34}",
1799
+ "boundary": {
1800
+ "before": "word",
1801
+ "after": "word"
1802
+ },
1803
+ "mask": {
1804
+ "type": "keepPrefix",
1805
+ "n": 5
1806
+ },
1807
+ "default": true,
1808
+ "tags": [
1809
+ "secret"
1810
+ ],
1811
+ "risk": "critical",
1812
+ "confidence": 0.92
1813
+ },
1814
+ {
1815
+ "id": "linear_key",
1816
+ "label": "Linear API key",
1817
+ "why": "Reads and writes issues and projects in your workspace.",
1818
+ "pattern": "lin_api_[A-Za-z0-9]{40,48}",
1819
+ "boundary": {
1820
+ "before": "word",
1821
+ "after": "word"
1822
+ },
1823
+ "mask": {
1824
+ "type": "keepPrefix",
1825
+ "n": 8
1826
+ },
1827
+ "default": true,
1828
+ "tags": [
1829
+ "secret"
1830
+ ],
1831
+ "risk": "critical",
1832
+ "confidence": 0.92
1833
+ },
1834
+ {
1835
+ "id": "figma_token",
1836
+ "label": "Figma token",
1837
+ "why": "Access to design files and team resources.",
1838
+ "pattern": "figd_[A-Za-z0-9_-]{40,50}",
1839
+ "boundary": {
1840
+ "before": "word",
1841
+ "after": "word_dash"
1842
+ },
1843
+ "mask": {
1844
+ "type": "keepPrefix",
1845
+ "n": 5
1846
+ },
1847
+ "default": true,
1848
+ "tags": [
1849
+ "secret"
1850
+ ],
1851
+ "risk": "critical",
1852
+ "confidence": 0.92
1853
+ },
1854
+ {
1855
+ "id": "notion_token",
1856
+ "label": "Notion token",
1857
+ "why": "Reads and writes every page the integration can reach.",
1858
+ "pattern": "(?:ntn_[A-Za-z0-9]{40,50}|secret_[A-Za-z0-9]{43})",
1859
+ "boundary": {
1860
+ "before": "word",
1861
+ "after": "word"
1862
+ },
1863
+ "mask": {
1864
+ "type": "keepPrefix",
1865
+ "n": 4
1866
+ },
1867
+ "default": true,
1868
+ "tags": [
1869
+ "secret"
1870
+ ],
1871
+ "risk": "critical",
1872
+ "confidence": 0.92
1873
+ },
1874
+ {
1875
+ "id": "doppler_token",
1876
+ "label": "Doppler token",
1877
+ "why": "Reads the secrets of the configs it is scoped to.",
1878
+ "pattern": "dp\\.(?:ct|pt|st)\\.(?:[a-z0-9_-]{2,35}\\.)?[A-Za-z0-9]{40,44}",
1879
+ "boundary": {
1880
+ "before": "word",
1881
+ "after": "word"
1882
+ },
1883
+ "mask": {
1884
+ "type": "keepPrefix",
1885
+ "n": 6
1886
+ },
1887
+ "default": true,
1888
+ "tags": [
1889
+ "secret"
1890
+ ],
1891
+ "risk": "critical",
1892
+ "confidence": 0.92
1893
+ },
1894
+ {
1895
+ "id": "supabase_key",
1896
+ "label": "Supabase key",
1897
+ "why": "Access to your Supabase project and its database.",
1898
+ "pattern": "sbp_[a-f0-9]{40}",
1899
+ "boundary": {
1900
+ "before": "word",
1901
+ "after": "word"
1902
+ },
1903
+ "mask": {
1904
+ "type": "keepPrefix",
1905
+ "n": 4
1906
+ },
1907
+ "default": true,
1908
+ "tags": [
1909
+ "secret"
1910
+ ],
1911
+ "risk": "critical",
1912
+ "confidence": 0.92
1913
+ },
1914
+ {
1915
+ "id": "netlify_token",
1916
+ "label": "Netlify token",
1917
+ "why": "Deploys and manages sites on your Netlify account.",
1918
+ "pattern": "nfp_[A-Za-z0-9]{36,60}",
1919
+ "boundary": {
1920
+ "before": "word",
1921
+ "after": "word"
1922
+ },
1923
+ "mask": {
1924
+ "type": "keepPrefix",
1925
+ "n": 4
1926
+ },
1927
+ "default": true,
1928
+ "tags": [
1929
+ "secret"
1930
+ ],
1931
+ "risk": "critical",
1932
+ "confidence": 0.92
1933
+ },
1934
+ {
1935
+ "id": "stripe_webhook_secret",
1936
+ "label": "Stripe webhook secret",
1937
+ "why": "Lets an attacker forge signed Stripe webhook events.",
1938
+ "pattern": "whsec_[A-Za-z0-9]{32,64}",
1939
+ "boundary": {
1940
+ "before": "word",
1941
+ "after": "word"
1942
+ },
1943
+ "mask": {
1944
+ "type": "keepPrefix",
1945
+ "n": 6
1946
+ },
1947
+ "default": true,
1948
+ "tags": [
1949
+ "secret"
1950
+ ],
1951
+ "risk": "critical",
1952
+ "confidence": 0.92
1953
+ },
1954
+ {
1955
+ "id": "gcp_service_account",
1956
+ "label": "GCP service account key",
1957
+ "why": "A service-account key file authenticates as the service account.",
1958
+ "pattern": "\"private_key_id\"[ \\t\\n\\x0B\\f\\r]*:[ \\t\\n\\x0B\\f\\r]*\"([a-f0-9]{40})\"",
1959
+ "capture": 1,
1960
+ "prefilter": [
1961
+ "private_key_id"
1962
+ ],
1963
+ "mask": {
1964
+ "type": "fixed",
1965
+ "text": "***"
1966
+ },
1967
+ "default": true,
1968
+ "tags": [
1969
+ "secret"
1970
+ ],
1971
+ "risk": "critical",
1972
+ "confidence": 0.92
1973
+ },
1974
+ {
1975
+ "id": "gcp_refresh_token",
1976
+ "label": "GCP OAuth refresh token",
1977
+ "why": "Mints fresh Google Cloud access tokens indefinitely.",
1978
+ "pattern": "1//[A-Za-z0-9_-]{20,160}",
1979
+ "boundary": {
1980
+ "before": "word",
1981
+ "after": "word_dash"
1982
+ },
1983
+ "prefilter": [
1984
+ "1//"
1985
+ ],
1986
+ "mask": {
1987
+ "type": "keepPrefix",
1988
+ "n": 4
1989
+ },
1990
+ "default": true,
1991
+ "tags": [
1992
+ "secret"
1287
1993
  ],
1288
1994
  "risk": "critical",
1289
1995
  "confidence": 0.92
1290
1996
  },
1291
1997
  {
1292
- "id": "xai_key",
1293
- "label": "xAI API key",
1294
- "why": "Bills inference against your xAI account.",
1295
- "pattern": "xai-[A-Za-z0-9]{40,120}",
1998
+ "id": "mailgun_key",
1999
+ "label": "Mailgun API key",
2000
+ "why": "Can send mail as your domain and read stored messages.",
2001
+ "pattern": "key-[a-f0-9]{32}",
1296
2002
  "boundary": {
1297
2003
  "before": "word",
1298
2004
  "after": "word"
@@ -1309,17 +2015,40 @@
1309
2015
  "confidence": 0.92
1310
2016
  },
1311
2017
  {
1312
- "id": "perplexity_key",
1313
- "label": "Perplexity API key",
1314
- "why": "Bills inference against your Perplexity account.",
1315
- "pattern": "pplx-[A-Za-z0-9]{40,60}",
2018
+ "id": "slack_webhook",
2019
+ "label": "Slack webhook URL",
2020
+ "why": "Anyone with the URL can post messages to the channel.",
2021
+ "pattern": "https://hooks\\.slack\\.com/(?:services|workflows|triggers)/T[A-Za-z0-9]{8,12}/[A-Za-z0-9/]{20,100}",
1316
2022
  "boundary": {
1317
2023
  "before": "word",
1318
- "after": "word"
2024
+ "after": "base64"
2025
+ },
2026
+ "prefilter": [
2027
+ "hooks.slack.com/"
2028
+ ],
2029
+ "mask": {
2030
+ "type": "fixed",
2031
+ "text": "[REDACTED SLACK WEBHOOK]"
2032
+ },
2033
+ "default": true,
2034
+ "tags": [
2035
+ "secret"
2036
+ ],
2037
+ "risk": "critical",
2038
+ "confidence": 0.92
2039
+ },
2040
+ {
2041
+ "id": "google_oauth_secret",
2042
+ "label": "Google OAuth client secret",
2043
+ "why": "With the client ID, it lets anyone act as your OAuth app and trade codes for user tokens.",
2044
+ "pattern": "GOCSPX-[A-Za-z0-9_-]{28}",
2045
+ "boundary": {
2046
+ "before": "word",
2047
+ "after": "word_dash"
1319
2048
  },
1320
2049
  "mask": {
1321
2050
  "type": "keepPrefix",
1322
- "n": 5
2051
+ "n": 7
1323
2052
  },
1324
2053
  "default": true,
1325
2054
  "tags": [
@@ -1329,17 +2058,17 @@
1329
2058
  "confidence": 0.92
1330
2059
  },
1331
2060
  {
1332
- "id": "openrouter_key",
1333
- "label": "OpenRouter API key",
1334
- "why": "Bills requests to every model behind your OpenRouter account.",
1335
- "pattern": "sk-or-v1-[a-f0-9]{64}",
2061
+ "id": "aws_bedrock_key",
2062
+ "label": "Amazon Bedrock API key",
2063
+ "why": "Bills model inference to your AWS account through Amazon Bedrock.",
2064
+ "pattern": "ABSK[A-Za-z0-9+/]{109,269}={0,2}",
1336
2065
  "boundary": {
1337
2066
  "before": "word",
1338
- "after": "word"
2067
+ "after": "base64url"
1339
2068
  },
1340
2069
  "mask": {
1341
2070
  "type": "keepPrefix",
1342
- "n": 9
2071
+ "n": 4
1343
2072
  },
1344
2073
  "default": true,
1345
2074
  "tags": [
@@ -1349,17 +2078,17 @@
1349
2078
  "confidence": 0.92
1350
2079
  },
1351
2080
  {
1352
- "id": "replicate_token",
1353
- "label": "Replicate token",
1354
- "why": "Runs and bills model predictions on your account.",
1355
- "pattern": "r8_[A-Za-z0-9]{30,45}",
2081
+ "id": "langsmith_key",
2082
+ "label": "LangSmith API key",
2083
+ "why": "Reads and writes the traces, prompts and datasets in your LangSmith workspace.",
2084
+ "pattern": "lsv2_(?:pt|sk)_[a-f0-9]{32}_[a-f0-9]{10}",
1356
2085
  "boundary": {
1357
2086
  "before": "word",
1358
2087
  "after": "word"
1359
2088
  },
1360
2089
  "mask": {
1361
2090
  "type": "keepPrefix",
1362
- "n": 3
2091
+ "n": 8
1363
2092
  },
1364
2093
  "default": true,
1365
2094
  "tags": [
@@ -1369,17 +2098,17 @@
1369
2098
  "confidence": 0.92
1370
2099
  },
1371
2100
  {
1372
- "id": "databricks_token",
1373
- "label": "Databricks token",
1374
- "why": "Access to workspaces, jobs, and data in Databricks.",
1375
- "pattern": "dapi[a-f0-9]{32}(?:-[0-9])?",
2101
+ "id": "pinecone_key",
2102
+ "label": "Pinecone API key",
2103
+ "why": "Reads, writes and deletes the vectors in your Pinecone indexes.",
2104
+ "pattern": "pcsk_[A-Za-z0-9]{5,6}_[A-Za-z0-9]{60,70}",
1376
2105
  "boundary": {
1377
2106
  "before": "word",
1378
2107
  "after": "word"
1379
2108
  },
1380
2109
  "mask": {
1381
2110
  "type": "keepPrefix",
1382
- "n": 4
2111
+ "n": 5
1383
2112
  },
1384
2113
  "default": true,
1385
2114
  "tags": [
@@ -1389,17 +2118,17 @@
1389
2118
  "confidence": 0.92
1390
2119
  },
1391
2120
  {
1392
- "id": "airtable_pat",
1393
- "label": "Airtable personal access token",
1394
- "why": "Reads and writes the bases the token is scoped to.",
1395
- "pattern": "pat[A-Za-z0-9]{14}\\.[a-f0-9]{64}",
2121
+ "id": "tavily_key",
2122
+ "label": "Tavily API key",
2123
+ "why": "Bills web searches to your Tavily account.",
2124
+ "pattern": "tvly-(?:dev-|prod-)?[A-Za-z0-9]{24,48}",
1396
2125
  "boundary": {
1397
2126
  "before": "word",
1398
2127
  "after": "word"
1399
2128
  },
1400
2129
  "mask": {
1401
2130
  "type": "keepPrefix",
1402
- "n": 6
2131
+ "n": 5
1403
2132
  },
1404
2133
  "default": true,
1405
2134
  "tags": [
@@ -1409,13 +2138,13 @@
1409
2138
  "confidence": 0.92
1410
2139
  },
1411
2140
  {
1412
- "id": "postman_key",
1413
- "label": "Postman API key",
1414
- "why": "Access to workspaces, collections, and stored environments.",
1415
- "pattern": "PMAK-[a-f0-9]{24}-[a-f0-9]{34}",
2141
+ "id": "pypi_token",
2142
+ "label": "PyPI API token",
2143
+ "why": "Uploads new releases of your packages to PyPI.",
2144
+ "pattern": "pypi-AgE(?:IcHlwaS5vcmc|NdGVzdC5weXBpLm9yZw)[A-Za-z0-9_-]{50,1000}",
1416
2145
  "boundary": {
1417
2146
  "before": "word",
1418
- "after": "word"
2147
+ "after": "word_dash"
1419
2148
  },
1420
2149
  "mask": {
1421
2150
  "type": "keepPrefix",
@@ -1429,17 +2158,17 @@
1429
2158
  "confidence": 0.92
1430
2159
  },
1431
2160
  {
1432
- "id": "linear_key",
1433
- "label": "Linear API key",
1434
- "why": "Reads and writes issues and projects in your workspace.",
1435
- "pattern": "lin_api_[A-Za-z0-9]{40,48}",
2161
+ "id": "rubygems_key",
2162
+ "label": "RubyGems API key",
2163
+ "why": "Pushes and yanks versions of your gems.",
2164
+ "pattern": "rubygems_[a-f0-9]{48}",
1436
2165
  "boundary": {
1437
2166
  "before": "word",
1438
2167
  "after": "word"
1439
2168
  },
1440
2169
  "mask": {
1441
2170
  "type": "keepPrefix",
1442
- "n": 8
2171
+ "n": 9
1443
2172
  },
1444
2173
  "default": true,
1445
2174
  "tags": [
@@ -1449,17 +2178,17 @@
1449
2178
  "confidence": 0.92
1450
2179
  },
1451
2180
  {
1452
- "id": "figma_token",
1453
- "label": "Figma token",
1454
- "why": "Access to design files and team resources.",
1455
- "pattern": "figd_[A-Za-z0-9_-]{40,50}",
2181
+ "id": "dockerhub_token",
2182
+ "label": "Docker Hub access token",
2183
+ "why": "Pushes and pulls images as your Docker Hub account or organization.",
2184
+ "pattern": "dckr_(?:pat_[A-Za-z0-9_-]{27}|oat_[A-Za-z0-9_-]{32})",
1456
2185
  "boundary": {
1457
2186
  "before": "word",
1458
2187
  "after": "word_dash"
1459
2188
  },
1460
2189
  "mask": {
1461
2190
  "type": "keepPrefix",
1462
- "n": 5
2191
+ "n": 9
1463
2192
  },
1464
2193
  "default": true,
1465
2194
  "tags": [
@@ -1469,10 +2198,10 @@
1469
2198
  "confidence": 0.92
1470
2199
  },
1471
2200
  {
1472
- "id": "notion_token",
1473
- "label": "Notion token",
1474
- "why": "Reads and writes every page the integration can reach.",
1475
- "pattern": "(?:ntn_[A-Za-z0-9]{40,50}|secret_[A-Za-z0-9]{43})",
2201
+ "id": "jfrog_token",
2202
+ "label": "JFrog Artifactory token",
2203
+ "why": "Reads and publishes artifacts in your Artifactory repositories.",
2204
+ "pattern": "(?:AKCp[A-Za-z0-9]{69}|cmVmd[A-Za-z0-9]{59})",
1476
2205
  "boundary": {
1477
2206
  "before": "word",
1478
2207
  "after": "word"
@@ -1489,13 +2218,13 @@
1489
2218
  "confidence": 0.92
1490
2219
  },
1491
2220
  {
1492
- "id": "doppler_token",
1493
- "label": "Doppler token",
1494
- "why": "Reads the secrets of the configs it is scoped to.",
1495
- "pattern": "dp\\.(?:ct|pt|st)\\.(?:[a-z0-9_-]{2,35}\\.)?[A-Za-z0-9]{40,44}",
2221
+ "id": "atlassian_token",
2222
+ "label": "Atlassian API token",
2223
+ "why": "Acts as your account in Jira, Confluence and Bitbucket.",
2224
+ "pattern": "ATATT3[A-Za-z0-9_=-]{186}",
1496
2225
  "boundary": {
1497
2226
  "before": "word",
1498
- "after": "word"
2227
+ "after": "base64url"
1499
2228
  },
1500
2229
  "mask": {
1501
2230
  "type": "keepPrefix",
@@ -1509,17 +2238,38 @@
1509
2238
  "confidence": 0.92
1510
2239
  },
1511
2240
  {
1512
- "id": "supabase_key",
1513
- "label": "Supabase key",
1514
- "why": "Access to your Supabase project and its database.",
1515
- "pattern": "sbp_[a-f0-9]{40}",
2241
+ "id": "grafana_token",
2242
+ "label": "Grafana token",
2243
+ "why": "Reads and changes dashboards, data sources and alerting in Grafana.",
2244
+ "pattern": "(?:glsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8}|glc_[A-Za-z0-9+/]{32,400}={0,3})",
1516
2245
  "boundary": {
1517
2246
  "before": "word",
1518
- "after": "word"
2247
+ "after": "base64url"
2248
+ },
2249
+ "mask": {
2250
+ "type": "keepThroughSeparator",
2251
+ "separator": "_",
2252
+ "count": 1
2253
+ },
2254
+ "default": true,
2255
+ "tags": [
2256
+ "secret"
2257
+ ],
2258
+ "risk": "critical",
2259
+ "confidence": 0.92
2260
+ },
2261
+ {
2262
+ "id": "sentry_auth_token",
2263
+ "label": "Sentry auth token",
2264
+ "why": "Uploads releases and source maps and reads issues in your Sentry organization.",
2265
+ "pattern": "sntry(?:u_[a-f0-9]{64}|s_eyJ[A-Za-z0-9+/]{20,500}={0,2}_[A-Za-z0-9+/]{43})",
2266
+ "boundary": {
2267
+ "before": "word",
2268
+ "after": "base64url"
1519
2269
  },
1520
2270
  "mask": {
1521
2271
  "type": "keepPrefix",
1522
- "n": 4
2272
+ "n": 7
1523
2273
  },
1524
2274
  "default": true,
1525
2275
  "tags": [
@@ -1529,17 +2279,17 @@
1529
2279
  "confidence": 0.92
1530
2280
  },
1531
2281
  {
1532
- "id": "netlify_token",
1533
- "label": "Netlify token",
1534
- "why": "Deploys and manages sites on your Netlify account.",
1535
- "pattern": "nfp_[A-Za-z0-9]{36,60}",
2282
+ "id": "dynatrace_token",
2283
+ "label": "Dynatrace API token",
2284
+ "why": "Reads monitoring data and changes settings in your Dynatrace environment.",
2285
+ "pattern": "dt0c01\\.[A-Za-z0-9]{24}\\.[A-Za-z0-9]{64}",
1536
2286
  "boundary": {
1537
2287
  "before": "word",
1538
2288
  "after": "word"
1539
2289
  },
1540
2290
  "mask": {
1541
2291
  "type": "keepPrefix",
1542
- "n": 4
2292
+ "n": 7
1543
2293
  },
1544
2294
  "default": true,
1545
2295
  "tags": [
@@ -1549,17 +2299,79 @@
1549
2299
  "confidence": 0.92
1550
2300
  },
1551
2301
  {
1552
- "id": "stripe_webhook_secret",
1553
- "label": "Stripe webhook secret",
1554
- "why": "Lets an attacker forge signed Stripe webhook events.",
1555
- "pattern": "whsec_[A-Za-z0-9]{32,64}",
2302
+ "id": "heroku_api_key",
2303
+ "label": "Heroku API key",
2304
+ "why": "Deploys, scales and reads the config vars of your Heroku apps.",
2305
+ "pattern": "HRKU-[A-Za-z0-9_-]{60}",
2306
+ "boundary": {
2307
+ "before": "word",
2308
+ "after": "word_dash"
2309
+ },
2310
+ "mask": {
2311
+ "type": "keepPrefix",
2312
+ "n": 5
2313
+ },
2314
+ "default": true,
2315
+ "tags": [
2316
+ "secret"
2317
+ ],
2318
+ "risk": "critical",
2319
+ "confidence": 0.92
2320
+ },
2321
+ {
2322
+ "id": "flyio_token",
2323
+ "label": "Fly.io token",
2324
+ "why": "Deploys and manages the apps and machines in your Fly.io organization.",
2325
+ "pattern": "f(?:o1_[A-Za-z0-9_-]{43}|m1[ar]_[A-Za-z0-9_+/=-]{100,1000}|m2_[A-Za-z0-9_+/=-]{100,1000})",
2326
+ "boundary": {
2327
+ "before": "word",
2328
+ "after": "base64url"
2329
+ },
2330
+ "mask": {
2331
+ "type": "keepThroughSeparator",
2332
+ "separator": "_",
2333
+ "count": 1
2334
+ },
2335
+ "default": true,
2336
+ "tags": [
2337
+ "secret"
2338
+ ],
2339
+ "risk": "critical",
2340
+ "confidence": 0.92
2341
+ },
2342
+ {
2343
+ "id": "planetscale_token",
2344
+ "label": "PlanetScale token",
2345
+ "why": "Connects to and manages your PlanetScale databases.",
2346
+ "pattern": "pscale_(?:tkn|pw|oauth)_[A-Za-z0-9_=-]{32,64}",
2347
+ "boundary": {
2348
+ "before": "word",
2349
+ "after": "base64url"
2350
+ },
2351
+ "mask": {
2352
+ "type": "keepThroughSeparator",
2353
+ "separator": "_",
2354
+ "count": 2
2355
+ },
2356
+ "default": true,
2357
+ "tags": [
2358
+ "secret"
2359
+ ],
2360
+ "risk": "critical",
2361
+ "confidence": 0.92
2362
+ },
2363
+ {
2364
+ "id": "pulumi_token",
2365
+ "label": "Pulumi access token",
2366
+ "why": "Reads stack state and runs deployments in your Pulumi Cloud organization.",
2367
+ "pattern": "pul-[a-f0-9]{40}",
1556
2368
  "boundary": {
1557
2369
  "before": "word",
1558
2370
  "after": "word"
1559
2371
  },
1560
2372
  "mask": {
1561
2373
  "type": "keepPrefix",
1562
- "n": 6
2374
+ "n": 4
1563
2375
  },
1564
2376
  "default": true,
1565
2377
  "tags": [
@@ -1569,17 +2381,20 @@
1569
2381
  "confidence": 0.92
1570
2382
  },
1571
2383
  {
1572
- "id": "gcp_service_account",
1573
- "label": "GCP service account key",
1574
- "why": "A service-account key file authenticates as the service account.",
1575
- "pattern": "\"private_key_id\"[ \\t\\n\\x0B\\f\\r]*:[ \\t\\n\\x0B\\f\\r]*\"([a-f0-9]{40})\"",
1576
- "capture": 1,
2384
+ "id": "terraform_cloud_token",
2385
+ "label": "HCP Terraform token",
2386
+ "why": "Runs plans and applies and reads state in HCP Terraform (Terraform Cloud).",
2387
+ "pattern": "[A-Za-z0-9]{14}\\.atlasv1\\.[A-Za-z0-9_=-]{60,70}",
2388
+ "boundary": {
2389
+ "before": "word",
2390
+ "after": "base64url"
2391
+ },
1577
2392
  "prefilter": [
1578
- "private_key_id"
2393
+ ".atlasv1."
1579
2394
  ],
1580
2395
  "mask": {
1581
2396
  "type": "fixed",
1582
- "text": "***"
2397
+ "text": "[REDACTED TERRAFORM TOKEN]"
1583
2398
  },
1584
2399
  "default": true,
1585
2400
  "tags": [
@@ -1589,17 +2404,14 @@
1589
2404
  "confidence": 0.92
1590
2405
  },
1591
2406
  {
1592
- "id": "gcp_refresh_token",
1593
- "label": "GCP OAuth refresh token",
1594
- "why": "Mints fresh Google Cloud access tokens indefinitely.",
1595
- "pattern": "1//[A-Za-z0-9_-]{20,160}",
2407
+ "id": "onepassword_token",
2408
+ "label": "1Password service account token",
2409
+ "why": "Reads every vault item the service account has been granted.",
2410
+ "pattern": "ops_eyJ[A-Za-z0-9+/]{250,}={0,3}",
1596
2411
  "boundary": {
1597
2412
  "before": "word",
1598
- "after": "word_dash"
2413
+ "after": "base64url"
1599
2414
  },
1600
- "prefilter": [
1601
- "1//"
1602
- ],
1603
2415
  "mask": {
1604
2416
  "type": "keepPrefix",
1605
2417
  "n": 4
@@ -1612,10 +2424,30 @@
1612
2424
  "confidence": 0.92
1613
2425
  },
1614
2426
  {
1615
- "id": "mailgun_key",
1616
- "label": "Mailgun API key",
1617
- "why": "Can send mail as your domain and read stored messages.",
1618
- "pattern": "key-[a-f0-9]{32}",
2427
+ "id": "age_secret_key",
2428
+ "label": "age secret key",
2429
+ "why": "Decrypts every file encrypted to the matching age recipient.",
2430
+ "pattern": "AGE-SECRET-KEY-1[QPZRY9X8GF2TVDW0S3JN54KHCE6MUA7L]{58}",
2431
+ "boundary": {
2432
+ "before": "word",
2433
+ "after": "word"
2434
+ },
2435
+ "mask": {
2436
+ "type": "keepPrefix",
2437
+ "n": 15
2438
+ },
2439
+ "default": true,
2440
+ "tags": [
2441
+ "secret"
2442
+ ],
2443
+ "risk": "critical",
2444
+ "confidence": 0.92
2445
+ },
2446
+ {
2447
+ "id": "alibaba_access_key",
2448
+ "label": "Alibaba Cloud AccessKey ID",
2449
+ "why": "Pairs with an AccessKey secret to control Alibaba Cloud resources and billing.",
2450
+ "pattern": "LTAI[A-Za-z0-9]{12,20}",
1619
2451
  "boundary": {
1620
2452
  "before": "word",
1621
2453
  "after": "word"
@@ -1631,6 +2463,70 @@
1631
2463
  "risk": "critical",
1632
2464
  "confidence": 0.92
1633
2465
  },
2466
+ {
2467
+ "id": "mailchimp_key",
2468
+ "label": "Mailchimp API key",
2469
+ "why": "Reads your audiences and sends campaigns from your Mailchimp account.",
2470
+ "pattern": "[a-f0-9]{32}-us[0-9]{1,2}",
2471
+ "boundary": {
2472
+ "before": "word",
2473
+ "after": "word"
2474
+ },
2475
+ "prefilter": [
2476
+ "-us"
2477
+ ],
2478
+ "mask": {
2479
+ "type": "fixed",
2480
+ "text": "[REDACTED MAILCHIMP KEY]"
2481
+ },
2482
+ "default": true,
2483
+ "tags": [
2484
+ "secret"
2485
+ ],
2486
+ "risk": "critical",
2487
+ "confidence": 0.92
2488
+ },
2489
+ {
2490
+ "id": "brevo_key",
2491
+ "label": "Brevo API key",
2492
+ "why": "Sends email and SMS and reads contacts in your Brevo (Sendinblue) account.",
2493
+ "pattern": "x(?:keysib|smtpsib)-[a-f0-9]{64}-[A-Za-z0-9]{16}",
2494
+ "boundary": {
2495
+ "before": "word",
2496
+ "after": "word"
2497
+ },
2498
+ "mask": {
2499
+ "type": "keepThroughSeparator",
2500
+ "separator": "-",
2501
+ "count": 1
2502
+ },
2503
+ "default": true,
2504
+ "tags": [
2505
+ "secret"
2506
+ ],
2507
+ "risk": "critical",
2508
+ "confidence": 0.92
2509
+ },
2510
+ {
2511
+ "id": "resend_key",
2512
+ "label": "Resend API key",
2513
+ "why": "Sends email from your verified Resend domains.",
2514
+ "pattern": "re_[1-9A-HJ-NP-Za-km-z]{8}_[1-9A-HJ-NP-Za-km-z]{24}",
2515
+ "boundary": {
2516
+ "before": "word",
2517
+ "after": "word"
2518
+ },
2519
+ "mask": {
2520
+ "type": "keepPrefix",
2521
+ "n": 3
2522
+ },
2523
+ "default": true,
2524
+ "tags": [
2525
+ "secret"
2526
+ ],
2527
+ "risk": "critical",
2528
+ "confidence": 0.92
2529
+ },
1634
2530
  {
1635
2531
  "id": "eth_address",
1636
2532
  "label": "Ethereum address",