keyprint-cli 0.1.0__py3-none-any.whl
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.
- keyprint/__init__.py +3 -0
- keyprint/__main__.py +4 -0
- keyprint/checksum.py +173 -0
- keyprint/cli.py +283 -0
- keyprint/context.py +90 -0
- keyprint/engine.py +390 -0
- keyprint/export.py +80 -0
- keyprint/fingerprint.py +268 -0
- keyprint/redact.py +20 -0
- keyprint/report.py +127 -0
- keyprint/rules/data/providers.json +1903 -0
- keyprint/ruleset.py +120 -0
- keyprint/scanner.py +96 -0
- keyprint/scoring.py +57 -0
- keyprint/style.py +82 -0
- keyprint/verify.py +234 -0
- keyprint_cli-0.1.0.dist-info/METADATA +380 -0
- keyprint_cli-0.1.0.dist-info/RECORD +22 -0
- keyprint_cli-0.1.0.dist-info/WHEEL +5 -0
- keyprint_cli-0.1.0.dist-info/entry_points.txt +2 -0
- keyprint_cli-0.1.0.dist-info/licenses/LICENSE +202 -0
- keyprint_cli-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1903 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"rules": [
|
|
4
|
+
{
|
|
5
|
+
"id": "openai-legacy-key",
|
|
6
|
+
"provider": "openai",
|
|
7
|
+
"category": "llm",
|
|
8
|
+
"title": "OpenAI API key (legacy)",
|
|
9
|
+
"prefixes": [
|
|
10
|
+
"sk-"
|
|
11
|
+
],
|
|
12
|
+
"pattern": "sk-[A-Za-z0-9]{48}",
|
|
13
|
+
"min_length": 51,
|
|
14
|
+
"max_length": 51,
|
|
15
|
+
"checksum": null,
|
|
16
|
+
"context": [
|
|
17
|
+
"OPENAI_API_KEY",
|
|
18
|
+
"openai.api_key",
|
|
19
|
+
"Authorization: Bearer sk-"
|
|
20
|
+
],
|
|
21
|
+
"capabilities": [
|
|
22
|
+
"chat completions",
|
|
23
|
+
"embeddings",
|
|
24
|
+
"images",
|
|
25
|
+
"audio",
|
|
26
|
+
"files",
|
|
27
|
+
"fine-tuning"
|
|
28
|
+
],
|
|
29
|
+
"revoke_url": "https://platform.openai.com/api-keys",
|
|
30
|
+
"docs_url": "https://platform.openai.com/docs/api-reference/authentication",
|
|
31
|
+
"verify": "openai",
|
|
32
|
+
"financial_exposure": "billable",
|
|
33
|
+
"fixtures": {
|
|
34
|
+
"valid": [
|
|
35
|
+
"sk-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV"
|
|
36
|
+
],
|
|
37
|
+
"invalid": [
|
|
38
|
+
"sk-abcdefghijklmnopqrstuvwxYZABCDEFGHIJKLM"
|
|
39
|
+
],
|
|
40
|
+
"truncated": [
|
|
41
|
+
"sk-a1b2c3d4e5"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "openai-project-key",
|
|
47
|
+
"provider": "openai",
|
|
48
|
+
"category": "llm",
|
|
49
|
+
"title": "OpenAI project API key",
|
|
50
|
+
"prefixes": [
|
|
51
|
+
"sk-proj-"
|
|
52
|
+
],
|
|
53
|
+
"pattern": "sk-proj-[A-Za-z0-9_-]{40,140}",
|
|
54
|
+
"min_length": 49,
|
|
55
|
+
"max_length": 149,
|
|
56
|
+
"checksum": null,
|
|
57
|
+
"context": [
|
|
58
|
+
"OPENAI_API_KEY",
|
|
59
|
+
"openai.api_key",
|
|
60
|
+
"Authorization: Bearer sk-"
|
|
61
|
+
],
|
|
62
|
+
"capabilities": [
|
|
63
|
+
"chat completions",
|
|
64
|
+
"embeddings",
|
|
65
|
+
"images",
|
|
66
|
+
"audio",
|
|
67
|
+
"files",
|
|
68
|
+
"fine-tuning",
|
|
69
|
+
"project admin"
|
|
70
|
+
],
|
|
71
|
+
"revoke_url": "https://platform.openai.com/api-keys",
|
|
72
|
+
"docs_url": "https://platform.openai.com/docs/api-reference/authentication",
|
|
73
|
+
"verify": "openai",
|
|
74
|
+
"financial_exposure": "billable",
|
|
75
|
+
"fixtures": {
|
|
76
|
+
"valid": [
|
|
77
|
+
"sk-proj-abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJklmnop"
|
|
78
|
+
],
|
|
79
|
+
"invalid": [
|
|
80
|
+
"sk-proj-short"
|
|
81
|
+
],
|
|
82
|
+
"truncated": [
|
|
83
|
+
"sk-proj-4KZTv2"
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "anthropic-api-key",
|
|
89
|
+
"provider": "anthropic",
|
|
90
|
+
"category": "llm",
|
|
91
|
+
"title": "Anthropic API key",
|
|
92
|
+
"prefixes": [
|
|
93
|
+
"sk-ant-"
|
|
94
|
+
],
|
|
95
|
+
"pattern": "sk-ant-[a-z0-9]{2,10}-[A-Za-z0-9_-]{80,120}",
|
|
96
|
+
"min_length": 95,
|
|
97
|
+
"max_length": 140,
|
|
98
|
+
"checksum": null,
|
|
99
|
+
"context": [
|
|
100
|
+
"ANTHROPIC_API_KEY",
|
|
101
|
+
"x-api-key",
|
|
102
|
+
"anthropic.api_key"
|
|
103
|
+
],
|
|
104
|
+
"capabilities": [
|
|
105
|
+
"messages",
|
|
106
|
+
"models",
|
|
107
|
+
"files",
|
|
108
|
+
"batches",
|
|
109
|
+
"prompt caching"
|
|
110
|
+
],
|
|
111
|
+
"revoke_url": "https://console.anthropic.com/settings/keys",
|
|
112
|
+
"docs_url": "https://docs.anthropic.com/en/api/getting-started",
|
|
113
|
+
"verify": "anthropic",
|
|
114
|
+
"financial_exposure": "billable",
|
|
115
|
+
"fixtures": {
|
|
116
|
+
"valid": [
|
|
117
|
+
"sk-ant-api03-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-AbCdEfGhIjKlMnOpQrStUvWxYz0123456789AbCdEfGh"
|
|
118
|
+
],
|
|
119
|
+
"invalid": [
|
|
120
|
+
"sk-ant-api03-short"
|
|
121
|
+
],
|
|
122
|
+
"truncated": [
|
|
123
|
+
"sk-ant-api03-Uv2xKp"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": "google-api-key",
|
|
129
|
+
"provider": "google",
|
|
130
|
+
"category": "cloud",
|
|
131
|
+
"title": "Google API key (AIza)",
|
|
132
|
+
"prefixes": [
|
|
133
|
+
"AIza"
|
|
134
|
+
],
|
|
135
|
+
"pattern": "AIza[0-9A-Za-z_-]{35}",
|
|
136
|
+
"min_length": 39,
|
|
137
|
+
"max_length": 39,
|
|
138
|
+
"checksum": null,
|
|
139
|
+
"context": [
|
|
140
|
+
"GOOGLE_API_KEY",
|
|
141
|
+
"GEMINI_API_KEY",
|
|
142
|
+
"FIREBASE",
|
|
143
|
+
"AIzaSy"
|
|
144
|
+
],
|
|
145
|
+
"capabilities": [
|
|
146
|
+
"Google APIs (Gemini, Maps, Firebase web identity, Cloud Vision, ...) depending on key restrictions"
|
|
147
|
+
],
|
|
148
|
+
"revoke_url": "https://console.cloud.google.com/apis/credentials",
|
|
149
|
+
"docs_url": "https://cloud.google.com/docs/authentication/api-keys",
|
|
150
|
+
"verify": "google",
|
|
151
|
+
"financial_exposure": "billable",
|
|
152
|
+
"fixtures": {
|
|
153
|
+
"valid": [
|
|
154
|
+
"AIzaSyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcde"
|
|
155
|
+
],
|
|
156
|
+
"invalid": [
|
|
157
|
+
"AIzaSy-short"
|
|
158
|
+
],
|
|
159
|
+
"truncated": [
|
|
160
|
+
"AIzaSyC9x2"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"distinctive": true
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "google-oauth-access-token",
|
|
167
|
+
"provider": "google",
|
|
168
|
+
"category": "cloud",
|
|
169
|
+
"title": "Google OAuth2 token (ya29. / AQ. access, 1// refresh)",
|
|
170
|
+
"prefixes": [
|
|
171
|
+
"ya29.",
|
|
172
|
+
"AQ.",
|
|
173
|
+
"1//"
|
|
174
|
+
],
|
|
175
|
+
"pattern": "(ya29|AQ)\\.[0-9A-Za-z_-]{20,256}|1//[0-9A-Za-z_-]{40,260}",
|
|
176
|
+
"min_length": 23,
|
|
177
|
+
"max_length": 263,
|
|
178
|
+
"checksum": null,
|
|
179
|
+
"context": [
|
|
180
|
+
"google.oauth2",
|
|
181
|
+
"GOOGLE_OAUTH",
|
|
182
|
+
"gcloud",
|
|
183
|
+
"google.oauth2.credentials",
|
|
184
|
+
"GOOGLE_APPLICATION_CREDENTIALS",
|
|
185
|
+
"GOOGLE_TOKEN"
|
|
186
|
+
],
|
|
187
|
+
"capabilities": [
|
|
188
|
+
"short-lived bearer access to Google APIs per granted scopes (access tokens); offline refresh capability (refresh tokens)"
|
|
189
|
+
],
|
|
190
|
+
"revoke_url": "https://myaccount.google.com/permissions",
|
|
191
|
+
"docs_url": "https://developers.google.com/identity/protocols/oauth2",
|
|
192
|
+
"verify": null,
|
|
193
|
+
"fixtures": {
|
|
194
|
+
"valid": [
|
|
195
|
+
"AQ.Ab8RN6J8dOynB1MkhlNnqSw4F3-_EWAv1",
|
|
196
|
+
"ya29.a0AfB_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghij",
|
|
197
|
+
"1//04ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ab"
|
|
198
|
+
],
|
|
199
|
+
"invalid": [
|
|
200
|
+
"AQ.short",
|
|
201
|
+
"ya29.x"
|
|
202
|
+
],
|
|
203
|
+
"truncated": [
|
|
204
|
+
"AQ.Ab8RN6J8",
|
|
205
|
+
"ya29.a0AfB_byK2",
|
|
206
|
+
"1//04AbCdEf"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"distinctive": false
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "aws-access-key-id",
|
|
213
|
+
"provider": "aws",
|
|
214
|
+
"category": "cloud",
|
|
215
|
+
"title": "AWS access key ID",
|
|
216
|
+
"prefixes": [
|
|
217
|
+
"AKIA",
|
|
218
|
+
"ASIA",
|
|
219
|
+
"ABIA",
|
|
220
|
+
"ACCA"
|
|
221
|
+
],
|
|
222
|
+
"pattern": "(AKIA|ASIA|ABIA|ACCA)[0-9A-Z]{16}",
|
|
223
|
+
"min_length": 20,
|
|
224
|
+
"max_length": 20,
|
|
225
|
+
"checksum": null,
|
|
226
|
+
"context": [
|
|
227
|
+
"AWS_ACCESS_KEY_ID",
|
|
228
|
+
"aws_access_key_id",
|
|
229
|
+
"AWS_ACCESS_KEY"
|
|
230
|
+
],
|
|
231
|
+
"capabilities": [
|
|
232
|
+
"identifies the IAM principal when paired with the secret; STS GetCallerIdentity reveals account, ARN and user path"
|
|
233
|
+
],
|
|
234
|
+
"revoke_url": "https://console.aws.amazon.com/iam/home#/security_credentials",
|
|
235
|
+
"docs_url": "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html",
|
|
236
|
+
"verify": "aws",
|
|
237
|
+
"fixtures": {
|
|
238
|
+
"valid": [
|
|
239
|
+
"AKIA3J4NKIGZOVKLIEXA",
|
|
240
|
+
"ASIA9W3KPRQ7XT2LNBEA"
|
|
241
|
+
],
|
|
242
|
+
"invalid": [
|
|
243
|
+
"AKIA3J4NKIGZOVKLIEX",
|
|
244
|
+
"akia3j4nkigzovkliexa"
|
|
245
|
+
],
|
|
246
|
+
"truncated": [
|
|
247
|
+
"AKIA3J4"
|
|
248
|
+
]
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"id": "aws-secret-access-key",
|
|
253
|
+
"provider": "aws",
|
|
254
|
+
"category": "cloud",
|
|
255
|
+
"title": "AWS secret access key",
|
|
256
|
+
"prefixes": [],
|
|
257
|
+
"pattern": "(?<![A-Za-z0-9/+])[A-Za-z0-9/+=]{40}(?![A-Za-z0-9/+=])",
|
|
258
|
+
"min_length": 40,
|
|
259
|
+
"max_length": 40,
|
|
260
|
+
"checksum": null,
|
|
261
|
+
"requires_context": [
|
|
262
|
+
"aws_secret_access_key",
|
|
263
|
+
"AWS_SECRET_ACCESS_KEY"
|
|
264
|
+
],
|
|
265
|
+
"context": [
|
|
266
|
+
"aws_secret_access_key",
|
|
267
|
+
"AWS_SECRET_ACCESS_KEY",
|
|
268
|
+
"credentials"
|
|
269
|
+
],
|
|
270
|
+
"capabilities": [
|
|
271
|
+
"with the access key ID: full programmatic access to every AWS action the IAM principal is allowed"
|
|
272
|
+
],
|
|
273
|
+
"revoke_url": "https://console.aws.amazon.com/iam/home#/security_credentials",
|
|
274
|
+
"docs_url": "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html",
|
|
275
|
+
"verify": "aws",
|
|
276
|
+
"financial_exposure": "billable",
|
|
277
|
+
"fixtures": {
|
|
278
|
+
"valid": [
|
|
279
|
+
"AbCdEfGhIjKlMnOpQrStUvWxYz0123456789+/AB"
|
|
280
|
+
],
|
|
281
|
+
"invalid": [
|
|
282
|
+
"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKE"
|
|
283
|
+
],
|
|
284
|
+
"truncated": []
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"id": "azure-storage-connection-string",
|
|
289
|
+
"provider": "azure",
|
|
290
|
+
"category": "cloud",
|
|
291
|
+
"title": "Azure storage account connection string",
|
|
292
|
+
"prefixes": [],
|
|
293
|
+
"pattern": "DefaultEndpointsProtocol=(?:https?|http);AccountName=[A-Za-z0-9]+;AccountKey=[A-Za-z0-9+/=]{60,120}",
|
|
294
|
+
"min_length": 90,
|
|
295
|
+
"max_length": 180,
|
|
296
|
+
"checksum": null,
|
|
297
|
+
"requires_context": [
|
|
298
|
+
"DefaultEndpointsProtocol"
|
|
299
|
+
],
|
|
300
|
+
"context": [
|
|
301
|
+
"DefaultEndpointsProtocol",
|
|
302
|
+
"AzureWebJobsStorage",
|
|
303
|
+
"AZURE_STORAGE_CONNECTION_STRING"
|
|
304
|
+
],
|
|
305
|
+
"capabilities": [
|
|
306
|
+
"full read/write access to the storage account's blob, queue, table and file services"
|
|
307
|
+
],
|
|
308
|
+
"revoke_url": "https://portal.azure.com/#blade/Microsoft_Azure_Storage",
|
|
309
|
+
"docs_url": "https://learn.microsoft.com/azure/storage/common/storage-account-keys-manage",
|
|
310
|
+
"verify": null,
|
|
311
|
+
"financial_exposure": "storage egress + writes",
|
|
312
|
+
"fixtures": {
|
|
313
|
+
"valid": [
|
|
314
|
+
"DefaultEndpointsProtocol=https;AccountName=mystorageacct;AccountKey=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/AB"
|
|
315
|
+
],
|
|
316
|
+
"invalid": [
|
|
317
|
+
"DefaultEndpointsProtocol=https;AccountName=x;AccountKey=short"
|
|
318
|
+
]
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"id": "gcp-service-account-json",
|
|
323
|
+
"provider": "google",
|
|
324
|
+
"category": "cloud",
|
|
325
|
+
"title": "GCP service account private key (JSON)",
|
|
326
|
+
"prefixes": [],
|
|
327
|
+
"pattern": "\"private_key\":\\s*\"-----BEGIN PRIVATE KEY",
|
|
328
|
+
"min_length": 45,
|
|
329
|
+
"max_length": 100,
|
|
330
|
+
"checksum": null,
|
|
331
|
+
"requires_context": [
|
|
332
|
+
"private_key"
|
|
333
|
+
],
|
|
334
|
+
"context": [
|
|
335
|
+
"service_account",
|
|
336
|
+
"client_email",
|
|
337
|
+
"private_key",
|
|
338
|
+
"project_id"
|
|
339
|
+
],
|
|
340
|
+
"capabilities": [
|
|
341
|
+
"full service-account identity: token minting for every role granted to the service account, project-wide"
|
|
342
|
+
],
|
|
343
|
+
"revoke_url": "https://console.cloud.google.com/iam-admin/serviceaccounts",
|
|
344
|
+
"docs_url": "https://cloud.google.com/iam/docs/service-account-creds",
|
|
345
|
+
"verify": null,
|
|
346
|
+
"financial_exposure": "depends on granted roles",
|
|
347
|
+
"fixtures": {
|
|
348
|
+
"valid": [
|
|
349
|
+
"{\"private_key\": \"-----BEGIN PRIVATE KEY-----\", \"type\": \"service_account\"}"
|
|
350
|
+
],
|
|
351
|
+
"invalid": []
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"id": "digitalocean-pat",
|
|
356
|
+
"provider": "digitalocean",
|
|
357
|
+
"category": "cloud",
|
|
358
|
+
"title": "DigitalOcean personal access token",
|
|
359
|
+
"prefixes": [
|
|
360
|
+
"dop_v1_"
|
|
361
|
+
],
|
|
362
|
+
"pattern": "dop_v1_[a-f0-9]{64}",
|
|
363
|
+
"min_length": 71,
|
|
364
|
+
"max_length": 71,
|
|
365
|
+
"checksum": null,
|
|
366
|
+
"context": [
|
|
367
|
+
"DIGITALOCEAN_TOKEN",
|
|
368
|
+
"DIGITALOCEAN_ACCESS_TOKEN"
|
|
369
|
+
],
|
|
370
|
+
"capabilities": [
|
|
371
|
+
"full account API access: droplets, spaces, networking, billing"
|
|
372
|
+
],
|
|
373
|
+
"revoke_url": "https://cloud.digitalocean.com/account/api/tokens",
|
|
374
|
+
"docs_url": "https://docs.digitalocean.com/reference/api/api-reference/",
|
|
375
|
+
"verify": null,
|
|
376
|
+
"financial_exposure": "billable (infra provisioning)",
|
|
377
|
+
"fixtures": {
|
|
378
|
+
"valid": [
|
|
379
|
+
"dop_v1_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6a7b8c9d0e1f2a3b4c5d6a7b8c9d0e1f2"
|
|
380
|
+
],
|
|
381
|
+
"invalid": [
|
|
382
|
+
"dop_v1_short"
|
|
383
|
+
],
|
|
384
|
+
"truncated": [
|
|
385
|
+
"dop_v1_a1b2"
|
|
386
|
+
]
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "cloudflare-global-api-key",
|
|
391
|
+
"provider": "cloudflare",
|
|
392
|
+
"category": "cloud",
|
|
393
|
+
"title": "Cloudflare Global API key",
|
|
394
|
+
"prefixes": [],
|
|
395
|
+
"pattern": "(?<![a-f0-9])[a-f0-9]{37}(?![a-f0-9])",
|
|
396
|
+
"min_length": 37,
|
|
397
|
+
"max_length": 37,
|
|
398
|
+
"checksum": null,
|
|
399
|
+
"requires_context": [
|
|
400
|
+
"CLOUDFLARE_API_KEY",
|
|
401
|
+
"X-Auth-Key",
|
|
402
|
+
"cloudflare"
|
|
403
|
+
],
|
|
404
|
+
"context": [
|
|
405
|
+
"CLOUDFLARE_API_KEY",
|
|
406
|
+
"X-Auth-Key",
|
|
407
|
+
"CLOUDFLARE_EMAIL"
|
|
408
|
+
],
|
|
409
|
+
"capabilities": [
|
|
410
|
+
"full account control across all zones - the most powerful Cloudflare credential"
|
|
411
|
+
],
|
|
412
|
+
"revoke_url": "https://dash.cloudflare.com/profile/api-tokens",
|
|
413
|
+
"docs_url": "https://developers.cloudflare.com/fundamentals/api/get-started/create-token/",
|
|
414
|
+
"verify": null,
|
|
415
|
+
"fixtures": {
|
|
416
|
+
"valid": [
|
|
417
|
+
"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6a7b8c"
|
|
418
|
+
],
|
|
419
|
+
"invalid": [
|
|
420
|
+
"not-a-real-cloudflare-key"
|
|
421
|
+
]
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"id": "cloudflare-api-token",
|
|
426
|
+
"provider": "cloudflare",
|
|
427
|
+
"category": "cloud",
|
|
428
|
+
"title": "Cloudflare API token (scoped)",
|
|
429
|
+
"prefixes": [],
|
|
430
|
+
"pattern": "(?<![A-Za-z0-9_-])[A-Za-z0-9_-]{40}(?![A-Za-z0-9_-])",
|
|
431
|
+
"min_length": 40,
|
|
432
|
+
"max_length": 40,
|
|
433
|
+
"checksum": null,
|
|
434
|
+
"requires_context": [
|
|
435
|
+
"CLOUDFLARE_API_TOKEN",
|
|
436
|
+
"cloudflare_api_token"
|
|
437
|
+
],
|
|
438
|
+
"context": [
|
|
439
|
+
"CLOUDFLARE_API_TOKEN"
|
|
440
|
+
],
|
|
441
|
+
"capabilities": [
|
|
442
|
+
"scoped API access per token policy"
|
|
443
|
+
],
|
|
444
|
+
"revoke_url": "https://dash.cloudflare.com/profile/api-tokens",
|
|
445
|
+
"docs_url": "https://developers.cloudflare.com/fundamentals/api/get-started/create-token/",
|
|
446
|
+
"verify": null,
|
|
447
|
+
"fixtures": {
|
|
448
|
+
"valid": [
|
|
449
|
+
"Zl9QdT0xYjJjM2Q0ZTVmNmc3aDhpOWowazFsbTIz"
|
|
450
|
+
],
|
|
451
|
+
"invalid": [
|
|
452
|
+
"Zl9QdT0xYjJjM2Q0ZTVmNmc3aDhpOWowazFsbTI"
|
|
453
|
+
]
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"id": "github-classic-token",
|
|
458
|
+
"provider": "github",
|
|
459
|
+
"category": "vcs",
|
|
460
|
+
"title": "GitHub token (classic)",
|
|
461
|
+
"prefixes": [
|
|
462
|
+
"ghp_",
|
|
463
|
+
"gho_",
|
|
464
|
+
"ghu_",
|
|
465
|
+
"ghs_",
|
|
466
|
+
"ghr_"
|
|
467
|
+
],
|
|
468
|
+
"pattern": "gh[posur]_[0-9A-Za-z]{36}",
|
|
469
|
+
"min_length": 40,
|
|
470
|
+
"max_length": 40,
|
|
471
|
+
"checksum": "github",
|
|
472
|
+
"context": [
|
|
473
|
+
"GITHUB_TOKEN",
|
|
474
|
+
"GH_TOKEN",
|
|
475
|
+
"gh auth",
|
|
476
|
+
"Authorization: Bearer ghp_"
|
|
477
|
+
],
|
|
478
|
+
"capabilities": [
|
|
479
|
+
"repo read/write (ghp_)",
|
|
480
|
+
"user identity (gho_)",
|
|
481
|
+
"server-to-server app auth (ghs_)",
|
|
482
|
+
"scopes visible via X-OAuth-Scopes on /user"
|
|
483
|
+
],
|
|
484
|
+
"revoke_url": "https://github.com/settings/tokens",
|
|
485
|
+
"docs_url": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens",
|
|
486
|
+
"verify": "github",
|
|
487
|
+
"fixtures": {
|
|
488
|
+
"valid": [
|
|
489
|
+
"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",
|
|
490
|
+
"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"
|
|
491
|
+
],
|
|
492
|
+
"invalid": [
|
|
493
|
+
"ghp_0123456789ABCDEFGHIJKLMNOPQRST4PMbyQ",
|
|
494
|
+
"ghp_short"
|
|
495
|
+
],
|
|
496
|
+
"truncated": [
|
|
497
|
+
"ghp_9x2KpQ"
|
|
498
|
+
]
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"id": "github-fine-grained-pat",
|
|
503
|
+
"provider": "github",
|
|
504
|
+
"category": "vcs",
|
|
505
|
+
"title": "GitHub personal access token (fine-grained)",
|
|
506
|
+
"prefixes": [
|
|
507
|
+
"github_pat_"
|
|
508
|
+
],
|
|
509
|
+
"pattern": "github_pat_[A-Za-z0-9]{22}_[A-Za-z0-9]{59}",
|
|
510
|
+
"min_length": 93,
|
|
511
|
+
"max_length": 93,
|
|
512
|
+
"checksum": null,
|
|
513
|
+
"context": [
|
|
514
|
+
"GITHUB_TOKEN",
|
|
515
|
+
"GH_TOKEN",
|
|
516
|
+
"github_pat_"
|
|
517
|
+
],
|
|
518
|
+
"capabilities": [
|
|
519
|
+
"fine-grained repo permissions per resource selection"
|
|
520
|
+
],
|
|
521
|
+
"revoke_url": "https://github.com/settings/personal-access-tokens",
|
|
522
|
+
"docs_url": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens",
|
|
523
|
+
"verify": "github",
|
|
524
|
+
"fixtures": {
|
|
525
|
+
"valid": [
|
|
526
|
+
"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cbaZYXWVUTSRQPOnMlKjIhG"
|
|
527
|
+
],
|
|
528
|
+
"invalid": [
|
|
529
|
+
"github_pat_short"
|
|
530
|
+
],
|
|
531
|
+
"truncated": [
|
|
532
|
+
"github_pat_A1b2C3d4E5f6G7h8I9j0K1_"
|
|
533
|
+
]
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"id": "gitlab-pat",
|
|
538
|
+
"provider": "gitlab",
|
|
539
|
+
"category": "vcs",
|
|
540
|
+
"title": "GitLab personal access token",
|
|
541
|
+
"prefixes": [
|
|
542
|
+
"glpat-"
|
|
543
|
+
],
|
|
544
|
+
"pattern": "glpat-[A-Za-z0-9_-]{20,25}",
|
|
545
|
+
"min_length": 26,
|
|
546
|
+
"max_length": 31,
|
|
547
|
+
"checksum": null,
|
|
548
|
+
"context": [
|
|
549
|
+
"GITLAB_TOKEN",
|
|
550
|
+
"GITLAB_PAT",
|
|
551
|
+
"gitlab-ci"
|
|
552
|
+
],
|
|
553
|
+
"capabilities": [
|
|
554
|
+
"API access per granted scopes (api, read_repository, ...)"
|
|
555
|
+
],
|
|
556
|
+
"revoke_url": "https://gitlab.com/-/profile/personal_access_tokens",
|
|
557
|
+
"docs_url": "https://docs.gitlab.com/user/profile/personal_access_tokens/",
|
|
558
|
+
"verify": null,
|
|
559
|
+
"fixtures": {
|
|
560
|
+
"valid": [
|
|
561
|
+
"glpat-ABCDEFGHIJKLMNOPQRSTUVWXY"
|
|
562
|
+
],
|
|
563
|
+
"invalid": [
|
|
564
|
+
"glpat-short"
|
|
565
|
+
],
|
|
566
|
+
"truncated": [
|
|
567
|
+
"glpat-9x2KpQ"
|
|
568
|
+
]
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"id": "gitlab-oauth-token",
|
|
573
|
+
"provider": "gitlab",
|
|
574
|
+
"category": "vcs",
|
|
575
|
+
"title": "GitLab OAuth application secret / token",
|
|
576
|
+
"prefixes": [
|
|
577
|
+
"gloas-"
|
|
578
|
+
],
|
|
579
|
+
"pattern": "gloas-[A-Za-z0-9_-]{20,64}",
|
|
580
|
+
"min_length": 26,
|
|
581
|
+
"max_length": 70,
|
|
582
|
+
"checksum": null,
|
|
583
|
+
"context": [
|
|
584
|
+
"GITLAB",
|
|
585
|
+
"gloas-"
|
|
586
|
+
],
|
|
587
|
+
"capabilities": [
|
|
588
|
+
"OAuth application secret - client credential for token minting"
|
|
589
|
+
],
|
|
590
|
+
"revoke_url": "https://gitlab.com/-/profile/applications",
|
|
591
|
+
"docs_url": "https://docs.gitlab.com/integration/oauth_provider/",
|
|
592
|
+
"verify": null,
|
|
593
|
+
"fixtures": {
|
|
594
|
+
"valid": [
|
|
595
|
+
"gloas-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghij"
|
|
596
|
+
],
|
|
597
|
+
"invalid": [
|
|
598
|
+
"gloas-short"
|
|
599
|
+
],
|
|
600
|
+
"truncated": []
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"id": "npm-access-token",
|
|
605
|
+
"provider": "npm",
|
|
606
|
+
"category": "registry",
|
|
607
|
+
"title": "npm access token",
|
|
608
|
+
"prefixes": [
|
|
609
|
+
"npm_"
|
|
610
|
+
],
|
|
611
|
+
"pattern": "npm_[A-Za-z0-9]{36}",
|
|
612
|
+
"min_length": 40,
|
|
613
|
+
"max_length": 40,
|
|
614
|
+
"checksum": null,
|
|
615
|
+
"context": [
|
|
616
|
+
"NPM_TOKEN",
|
|
617
|
+
"NODE_AUTH_TOKEN",
|
|
618
|
+
".npmrc",
|
|
619
|
+
"//registry.npmjs.org/"
|
|
620
|
+
],
|
|
621
|
+
"capabilities": [
|
|
622
|
+
"package publish (automation tokens) or read (CI tokens) under the owning account"
|
|
623
|
+
],
|
|
624
|
+
"revoke_url": "https://www.npmjs.com/settings/~/tokens",
|
|
625
|
+
"docs_url": "https://docs.npmjs.com/about-access-tokens",
|
|
626
|
+
"verify": null,
|
|
627
|
+
"fixtures": {
|
|
628
|
+
"valid": [
|
|
629
|
+
"npm_ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
|
|
630
|
+
],
|
|
631
|
+
"invalid": [
|
|
632
|
+
"npm_ABCDEFGHIJKLMNOPQRSTUVWXYZ012345678"
|
|
633
|
+
],
|
|
634
|
+
"truncated": [
|
|
635
|
+
"npm_9x2KpQ"
|
|
636
|
+
]
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"id": "pypi-upload-token",
|
|
641
|
+
"provider": "pypi",
|
|
642
|
+
"category": "registry",
|
|
643
|
+
"title": "PyPI upload token",
|
|
644
|
+
"prefixes": [
|
|
645
|
+
"pypi-"
|
|
646
|
+
],
|
|
647
|
+
"pattern": "pypi-AgEIcHlwaS5vcmc[A-Za-z0-9_-]+",
|
|
648
|
+
"min_length": 100,
|
|
649
|
+
"max_length": 250,
|
|
650
|
+
"checksum": null,
|
|
651
|
+
"context": [
|
|
652
|
+
"PYPI_TOKEN",
|
|
653
|
+
"PYPI_API_TOKEN",
|
|
654
|
+
"twine-upload",
|
|
655
|
+
"index.pypi.org"
|
|
656
|
+
],
|
|
657
|
+
"capabilities": [
|
|
658
|
+
"upload rights to the named PyPI project - supply-chain write access"
|
|
659
|
+
],
|
|
660
|
+
"revoke_url": "https://pypi.org/manage/account/token/",
|
|
661
|
+
"docs_url": "https://pypi.org/help/with-api-token/",
|
|
662
|
+
"verify": null,
|
|
663
|
+
"fixtures": {
|
|
664
|
+
"valid": [
|
|
665
|
+
"pypi-AgEIcHlwaS5vcmcQQ3zX9WmK7vB2nJ8fR5tY0hC4pL6sD1gA9uE3iO7wM2kN5bV8xZ1qT4rH6jU0yP3cF9lS5dG7aK2vB8nM4jR6tYuW"
|
|
666
|
+
],
|
|
667
|
+
"invalid": [
|
|
668
|
+
"pypi-short"
|
|
669
|
+
],
|
|
670
|
+
"truncated": [
|
|
671
|
+
"pypi-AgEIcHlwaS5vcmc"
|
|
672
|
+
]
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"id": "jwt-oidc-token",
|
|
677
|
+
"provider": "generic-jwt",
|
|
678
|
+
"category": "identity",
|
|
679
|
+
"title": "JSON Web Token",
|
|
680
|
+
"prefixes": [],
|
|
681
|
+
"pattern": "eyJ[A-Za-z0-9_-]{8,}\\.[A-Za-z0-9_-]{8,}\\.[A-Za-z0-9_-]{8,}",
|
|
682
|
+
"min_length": 30,
|
|
683
|
+
"max_length": 4096,
|
|
684
|
+
"checksum": "jwt",
|
|
685
|
+
"context": [
|
|
686
|
+
"Authorization: Bearer eyJ",
|
|
687
|
+
"JWT",
|
|
688
|
+
"id_token",
|
|
689
|
+
"access_token",
|
|
690
|
+
"OIDC"
|
|
691
|
+
],
|
|
692
|
+
"capabilities": [
|
|
693
|
+
"decoded header/claims identify issuer, audience, subject and expiry - offline inspection"
|
|
694
|
+
],
|
|
695
|
+
"revoke_url": null,
|
|
696
|
+
"docs_url": "https://datatracker.ietf.org/doc/html/rfc7519",
|
|
697
|
+
"verify": null,
|
|
698
|
+
"fixtures": {
|
|
699
|
+
"valid": [
|
|
700
|
+
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U"
|
|
701
|
+
],
|
|
702
|
+
"invalid": [
|
|
703
|
+
"eyJhbGciOjEwfQ.eyJzdWIiOiJ4In0.c2ln"
|
|
704
|
+
],
|
|
705
|
+
"truncated": [
|
|
706
|
+
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJz"
|
|
707
|
+
]
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"id": "slack-bot-token",
|
|
712
|
+
"provider": "slack",
|
|
713
|
+
"category": "comm",
|
|
714
|
+
"title": "Slack bot token",
|
|
715
|
+
"prefixes": [
|
|
716
|
+
"xoxb-"
|
|
717
|
+
],
|
|
718
|
+
"pattern": "xoxb-\\d{8,13}-\\d{8,13}[A-Za-z0-9-]*-[A-Za-z0-9]{20,60}",
|
|
719
|
+
"min_length": 25,
|
|
720
|
+
"max_length": 95,
|
|
721
|
+
"checksum": null,
|
|
722
|
+
"context": [
|
|
723
|
+
"SLACK_BOT_TOKEN",
|
|
724
|
+
"SLACK_TOKEN",
|
|
725
|
+
"slack_bearer"
|
|
726
|
+
],
|
|
727
|
+
"capabilities": [
|
|
728
|
+
"bot API methods per granted scopes; auth.test reveals the workspace"
|
|
729
|
+
],
|
|
730
|
+
"revoke_url": "https://api.slack.com/apps",
|
|
731
|
+
"docs_url": "https://api.slack.com/authentication/token-types",
|
|
732
|
+
"verify": "slack",
|
|
733
|
+
"fixtures": {
|
|
734
|
+
"valid": [
|
|
735
|
+
"xoxb-123456789012-1234567890123-ABCDEFGHIJKLMNOPQRSTUVWXYZab"
|
|
736
|
+
],
|
|
737
|
+
"invalid": [
|
|
738
|
+
"xoxb-1-2-3"
|
|
739
|
+
],
|
|
740
|
+
"truncated": [
|
|
741
|
+
"xoxb-123456789012-1234567890123-"
|
|
742
|
+
]
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"id": "slack-user-token",
|
|
747
|
+
"provider": "slack",
|
|
748
|
+
"category": "comm",
|
|
749
|
+
"title": "Slack user token",
|
|
750
|
+
"prefixes": [
|
|
751
|
+
"xoxp-"
|
|
752
|
+
],
|
|
753
|
+
"pattern": "xoxp-\\d{8,13}-\\d{8,13}-\\d{8,13}-[a-f0-9]{32}",
|
|
754
|
+
"min_length": 60,
|
|
755
|
+
"max_length": 82,
|
|
756
|
+
"checksum": null,
|
|
757
|
+
"context": [
|
|
758
|
+
"SLACK_TOKEN",
|
|
759
|
+
"slack_user"
|
|
760
|
+
],
|
|
761
|
+
"capabilities": [
|
|
762
|
+
"acts as the user: messages, files, history per user scopes"
|
|
763
|
+
],
|
|
764
|
+
"revoke_url": "https://api.slack.com/apps",
|
|
765
|
+
"docs_url": "https://api.slack.com/authentication/token-types",
|
|
766
|
+
"verify": "slack",
|
|
767
|
+
"fixtures": {
|
|
768
|
+
"valid": [
|
|
769
|
+
"xoxp-123456789012-123456789013-123456789014-a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
|
|
770
|
+
],
|
|
771
|
+
"invalid": [
|
|
772
|
+
"xoxp-1-2-3-4"
|
|
773
|
+
],
|
|
774
|
+
"truncated": [
|
|
775
|
+
"xoxp-123456789012-123456789013-123456789014-"
|
|
776
|
+
]
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"id": "slack-app-level-token",
|
|
781
|
+
"provider": "slack",
|
|
782
|
+
"category": "comm",
|
|
783
|
+
"title": "Slack app-level token",
|
|
784
|
+
"prefixes": [
|
|
785
|
+
"xapp-"
|
|
786
|
+
],
|
|
787
|
+
"pattern": "xapp-1-[A-Z0-9]+-\\d+-[A-Za-z0-9]+",
|
|
788
|
+
"min_length": 40,
|
|
789
|
+
"max_length": 100,
|
|
790
|
+
"checksum": null,
|
|
791
|
+
"context": [
|
|
792
|
+
"SLACK_APP_TOKEN",
|
|
793
|
+
"socket-mode"
|
|
794
|
+
],
|
|
795
|
+
"capabilities": [
|
|
796
|
+
"Socket Mode / app management"
|
|
797
|
+
],
|
|
798
|
+
"revoke_url": "https://api.slack.com/apps",
|
|
799
|
+
"docs_url": "https://api.slack.com/authentication/token-types",
|
|
800
|
+
"verify": null,
|
|
801
|
+
"fixtures": {
|
|
802
|
+
"valid": [
|
|
803
|
+
"xapp-1-A1B2C3D4E5F-1234567890123-abcdefghijklmnopqrstuvwxyzAB"
|
|
804
|
+
],
|
|
805
|
+
"invalid": [
|
|
806
|
+
"xapp-1-2-3"
|
|
807
|
+
],
|
|
808
|
+
"truncated": [
|
|
809
|
+
"xapp-1-A1B2C3D4E5F-1234567890123-"
|
|
810
|
+
]
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"id": "slack-incoming-webhook",
|
|
815
|
+
"provider": "slack",
|
|
816
|
+
"category": "comm",
|
|
817
|
+
"title": "Slack incoming webhook URL",
|
|
818
|
+
"prefixes": [
|
|
819
|
+
"https://hooks.slack.com/services/"
|
|
820
|
+
],
|
|
821
|
+
"pattern": "https://hooks\\.slack\\.com/services/T[A-Za-z0-9]+/B[A-Za-z0-9]+/[A-Za-z0-9]+",
|
|
822
|
+
"min_length": 60,
|
|
823
|
+
"max_length": 130,
|
|
824
|
+
"checksum": null,
|
|
825
|
+
"context": [
|
|
826
|
+
"hooks.slack.com",
|
|
827
|
+
"SLACK_WEBHOOK"
|
|
828
|
+
],
|
|
829
|
+
"capabilities": [
|
|
830
|
+
"post messages into the target channel as the integration"
|
|
831
|
+
],
|
|
832
|
+
"revoke_url": "https://api.slack.com/apps",
|
|
833
|
+
"docs_url": "https://api.slack.com/messaging/webhooks",
|
|
834
|
+
"verify": null,
|
|
835
|
+
"fixtures": {
|
|
836
|
+
"valid": [
|
|
837
|
+
"https://hooks.slack.com/services/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jK"
|
|
838
|
+
],
|
|
839
|
+
"invalid": [
|
|
840
|
+
"https://hooks.slack.com/services/X/Y/Z"
|
|
841
|
+
],
|
|
842
|
+
"truncated": [
|
|
843
|
+
"https://hooks.slack.com/services/T02LX4CD9/B8YQ2LNDR/"
|
|
844
|
+
]
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"id": "discord-bot-token",
|
|
849
|
+
"provider": "discord",
|
|
850
|
+
"category": "comm",
|
|
851
|
+
"title": "Discord bot token",
|
|
852
|
+
"prefixes": [],
|
|
853
|
+
"pattern": "[A-Za-z0-9_-]{10,30}\\.[A-Za-z0-9_-]{5,27}\\.[A-Za-z0-9_-]{26,40}",
|
|
854
|
+
"min_length": 55,
|
|
855
|
+
"max_length": 95,
|
|
856
|
+
"checksum": "discord",
|
|
857
|
+
"context": [
|
|
858
|
+
"DISCORD_TOKEN",
|
|
859
|
+
"DISCORD_BOT_TOKEN",
|
|
860
|
+
"bot login"
|
|
861
|
+
],
|
|
862
|
+
"capabilities": [
|
|
863
|
+
"full bot identity: guilds, channels, messages per bot permissions"
|
|
864
|
+
],
|
|
865
|
+
"revoke_url": "https://discord.com/developers/applications",
|
|
866
|
+
"docs_url": "https://discord.com/developers/docs/topics/oauth2#bot-authorization-flow",
|
|
867
|
+
"verify": null,
|
|
868
|
+
"fixtures": {
|
|
869
|
+
"valid": [
|
|
870
|
+
"Aep8k0A_0AU.aBcDeFgHiJkLmNoPqRsT.uVwXyZ0123456789aBcDeFgHiJkLm"
|
|
871
|
+
],
|
|
872
|
+
"invalid": [
|
|
873
|
+
"Aep8k0A_0AU.bad.notatoken"
|
|
874
|
+
],
|
|
875
|
+
"truncated": [
|
|
876
|
+
"Aep8k0A_0AU."
|
|
877
|
+
]
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"id": "telegram-bot-token",
|
|
882
|
+
"provider": "telegram",
|
|
883
|
+
"category": "comm",
|
|
884
|
+
"title": "Telegram bot token",
|
|
885
|
+
"prefixes": [],
|
|
886
|
+
"pattern": "\\b[0-9]{8,10}:AA[A-Za-z0-9_-]{33}\\b",
|
|
887
|
+
"min_length": 44,
|
|
888
|
+
"max_length": 47,
|
|
889
|
+
"checksum": null,
|
|
890
|
+
"requires_context": [
|
|
891
|
+
"telegram",
|
|
892
|
+
"TELEGRAM",
|
|
893
|
+
"api.telegram.org"
|
|
894
|
+
],
|
|
895
|
+
"context": [
|
|
896
|
+
"TELEGRAM_BOT_TOKEN",
|
|
897
|
+
"api.telegram.org",
|
|
898
|
+
"telegram"
|
|
899
|
+
],
|
|
900
|
+
"capabilities": [
|
|
901
|
+
"full bot control: messages, files, group admin actions granted to the bot"
|
|
902
|
+
],
|
|
903
|
+
"revoke_url": "https://t.me/BotFather",
|
|
904
|
+
"docs_url": "https://core.telegram.org/bots/api",
|
|
905
|
+
"verify": null,
|
|
906
|
+
"fixtures": {
|
|
907
|
+
"valid": [
|
|
908
|
+
"1234567890:AAABCDEFGHIJKLMNOPQRSTUVWXYZabcdefg"
|
|
909
|
+
],
|
|
910
|
+
"invalid": [
|
|
911
|
+
"1234567890:AAshort"
|
|
912
|
+
]
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"id": "twilio-api-key",
|
|
917
|
+
"provider": "twilio",
|
|
918
|
+
"category": "comm",
|
|
919
|
+
"title": "Twilio API key (SID)",
|
|
920
|
+
"prefixes": [
|
|
921
|
+
"SK"
|
|
922
|
+
],
|
|
923
|
+
"pattern": "SK[a-f0-9]{32}",
|
|
924
|
+
"min_length": 34,
|
|
925
|
+
"max_length": 34,
|
|
926
|
+
"checksum": null,
|
|
927
|
+
"context": [
|
|
928
|
+
"TWILIO_API_KEY",
|
|
929
|
+
"TWILIO",
|
|
930
|
+
"twilio"
|
|
931
|
+
],
|
|
932
|
+
"capabilities": [
|
|
933
|
+
"REST API access when paired with the API secret: SMS, voice, account read"
|
|
934
|
+
],
|
|
935
|
+
"revoke_url": "https://console.twilio.com/us1/account/keys-credentials/api-keys",
|
|
936
|
+
"docs_url": "https://www.twilio.com/docs/iam/keys/api-key",
|
|
937
|
+
"verify": "twilio",
|
|
938
|
+
"fixtures": {
|
|
939
|
+
"valid": [
|
|
940
|
+
"SKa1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
|
|
941
|
+
],
|
|
942
|
+
"invalid": [
|
|
943
|
+
"SKshort"
|
|
944
|
+
],
|
|
945
|
+
"truncated": [
|
|
946
|
+
"SKa1b2c3d4"
|
|
947
|
+
]
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"id": "sendgrid-api-key",
|
|
952
|
+
"provider": "sendgrid",
|
|
953
|
+
"category": "email",
|
|
954
|
+
"title": "SendGrid API key",
|
|
955
|
+
"prefixes": [
|
|
956
|
+
"SG."
|
|
957
|
+
],
|
|
958
|
+
"pattern": "SG\\.[A-Za-z0-9_-]{16,32}\\.[A-Za-z0-9_-]{16,64}",
|
|
959
|
+
"min_length": 35,
|
|
960
|
+
"max_length": 129,
|
|
961
|
+
"checksum": null,
|
|
962
|
+
"context": [
|
|
963
|
+
"SENDGRID_API_KEY",
|
|
964
|
+
"sendgrid"
|
|
965
|
+
],
|
|
966
|
+
"capabilities": [
|
|
967
|
+
"email sending (and account admin for full keys) under the owning account"
|
|
968
|
+
],
|
|
969
|
+
"revoke_url": "https://app.sendgrid.com/settings/api_keys",
|
|
970
|
+
"docs_url": "https://www.twilio.com/docs/sendgrid/ui/account-and-settings/api-keys",
|
|
971
|
+
"verify": null,
|
|
972
|
+
"fixtures": {
|
|
973
|
+
"valid": [
|
|
974
|
+
"SG.ABCDEFGHIJKLMNOPQ.abcdefghijklmnopqrstuvwxABCDEFGHIJKLMNOPQR"
|
|
975
|
+
],
|
|
976
|
+
"invalid": [
|
|
977
|
+
"SG.short.mid"
|
|
978
|
+
],
|
|
979
|
+
"truncated": [
|
|
980
|
+
"SG.ABCDEFGHIJKLMNOPQ."
|
|
981
|
+
]
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"id": "mailgun-api-key",
|
|
986
|
+
"provider": "mailgun",
|
|
987
|
+
"category": "email",
|
|
988
|
+
"title": "Mailgun API key",
|
|
989
|
+
"prefixes": [],
|
|
990
|
+
"pattern": "key-[a-f0-9]{32}",
|
|
991
|
+
"min_length": 36,
|
|
992
|
+
"max_length": 36,
|
|
993
|
+
"checksum": null,
|
|
994
|
+
"requires_context": [
|
|
995
|
+
"mailgun",
|
|
996
|
+
"MAILGUN"
|
|
997
|
+
],
|
|
998
|
+
"context": [
|
|
999
|
+
"MAILGUN_API_KEY",
|
|
1000
|
+
"api.mailgun.net",
|
|
1001
|
+
"mailgun"
|
|
1002
|
+
],
|
|
1003
|
+
"capabilities": [
|
|
1004
|
+
"send email, read logs, manage domains under the account"
|
|
1005
|
+
],
|
|
1006
|
+
"revoke_url": "https://app.mailgun.com/settings/api_keys",
|
|
1007
|
+
"docs_url": "https://documentation.mailgun.com/docs/mailgun/api-reference/",
|
|
1008
|
+
"verify": null,
|
|
1009
|
+
"fixtures": {
|
|
1010
|
+
"valid": [
|
|
1011
|
+
"key-a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
|
|
1012
|
+
],
|
|
1013
|
+
"invalid": [
|
|
1014
|
+
"key-a1b2c3d4"
|
|
1015
|
+
],
|
|
1016
|
+
"truncated": []
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"id": "stripe-secret-key",
|
|
1021
|
+
"provider": "stripe",
|
|
1022
|
+
"category": "payments",
|
|
1023
|
+
"title": "Stripe secret API key",
|
|
1024
|
+
"prefixes": [
|
|
1025
|
+
"sk_live_",
|
|
1026
|
+
"sk_test_"
|
|
1027
|
+
],
|
|
1028
|
+
"pattern": "sk_(live|test)_[A-Za-z0-9]{16,64}",
|
|
1029
|
+
"min_length": 24,
|
|
1030
|
+
"max_length": 72,
|
|
1031
|
+
"checksum": null,
|
|
1032
|
+
"context": [
|
|
1033
|
+
"STRIPE_SECRET_KEY",
|
|
1034
|
+
"STRIPE_API_KEY",
|
|
1035
|
+
"stripe.api_key",
|
|
1036
|
+
"Authorization: Bearer sk_"
|
|
1037
|
+
],
|
|
1038
|
+
"capabilities": [
|
|
1039
|
+
"full account control: charges, refunds, payouts, customers, billing"
|
|
1040
|
+
],
|
|
1041
|
+
"revoke_url": "https://dashboard.stripe.com/apikeys",
|
|
1042
|
+
"docs_url": "https://docs.stripe.com/keys",
|
|
1043
|
+
"verify": "stripe",
|
|
1044
|
+
"financial_exposure": "billable - charges/refunds/payouts",
|
|
1045
|
+
"fixtures": {
|
|
1046
|
+
"valid": [
|
|
1047
|
+
"sk_live_ABCDEFGHIJKLMNOPQRSTUVWXYZabcd"
|
|
1048
|
+
],
|
|
1049
|
+
"invalid": [
|
|
1050
|
+
"sk_live_short"
|
|
1051
|
+
],
|
|
1052
|
+
"truncated": [
|
|
1053
|
+
"sk_live_9x2KpQ"
|
|
1054
|
+
]
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"id": "stripe-restricted-key",
|
|
1059
|
+
"provider": "stripe",
|
|
1060
|
+
"category": "payments",
|
|
1061
|
+
"title": "Stripe restricted API key",
|
|
1062
|
+
"prefixes": [
|
|
1063
|
+
"rk_live_",
|
|
1064
|
+
"rk_test_"
|
|
1065
|
+
],
|
|
1066
|
+
"pattern": "rk_(live|test)_[A-Za-z0-9]{16,64}",
|
|
1067
|
+
"min_length": 24,
|
|
1068
|
+
"max_length": 72,
|
|
1069
|
+
"checksum": null,
|
|
1070
|
+
"context": [
|
|
1071
|
+
"STRIPE_RESTRICTED",
|
|
1072
|
+
"stripe"
|
|
1073
|
+
],
|
|
1074
|
+
"capabilities": [
|
|
1075
|
+
"scoped permissions per key policy"
|
|
1076
|
+
],
|
|
1077
|
+
"revoke_url": "https://dashboard.stripe.com/apikeys",
|
|
1078
|
+
"docs_url": "https://docs.stripe.com/keys#limiting-access-with-restricted-keys",
|
|
1079
|
+
"verify": "stripe",
|
|
1080
|
+
"fixtures": {
|
|
1081
|
+
"valid": [
|
|
1082
|
+
"rk_live_ABCDEFGHIJKLMNOPQRSTUVWXYZabcd"
|
|
1083
|
+
],
|
|
1084
|
+
"invalid": [
|
|
1085
|
+
"rk_live_short"
|
|
1086
|
+
],
|
|
1087
|
+
"truncated": [
|
|
1088
|
+
"rk_live_9x2KpQ"
|
|
1089
|
+
]
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"id": "stripe-publishable-key",
|
|
1094
|
+
"provider": "stripe",
|
|
1095
|
+
"category": "payments",
|
|
1096
|
+
"title": "Stripe publishable key",
|
|
1097
|
+
"prefixes": [
|
|
1098
|
+
"pk_live_",
|
|
1099
|
+
"pk_test_"
|
|
1100
|
+
],
|
|
1101
|
+
"pattern": "pk_(live|test)_[A-Za-z0-9]{16,64}",
|
|
1102
|
+
"min_length": 24,
|
|
1103
|
+
"max_length": 72,
|
|
1104
|
+
"checksum": null,
|
|
1105
|
+
"context": [
|
|
1106
|
+
"STRIPE_PUBLISHABLE",
|
|
1107
|
+
"pk_live_"
|
|
1108
|
+
],
|
|
1109
|
+
"capabilities": [
|
|
1110
|
+
"public by design - safe to embed; reported for completeness, low severity"
|
|
1111
|
+
],
|
|
1112
|
+
"revoke_url": "https://dashboard.stripe.com/apikeys",
|
|
1113
|
+
"docs_url": "https://docs.stripe.com/keys",
|
|
1114
|
+
"verify": null,
|
|
1115
|
+
"severity_hint": "informational",
|
|
1116
|
+
"fixtures": {
|
|
1117
|
+
"valid": [
|
|
1118
|
+
"pk_live_ABCDEFGHIJKLMNOPQRSTUVWXYZabcd"
|
|
1119
|
+
],
|
|
1120
|
+
"invalid": [
|
|
1121
|
+
"pk_live_short"
|
|
1122
|
+
],
|
|
1123
|
+
"truncated": [
|
|
1124
|
+
"pk_live_9x2KpQ"
|
|
1125
|
+
]
|
|
1126
|
+
}
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"id": "braintree-access-token",
|
|
1130
|
+
"provider": "braintree",
|
|
1131
|
+
"category": "payments",
|
|
1132
|
+
"title": "PayPal Braintree access token",
|
|
1133
|
+
"prefixes": [
|
|
1134
|
+
"access_token$"
|
|
1135
|
+
],
|
|
1136
|
+
"pattern": "access_token\\$(production|sandbox)\\$[a-z0-9]{16}\\$[a-f0-9]{32}",
|
|
1137
|
+
"min_length": 70,
|
|
1138
|
+
"max_length": 75,
|
|
1139
|
+
"checksum": null,
|
|
1140
|
+
"context": [
|
|
1141
|
+
"BRAINTREE",
|
|
1142
|
+
"braintree",
|
|
1143
|
+
"access_token$"
|
|
1144
|
+
],
|
|
1145
|
+
"capabilities": [
|
|
1146
|
+
"merchant API access: transactions, vault, refunds"
|
|
1147
|
+
],
|
|
1148
|
+
"revoke_url": "https://www.braintreegateway.com/login",
|
|
1149
|
+
"docs_url": "https://developer.paypal.com/braintree/docs/guides/authorization-token",
|
|
1150
|
+
"verify": null,
|
|
1151
|
+
"financial_exposure": "billable - transactions/refunds",
|
|
1152
|
+
"fixtures": {
|
|
1153
|
+
"valid": [
|
|
1154
|
+
"access_token$production$abcdefghijklmnop$a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
|
|
1155
|
+
],
|
|
1156
|
+
"invalid": [
|
|
1157
|
+
"access_token$production$abc$def"
|
|
1158
|
+
],
|
|
1159
|
+
"truncated": [
|
|
1160
|
+
"access_token$production$abcdefghijklmnop$"
|
|
1161
|
+
]
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"id": "square-access-token",
|
|
1166
|
+
"provider": "square",
|
|
1167
|
+
"category": "payments",
|
|
1168
|
+
"title": "Square access token",
|
|
1169
|
+
"prefixes": [
|
|
1170
|
+
"sq0atp-",
|
|
1171
|
+
"sq0csp-"
|
|
1172
|
+
],
|
|
1173
|
+
"pattern": "sq0(atp|csp)-[A-Za-z0-9_-]{22,60}",
|
|
1174
|
+
"min_length": 29,
|
|
1175
|
+
"max_length": 67,
|
|
1176
|
+
"checksum": null,
|
|
1177
|
+
"context": [
|
|
1178
|
+
"SQUARE_ACCESS_TOKEN",
|
|
1179
|
+
"square"
|
|
1180
|
+
],
|
|
1181
|
+
"capabilities": [
|
|
1182
|
+
"payments, catalog, customers per token scope"
|
|
1183
|
+
],
|
|
1184
|
+
"revoke_url": "https://developer.squareup.com/apps",
|
|
1185
|
+
"docs_url": "https://developer.squareup.com/docs/build-basics/access-tokens",
|
|
1186
|
+
"verify": null,
|
|
1187
|
+
"financial_exposure": "billable - payments",
|
|
1188
|
+
"fixtures": {
|
|
1189
|
+
"valid": [
|
|
1190
|
+
"sq0atp-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh"
|
|
1191
|
+
],
|
|
1192
|
+
"invalid": [
|
|
1193
|
+
"sq0atp-short"
|
|
1194
|
+
],
|
|
1195
|
+
"truncated": [
|
|
1196
|
+
"sq0atp-9x2KpQ"
|
|
1197
|
+
]
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"id": "shopify-admin-token",
|
|
1202
|
+
"provider": "shopify",
|
|
1203
|
+
"category": "ecommerce",
|
|
1204
|
+
"title": "Shopify access token (shpat/shpss/shpca)",
|
|
1205
|
+
"prefixes": [
|
|
1206
|
+
"shpat_",
|
|
1207
|
+
"shpss_",
|
|
1208
|
+
"shpca_"
|
|
1209
|
+
],
|
|
1210
|
+
"pattern": "shp(ca|ss|at)_[a-fA-F0-9]{32}",
|
|
1211
|
+
"min_length": 38,
|
|
1212
|
+
"max_length": 38,
|
|
1213
|
+
"checksum": null,
|
|
1214
|
+
"context": [
|
|
1215
|
+
"SHOPIFY",
|
|
1216
|
+
"shopify",
|
|
1217
|
+
"SHOPIFY_ACCESS_TOKEN"
|
|
1218
|
+
],
|
|
1219
|
+
"capabilities": [
|
|
1220
|
+
"store admin API: orders, products, customers (admin API), storefront (shpss)"
|
|
1221
|
+
],
|
|
1222
|
+
"revoke_url": "https://shopify.dev/docs/apps/auth",
|
|
1223
|
+
"docs_url": "https://shopify.dev/docs/apps/auth",
|
|
1224
|
+
"verify": null,
|
|
1225
|
+
"fixtures": {
|
|
1226
|
+
"valid": [
|
|
1227
|
+
"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"
|
|
1228
|
+
],
|
|
1229
|
+
"invalid": [
|
|
1230
|
+
"shpat_a1b2"
|
|
1231
|
+
],
|
|
1232
|
+
"truncated": [
|
|
1233
|
+
"shpat_a1b2"
|
|
1234
|
+
]
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"id": "huggingface-token",
|
|
1239
|
+
"provider": "huggingface",
|
|
1240
|
+
"category": "llm",
|
|
1241
|
+
"title": "Hugging Face access token",
|
|
1242
|
+
"prefixes": [
|
|
1243
|
+
"hf_"
|
|
1244
|
+
],
|
|
1245
|
+
"pattern": "hf_[A-Za-z0-9]{34,40}",
|
|
1246
|
+
"min_length": 37,
|
|
1247
|
+
"max_length": 43,
|
|
1248
|
+
"checksum": null,
|
|
1249
|
+
"context": [
|
|
1250
|
+
"HUGGINGFACE",
|
|
1251
|
+
"HF_TOKEN",
|
|
1252
|
+
"huggingface"
|
|
1253
|
+
],
|
|
1254
|
+
"capabilities": [
|
|
1255
|
+
"models read/write, inference endpoints, private datasets per scope"
|
|
1256
|
+
],
|
|
1257
|
+
"revoke_url": "https://huggingface.co/settings/tokens",
|
|
1258
|
+
"docs_url": "https://huggingface.co/docs/hub/security-tokens",
|
|
1259
|
+
"verify": "huggingface",
|
|
1260
|
+
"fixtures": {
|
|
1261
|
+
"valid": [
|
|
1262
|
+
"hf_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghij"
|
|
1263
|
+
],
|
|
1264
|
+
"invalid": [
|
|
1265
|
+
"hf_short"
|
|
1266
|
+
],
|
|
1267
|
+
"truncated": [
|
|
1268
|
+
"hf_9x2KpQ"
|
|
1269
|
+
]
|
|
1270
|
+
},
|
|
1271
|
+
"distinctive": true
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"id": "groq-api-key",
|
|
1275
|
+
"provider": "groq",
|
|
1276
|
+
"category": "llm",
|
|
1277
|
+
"title": "Groq API key",
|
|
1278
|
+
"prefixes": [
|
|
1279
|
+
"gsk_"
|
|
1280
|
+
],
|
|
1281
|
+
"pattern": "gsk_[A-Za-z0-9]{20,80}",
|
|
1282
|
+
"min_length": 24,
|
|
1283
|
+
"max_length": 84,
|
|
1284
|
+
"checksum": null,
|
|
1285
|
+
"context": [
|
|
1286
|
+
"GROQ_API_KEY",
|
|
1287
|
+
"groq"
|
|
1288
|
+
],
|
|
1289
|
+
"capabilities": [
|
|
1290
|
+
"inference API (Llama, Mixtral, ...)"
|
|
1291
|
+
],
|
|
1292
|
+
"revoke_url": "https://console.groq.com/keys",
|
|
1293
|
+
"docs_url": "https://console.groq.com/docs/quickstart",
|
|
1294
|
+
"verify": null,
|
|
1295
|
+
"financial_exposure": "billable",
|
|
1296
|
+
"fixtures": {
|
|
1297
|
+
"valid": [
|
|
1298
|
+
"gsk_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh"
|
|
1299
|
+
],
|
|
1300
|
+
"invalid": [
|
|
1301
|
+
"gsk_short"
|
|
1302
|
+
],
|
|
1303
|
+
"truncated": [
|
|
1304
|
+
"gsk_9x2KpQ"
|
|
1305
|
+
]
|
|
1306
|
+
},
|
|
1307
|
+
"distinctive": true
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"id": "xai-api-key",
|
|
1311
|
+
"provider": "xai",
|
|
1312
|
+
"category": "llm",
|
|
1313
|
+
"title": "xAI (Grok) API key",
|
|
1314
|
+
"prefixes": [
|
|
1315
|
+
"xai-"
|
|
1316
|
+
],
|
|
1317
|
+
"pattern": "xai-[A-Za-z0-9]{40,90}",
|
|
1318
|
+
"min_length": 44,
|
|
1319
|
+
"max_length": 94,
|
|
1320
|
+
"checksum": null,
|
|
1321
|
+
"context": [
|
|
1322
|
+
"XAI_API_KEY",
|
|
1323
|
+
"GROK_API_KEY",
|
|
1324
|
+
"xai"
|
|
1325
|
+
],
|
|
1326
|
+
"capabilities": [
|
|
1327
|
+
"Grok inference API"
|
|
1328
|
+
],
|
|
1329
|
+
"revoke_url": "https://console.x.ai",
|
|
1330
|
+
"docs_url": "https://docs.x.ai/docs",
|
|
1331
|
+
"verify": null,
|
|
1332
|
+
"financial_exposure": "billable",
|
|
1333
|
+
"fixtures": {
|
|
1334
|
+
"valid": [
|
|
1335
|
+
"xai-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234"
|
|
1336
|
+
],
|
|
1337
|
+
"invalid": [
|
|
1338
|
+
"xai-short"
|
|
1339
|
+
],
|
|
1340
|
+
"truncated": [
|
|
1341
|
+
"xai-9x2KpQ"
|
|
1342
|
+
]
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"id": "deepseek-api-key",
|
|
1347
|
+
"provider": "deepseek",
|
|
1348
|
+
"category": "llm",
|
|
1349
|
+
"title": "DeepSeek API key",
|
|
1350
|
+
"prefixes": [],
|
|
1351
|
+
"pattern": "sk-[a-f0-9]{32}",
|
|
1352
|
+
"min_length": 35,
|
|
1353
|
+
"max_length": 35,
|
|
1354
|
+
"checksum": null,
|
|
1355
|
+
"requires_context": [
|
|
1356
|
+
"deepseek",
|
|
1357
|
+
"DEEPSEEK"
|
|
1358
|
+
],
|
|
1359
|
+
"context": [
|
|
1360
|
+
"DEEPSEEK_API_KEY",
|
|
1361
|
+
"api.deepseek.com",
|
|
1362
|
+
"deepseek"
|
|
1363
|
+
],
|
|
1364
|
+
"capabilities": [
|
|
1365
|
+
"DeepSeek inference API"
|
|
1366
|
+
],
|
|
1367
|
+
"revoke_url": "https://platform.deepseek.com/api_keys",
|
|
1368
|
+
"docs_url": "https://api-docs.deepseek.com/",
|
|
1369
|
+
"verify": null,
|
|
1370
|
+
"financial_exposure": "billable",
|
|
1371
|
+
"fixtures": {
|
|
1372
|
+
"valid": [
|
|
1373
|
+
"sk-a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
|
|
1374
|
+
],
|
|
1375
|
+
"invalid": [
|
|
1376
|
+
"sk-A1B2C3D4E5F6A7B8C9D0E1F2A3B4C5D6"
|
|
1377
|
+
],
|
|
1378
|
+
"truncated": []
|
|
1379
|
+
}
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"id": "openrouter-api-key",
|
|
1383
|
+
"provider": "openrouter",
|
|
1384
|
+
"category": "llm",
|
|
1385
|
+
"title": "OpenRouter API key",
|
|
1386
|
+
"prefixes": [
|
|
1387
|
+
"sk-or-"
|
|
1388
|
+
],
|
|
1389
|
+
"pattern": "sk-or-v1-[a-f0-9]{64}",
|
|
1390
|
+
"min_length": 72,
|
|
1391
|
+
"max_length": 73,
|
|
1392
|
+
"checksum": null,
|
|
1393
|
+
"context": [
|
|
1394
|
+
"OPENROUTER_API_KEY",
|
|
1395
|
+
"openrouter"
|
|
1396
|
+
],
|
|
1397
|
+
"capabilities": [
|
|
1398
|
+
"multi-provider inference routing"
|
|
1399
|
+
],
|
|
1400
|
+
"revoke_url": "https://openrouter.ai/keys",
|
|
1401
|
+
"docs_url": "https://openrouter.ai/docs",
|
|
1402
|
+
"verify": null,
|
|
1403
|
+
"financial_exposure": "billable",
|
|
1404
|
+
"fixtures": {
|
|
1405
|
+
"valid": [
|
|
1406
|
+
"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"
|
|
1407
|
+
],
|
|
1408
|
+
"invalid": [
|
|
1409
|
+
"sk-or-v1-short"
|
|
1410
|
+
],
|
|
1411
|
+
"truncated": [
|
|
1412
|
+
"sk-or-v1-a1b2"
|
|
1413
|
+
]
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"id": "together-api-key",
|
|
1418
|
+
"provider": "together",
|
|
1419
|
+
"category": "llm",
|
|
1420
|
+
"title": "Together AI API key",
|
|
1421
|
+
"prefixes": [
|
|
1422
|
+
"together_"
|
|
1423
|
+
],
|
|
1424
|
+
"pattern": "together_[A-Za-z0-9]{40,80}",
|
|
1425
|
+
"min_length": 49,
|
|
1426
|
+
"max_length": 89,
|
|
1427
|
+
"checksum": null,
|
|
1428
|
+
"context": [
|
|
1429
|
+
"TOGETHER_API_KEY",
|
|
1430
|
+
"together"
|
|
1431
|
+
],
|
|
1432
|
+
"capabilities": [
|
|
1433
|
+
"open-model inference API"
|
|
1434
|
+
],
|
|
1435
|
+
"revoke_url": "https://api.together.xyz/settings/api-keys",
|
|
1436
|
+
"docs_url": "https://docs.together.ai/",
|
|
1437
|
+
"verify": null,
|
|
1438
|
+
"financial_exposure": "billable",
|
|
1439
|
+
"fixtures": {
|
|
1440
|
+
"valid": [
|
|
1441
|
+
"together_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234"
|
|
1442
|
+
],
|
|
1443
|
+
"invalid": [
|
|
1444
|
+
"together_short"
|
|
1445
|
+
],
|
|
1446
|
+
"truncated": [
|
|
1447
|
+
"together_9x2KpQ"
|
|
1448
|
+
]
|
|
1449
|
+
}
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"id": "fireworks-api-key",
|
|
1453
|
+
"provider": "fireworks",
|
|
1454
|
+
"category": "llm",
|
|
1455
|
+
"title": "Fireworks AI API key",
|
|
1456
|
+
"prefixes": [
|
|
1457
|
+
"fw_"
|
|
1458
|
+
],
|
|
1459
|
+
"pattern": "fw_[A-Za-z0-9]{24,60}",
|
|
1460
|
+
"min_length": 27,
|
|
1461
|
+
"max_length": 63,
|
|
1462
|
+
"checksum": null,
|
|
1463
|
+
"context": [
|
|
1464
|
+
"FIREWORKS_API_KEY",
|
|
1465
|
+
"fireworks"
|
|
1466
|
+
],
|
|
1467
|
+
"capabilities": [
|
|
1468
|
+
"Fireworks inference API"
|
|
1469
|
+
],
|
|
1470
|
+
"revoke_url": "https://fireworks.ai/account/api-keys",
|
|
1471
|
+
"docs_url": "https://docs.fireworks.ai/",
|
|
1472
|
+
"verify": null,
|
|
1473
|
+
"financial_exposure": "billable",
|
|
1474
|
+
"fixtures": {
|
|
1475
|
+
"valid": [
|
|
1476
|
+
"fw_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh"
|
|
1477
|
+
],
|
|
1478
|
+
"invalid": [
|
|
1479
|
+
"fw_short"
|
|
1480
|
+
],
|
|
1481
|
+
"truncated": [
|
|
1482
|
+
"fw_9x2KpQ"
|
|
1483
|
+
]
|
|
1484
|
+
},
|
|
1485
|
+
"distinctive": true
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"id": "perplexity-api-key",
|
|
1489
|
+
"provider": "perplexity",
|
|
1490
|
+
"category": "llm",
|
|
1491
|
+
"title": "Perplexity API key",
|
|
1492
|
+
"prefixes": [
|
|
1493
|
+
"pplx-"
|
|
1494
|
+
],
|
|
1495
|
+
"pattern": "pplx-[a-f0-9]{48}",
|
|
1496
|
+
"min_length": 53,
|
|
1497
|
+
"max_length": 53,
|
|
1498
|
+
"checksum": null,
|
|
1499
|
+
"context": [
|
|
1500
|
+
"PERPLEXITY_API_KEY",
|
|
1501
|
+
"perplexity",
|
|
1502
|
+
"pplx"
|
|
1503
|
+
],
|
|
1504
|
+
"capabilities": [
|
|
1505
|
+
"Perplexity (Sonar) inference API"
|
|
1506
|
+
],
|
|
1507
|
+
"revoke_url": "https://www.perplexity.ai/settings/api",
|
|
1508
|
+
"docs_url": "https://docs.perplexity.ai/",
|
|
1509
|
+
"verify": null,
|
|
1510
|
+
"financial_exposure": "billable",
|
|
1511
|
+
"fixtures": {
|
|
1512
|
+
"valid": [
|
|
1513
|
+
"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"
|
|
1514
|
+
],
|
|
1515
|
+
"invalid": [
|
|
1516
|
+
"pplx-short"
|
|
1517
|
+
],
|
|
1518
|
+
"truncated": [
|
|
1519
|
+
"pplx-a1b2"
|
|
1520
|
+
]
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"id": "cohere-api-key",
|
|
1525
|
+
"provider": "cohere",
|
|
1526
|
+
"category": "llm",
|
|
1527
|
+
"title": "Cohere API key",
|
|
1528
|
+
"prefixes": [],
|
|
1529
|
+
"pattern": "(?<![A-Za-z0-9])[A-Za-z0-9]{40}(?![A-Za-z0-9])",
|
|
1530
|
+
"min_length": 40,
|
|
1531
|
+
"max_length": 40,
|
|
1532
|
+
"checksum": null,
|
|
1533
|
+
"requires_context": [
|
|
1534
|
+
"cohere",
|
|
1535
|
+
"COHERE"
|
|
1536
|
+
],
|
|
1537
|
+
"context": [
|
|
1538
|
+
"COHERE_API_KEY",
|
|
1539
|
+
"cohere",
|
|
1540
|
+
"api.cohere.ai"
|
|
1541
|
+
],
|
|
1542
|
+
"capabilities": [
|
|
1543
|
+
"Cohere command/embed/rerank APIs"
|
|
1544
|
+
],
|
|
1545
|
+
"revoke_url": "https://dashboard.cohere.com/api-keys",
|
|
1546
|
+
"docs_url": "https://docs.cohere.com/",
|
|
1547
|
+
"verify": null,
|
|
1548
|
+
"financial_exposure": "billable",
|
|
1549
|
+
"fixtures": {
|
|
1550
|
+
"valid": [
|
|
1551
|
+
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmn"
|
|
1552
|
+
],
|
|
1553
|
+
"invalid": [
|
|
1554
|
+
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
|
|
1555
|
+
]
|
|
1556
|
+
}
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"id": "mistral-api-key",
|
|
1560
|
+
"provider": "mistral",
|
|
1561
|
+
"category": "llm",
|
|
1562
|
+
"title": "Mistral AI API key",
|
|
1563
|
+
"prefixes": [],
|
|
1564
|
+
"pattern": "(?<![A-Za-z0-9])[A-Za-z0-9]{32}(?![A-Za-z0-9])",
|
|
1565
|
+
"min_length": 32,
|
|
1566
|
+
"max_length": 32,
|
|
1567
|
+
"checksum": null,
|
|
1568
|
+
"requires_context": [
|
|
1569
|
+
"mistral",
|
|
1570
|
+
"MISTRAL"
|
|
1571
|
+
],
|
|
1572
|
+
"context": [
|
|
1573
|
+
"MISTRAL_API_KEY",
|
|
1574
|
+
"api.mistral.ai",
|
|
1575
|
+
"mistral"
|
|
1576
|
+
],
|
|
1577
|
+
"capabilities": [
|
|
1578
|
+
"Mistral inference API"
|
|
1579
|
+
],
|
|
1580
|
+
"revoke_url": "https://console.mistral.ai/api-keys",
|
|
1581
|
+
"docs_url": "https://docs.mistral.ai/",
|
|
1582
|
+
"verify": null,
|
|
1583
|
+
"financial_exposure": "billable",
|
|
1584
|
+
"fixtures": {
|
|
1585
|
+
"valid": [
|
|
1586
|
+
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef"
|
|
1587
|
+
],
|
|
1588
|
+
"invalid": [
|
|
1589
|
+
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
|
|
1590
|
+
]
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"id": "notion-integration-token",
|
|
1595
|
+
"provider": "notion",
|
|
1596
|
+
"category": "saas",
|
|
1597
|
+
"title": "Notion integration token",
|
|
1598
|
+
"prefixes": [
|
|
1599
|
+
"secret_",
|
|
1600
|
+
"ntn_"
|
|
1601
|
+
],
|
|
1602
|
+
"pattern": "(secret_|ntn_)[A-Za-z0-9]{30,50}",
|
|
1603
|
+
"min_length": 37,
|
|
1604
|
+
"max_length": 54,
|
|
1605
|
+
"checksum": null,
|
|
1606
|
+
"context": [
|
|
1607
|
+
"NOTION_TOKEN",
|
|
1608
|
+
"NOTION_API_KEY",
|
|
1609
|
+
"notion"
|
|
1610
|
+
],
|
|
1611
|
+
"capabilities": [
|
|
1612
|
+
"read/write pages and databases shared with the integration"
|
|
1613
|
+
],
|
|
1614
|
+
"revoke_url": "https://www.notion.so/my-integrations",
|
|
1615
|
+
"docs_url": "https://developers.notion.com/docs/authorization",
|
|
1616
|
+
"verify": null,
|
|
1617
|
+
"fixtures": {
|
|
1618
|
+
"valid": [
|
|
1619
|
+
"secret_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghij"
|
|
1620
|
+
],
|
|
1621
|
+
"invalid": [
|
|
1622
|
+
"secret_short"
|
|
1623
|
+
],
|
|
1624
|
+
"truncated": [
|
|
1625
|
+
"secret_9x2KpQ"
|
|
1626
|
+
]
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"id": "linear-api-key",
|
|
1631
|
+
"provider": "linear",
|
|
1632
|
+
"category": "saas",
|
|
1633
|
+
"title": "Linear API key",
|
|
1634
|
+
"prefixes": [
|
|
1635
|
+
"lin_"
|
|
1636
|
+
],
|
|
1637
|
+
"pattern": "lin_[A-Za-z0-9]{40}",
|
|
1638
|
+
"min_length": 44,
|
|
1639
|
+
"max_length": 44,
|
|
1640
|
+
"checksum": null,
|
|
1641
|
+
"context": [
|
|
1642
|
+
"LINEAR_API_KEY",
|
|
1643
|
+
"linear"
|
|
1644
|
+
],
|
|
1645
|
+
"capabilities": [
|
|
1646
|
+
"full workspace API access under the owning user"
|
|
1647
|
+
],
|
|
1648
|
+
"revoke_url": "https://linear.app/settings/api",
|
|
1649
|
+
"docs_url": "https://developers.linear.app/",
|
|
1650
|
+
"verify": null,
|
|
1651
|
+
"fixtures": {
|
|
1652
|
+
"valid": [
|
|
1653
|
+
"lin_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmn"
|
|
1654
|
+
],
|
|
1655
|
+
"invalid": [
|
|
1656
|
+
"lin_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklm"
|
|
1657
|
+
],
|
|
1658
|
+
"truncated": [
|
|
1659
|
+
"lin_9x2KpQ"
|
|
1660
|
+
]
|
|
1661
|
+
},
|
|
1662
|
+
"distinctive": true
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"id": "figma-token",
|
|
1666
|
+
"provider": "figma",
|
|
1667
|
+
"category": "saas",
|
|
1668
|
+
"title": "Figma personal access token",
|
|
1669
|
+
"prefixes": [
|
|
1670
|
+
"figd_",
|
|
1671
|
+
"figu_"
|
|
1672
|
+
],
|
|
1673
|
+
"pattern": "fig[dou]_[A-Za-z0-9_-]{20,50}",
|
|
1674
|
+
"min_length": 25,
|
|
1675
|
+
"max_length": 55,
|
|
1676
|
+
"checksum": null,
|
|
1677
|
+
"context": [
|
|
1678
|
+
"FIGMA_TOKEN",
|
|
1679
|
+
"figma"
|
|
1680
|
+
],
|
|
1681
|
+
"capabilities": [
|
|
1682
|
+
"read design files and team data under the owning account"
|
|
1683
|
+
],
|
|
1684
|
+
"revoke_url": "https://www.figma.com/settings",
|
|
1685
|
+
"docs_url": "https://www.figma.com/developers/api#auth",
|
|
1686
|
+
"verify": null,
|
|
1687
|
+
"fixtures": {
|
|
1688
|
+
"valid": [
|
|
1689
|
+
"figd_ABCDEFGHIJKLMNOPQRSTUVWXYZabcd"
|
|
1690
|
+
],
|
|
1691
|
+
"invalid": [
|
|
1692
|
+
"figd_short"
|
|
1693
|
+
],
|
|
1694
|
+
"truncated": [
|
|
1695
|
+
"figd_9x2KpQ"
|
|
1696
|
+
]
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"id": "sentry-auth-token",
|
|
1701
|
+
"provider": "sentry",
|
|
1702
|
+
"category": "saas",
|
|
1703
|
+
"title": "Sentry auth token",
|
|
1704
|
+
"prefixes": [
|
|
1705
|
+
"sntrys_"
|
|
1706
|
+
],
|
|
1707
|
+
"pattern": "sntrys_[A-Za-z0-9_/+=-]{40,200}",
|
|
1708
|
+
"min_length": 47,
|
|
1709
|
+
"max_length": 207,
|
|
1710
|
+
"checksum": null,
|
|
1711
|
+
"context": [
|
|
1712
|
+
"SENTRY_AUTH_TOKEN",
|
|
1713
|
+
"sentry"
|
|
1714
|
+
],
|
|
1715
|
+
"capabilities": [
|
|
1716
|
+
"read (and write with scopes) error/project data"
|
|
1717
|
+
],
|
|
1718
|
+
"revoke_url": "https://sentry.io/settings/account/api/auth-tokens/",
|
|
1719
|
+
"docs_url": "https://docs.sentry.io/api/auth/",
|
|
1720
|
+
"verify": null,
|
|
1721
|
+
"fixtures": {
|
|
1722
|
+
"valid": [
|
|
1723
|
+
"sntrys_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuv"
|
|
1724
|
+
],
|
|
1725
|
+
"invalid": [
|
|
1726
|
+
"sntrys_short"
|
|
1727
|
+
],
|
|
1728
|
+
"truncated": [
|
|
1729
|
+
"sntrys_9x2KpQ"
|
|
1730
|
+
]
|
|
1731
|
+
}
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
"id": "datadog-api-key",
|
|
1735
|
+
"provider": "datadog",
|
|
1736
|
+
"category": "saas",
|
|
1737
|
+
"title": "Datadog API key",
|
|
1738
|
+
"prefixes": [],
|
|
1739
|
+
"pattern": "(?<![a-f0-9])[a-f0-9]{32}(?![a-f0-9])",
|
|
1740
|
+
"min_length": 32,
|
|
1741
|
+
"max_length": 32,
|
|
1742
|
+
"checksum": null,
|
|
1743
|
+
"requires_context": [
|
|
1744
|
+
"datadog",
|
|
1745
|
+
"DD_API_KEY",
|
|
1746
|
+
"DATADOG"
|
|
1747
|
+
],
|
|
1748
|
+
"context": [
|
|
1749
|
+
"DD_API_KEY",
|
|
1750
|
+
"DATADOG_API_KEY",
|
|
1751
|
+
"datadog"
|
|
1752
|
+
],
|
|
1753
|
+
"capabilities": [
|
|
1754
|
+
"metrics/ingest API; paired app keys allow account admin"
|
|
1755
|
+
],
|
|
1756
|
+
"revoke_url": "https://app.datadoghq.com/organization-settings/api-keys",
|
|
1757
|
+
"docs_url": "https://docs.datadoghq.com/api/latest/",
|
|
1758
|
+
"verify": null,
|
|
1759
|
+
"fixtures": {
|
|
1760
|
+
"valid": [
|
|
1761
|
+
"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
|
|
1762
|
+
],
|
|
1763
|
+
"invalid": [
|
|
1764
|
+
"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d"
|
|
1765
|
+
]
|
|
1766
|
+
}
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"id": "ssh-private-key",
|
|
1770
|
+
"provider": "generic-crypto",
|
|
1771
|
+
"category": "crypto",
|
|
1772
|
+
"title": "SSH private key",
|
|
1773
|
+
"prefixes": [
|
|
1774
|
+
"-----BEGIN OPENSSH PRIVATE KEY",
|
|
1775
|
+
"-----BEGIN RSA PRIVATE KEY",
|
|
1776
|
+
"-----BEGIN EC PRIVATE KEY",
|
|
1777
|
+
"-----BEGIN PRIVATE KEY"
|
|
1778
|
+
],
|
|
1779
|
+
"pattern": "-----BEGIN (?:OPENSSH|RSA|EC|DSA|ENCRYPTED)? ?(?:PRIVATE KEY(?: BLOCK)?)-----",
|
|
1780
|
+
"min_length": 20,
|
|
1781
|
+
"max_length": 80,
|
|
1782
|
+
"checksum": null,
|
|
1783
|
+
"context": [
|
|
1784
|
+
"id_rsa",
|
|
1785
|
+
"BEGIN RSA PRIVATE KEY",
|
|
1786
|
+
".ssh"
|
|
1787
|
+
],
|
|
1788
|
+
"capabilities": [
|
|
1789
|
+
"key material itself - whoever holds it authenticates as the owner wherever the public half is trusted"
|
|
1790
|
+
],
|
|
1791
|
+
"revoke_url": null,
|
|
1792
|
+
"docs_url": null,
|
|
1793
|
+
"verify": null,
|
|
1794
|
+
"fixtures": {
|
|
1795
|
+
"valid": [
|
|
1796
|
+
"-----BEGIN OPENSSH PRIVATE KEY-----",
|
|
1797
|
+
"-----BEGIN RSA PRIVATE KEY-----"
|
|
1798
|
+
],
|
|
1799
|
+
"invalid": [
|
|
1800
|
+
"-----BEGIN PUBLIC KEY-----"
|
|
1801
|
+
],
|
|
1802
|
+
"truncated": []
|
|
1803
|
+
}
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
"id": "pgp-private-key",
|
|
1807
|
+
"provider": "generic-crypto",
|
|
1808
|
+
"category": "crypto",
|
|
1809
|
+
"title": "PGP private key block",
|
|
1810
|
+
"prefixes": [
|
|
1811
|
+
"-----BEGIN PGP PRIVATE KEY"
|
|
1812
|
+
],
|
|
1813
|
+
"pattern": "-----BEGIN PGP PRIVATE KEY BLOCK-----",
|
|
1814
|
+
"min_length": 37,
|
|
1815
|
+
"max_length": 37,
|
|
1816
|
+
"checksum": null,
|
|
1817
|
+
"context": [
|
|
1818
|
+
"PGP",
|
|
1819
|
+
"gpg"
|
|
1820
|
+
],
|
|
1821
|
+
"capabilities": [
|
|
1822
|
+
"signing and decryption identity for the key holder"
|
|
1823
|
+
],
|
|
1824
|
+
"revoke_url": null,
|
|
1825
|
+
"docs_url": null,
|
|
1826
|
+
"verify": null,
|
|
1827
|
+
"fixtures": {
|
|
1828
|
+
"valid": [
|
|
1829
|
+
"-----BEGIN PGP PRIVATE KEY BLOCK-----"
|
|
1830
|
+
],
|
|
1831
|
+
"invalid": [],
|
|
1832
|
+
"truncated": []
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"id": "postgres-connection-uri",
|
|
1837
|
+
"provider": "database",
|
|
1838
|
+
"category": "database",
|
|
1839
|
+
"title": "PostgreSQL connection string with password",
|
|
1840
|
+
"prefixes": [],
|
|
1841
|
+
"pattern": "postgres(?:ql)?://[A-Za-z0-9_]+:[^\\s'\"@]{3,}@[A-Za-z0-9_.:/-]+",
|
|
1842
|
+
"min_length": 20,
|
|
1843
|
+
"max_length": 300,
|
|
1844
|
+
"checksum": null,
|
|
1845
|
+
"requires_context": [
|
|
1846
|
+
"postgres"
|
|
1847
|
+
],
|
|
1848
|
+
"context": [
|
|
1849
|
+
"DATABASE_URL",
|
|
1850
|
+
"postgres",
|
|
1851
|
+
"postgresql"
|
|
1852
|
+
],
|
|
1853
|
+
"capabilities": [
|
|
1854
|
+
"database login with the embedded password, per granted privileges"
|
|
1855
|
+
],
|
|
1856
|
+
"revoke_url": null,
|
|
1857
|
+
"docs_url": null,
|
|
1858
|
+
"verify": null,
|
|
1859
|
+
"fixtures": {
|
|
1860
|
+
"valid": [
|
|
1861
|
+
"postgres://appuser:S3cr3tPass@db.prod.internal:5432/prod"
|
|
1862
|
+
],
|
|
1863
|
+
"invalid": [
|
|
1864
|
+
"postgres://appuser@db.prod.internal:5432/prod"
|
|
1865
|
+
]
|
|
1866
|
+
}
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
"id": "mongodb-connection-uri",
|
|
1870
|
+
"provider": "database",
|
|
1871
|
+
"category": "database",
|
|
1872
|
+
"title": "MongoDB connection string with password",
|
|
1873
|
+
"prefixes": [],
|
|
1874
|
+
"pattern": "mongodb(?:\\+srv)?://[^\\s:'\"]+:[^\\s@'\"]+@[A-Za-z0-9_.:/?=&-]+",
|
|
1875
|
+
"min_length": 20,
|
|
1876
|
+
"max_length": 400,
|
|
1877
|
+
"checksum": null,
|
|
1878
|
+
"requires_context": [
|
|
1879
|
+
"mongodb"
|
|
1880
|
+
],
|
|
1881
|
+
"context": [
|
|
1882
|
+
"MONGODB_URI",
|
|
1883
|
+
"MONGO_URL",
|
|
1884
|
+
"mongodb"
|
|
1885
|
+
],
|
|
1886
|
+
"capabilities": [
|
|
1887
|
+
"database login with the embedded credentials, per granted roles"
|
|
1888
|
+
],
|
|
1889
|
+
"revoke_url": null,
|
|
1890
|
+
"docs_url": null,
|
|
1891
|
+
"verify": null,
|
|
1892
|
+
"fixtures": {
|
|
1893
|
+
"valid": [
|
|
1894
|
+
"mongodb+srv://dbuser:hunter2@cluster0.abc.mongodb.net/test"
|
|
1895
|
+
],
|
|
1896
|
+
"invalid": [
|
|
1897
|
+
"mongodb://host.example.com/test"
|
|
1898
|
+
],
|
|
1899
|
+
"truncated": []
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
]
|
|
1903
|
+
}
|