dd-trace 5.87.0 → 5.88.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 (77) hide show
  1. package/LICENSE-3rdparty.csv +60 -32
  2. package/ext/exporters.d.ts +1 -0
  3. package/ext/exporters.js +1 -0
  4. package/index.d.ts +225 -4
  5. package/package.json +9 -6
  6. package/packages/datadog-instrumentations/src/ai.js +54 -90
  7. package/packages/datadog-instrumentations/src/helpers/hook.js +17 -11
  8. package/packages/datadog-instrumentations/src/helpers/rewriter/compiler.js +55 -14
  9. package/packages/datadog-instrumentations/src/helpers/rewriter/index.js +15 -13
  10. package/packages/datadog-instrumentations/src/helpers/rewriter/instrumentations/ai.js +103 -0
  11. package/packages/datadog-instrumentations/src/helpers/rewriter/instrumentations/bullmq.js +108 -0
  12. package/packages/datadog-instrumentations/src/helpers/rewriter/instrumentations/index.js +2 -1
  13. package/packages/datadog-instrumentations/src/helpers/rewriter/transformer.js +21 -0
  14. package/packages/datadog-instrumentations/src/helpers/rewriter/transforms.js +138 -12
  15. package/packages/datadog-instrumentations/src/jest.js +76 -12
  16. package/packages/datadog-instrumentations/src/kafkajs.js +20 -17
  17. package/packages/datadog-instrumentations/src/playwright.js +1 -1
  18. package/packages/datadog-plugin-amqplib/src/consumer.js +14 -10
  19. package/packages/datadog-plugin-amqplib/src/producer.js +23 -19
  20. package/packages/datadog-plugin-bullmq/src/consumer.js +33 -11
  21. package/packages/datadog-plugin-bullmq/src/producer.js +60 -31
  22. package/packages/datadog-plugin-cucumber/src/index.js +9 -6
  23. package/packages/datadog-plugin-cypress/src/cypress-plugin.js +26 -0
  24. package/packages/datadog-plugin-cypress/src/support.js +48 -8
  25. package/packages/datadog-plugin-jest/src/index.js +12 -2
  26. package/packages/datadog-plugin-jest/src/util.js +2 -1
  27. package/packages/datadog-plugin-kafkajs/src/consumer.js +22 -12
  28. package/packages/datadog-plugin-kafkajs/src/producer.js +33 -22
  29. package/packages/datadog-plugin-mocha/src/index.js +9 -6
  30. package/packages/datadog-plugin-playwright/src/index.js +10 -6
  31. package/packages/datadog-plugin-vitest/src/index.js +13 -8
  32. package/packages/dd-trace/src/appsec/iast/analyzers/cookie-analyzer.js +1 -1
  33. package/packages/dd-trace/src/appsec/iast/analyzers/ssrf-analyzer.js +1 -1
  34. package/packages/dd-trace/src/appsec/iast/analyzers/unvalidated-redirect-analyzer.js +1 -1
  35. package/packages/dd-trace/src/appsec/iast/analyzers/vulnerability-analyzer.js +4 -5
  36. package/packages/dd-trace/src/appsec/iast/path-line.js +36 -25
  37. package/packages/dd-trace/src/appsec/iast/vulnerabilities-formatter/evidence-redaction/sensitive-analyzers/command-sensitive-analyzer.js +1 -1
  38. package/packages/dd-trace/src/appsec/iast/vulnerabilities-formatter/evidence-redaction/sensitive-handler.js +3 -4
  39. package/packages/dd-trace/src/appsec/iast/vulnerabilities-formatter/utils.js +3 -2
  40. package/packages/dd-trace/src/azure_metadata.js +0 -2
  41. package/packages/dd-trace/src/ci-visibility/early-flake-detection/get-known-tests.js +1 -1
  42. package/packages/dd-trace/src/ci-visibility/exporters/ci-visibility-exporter.js +2 -0
  43. package/packages/dd-trace/src/ci-visibility/intelligent-test-runner/get-skippable-suites.js +1 -1
  44. package/packages/dd-trace/src/ci-visibility/requests/get-library-configuration.js +4 -1
  45. package/packages/dd-trace/src/ci-visibility/requests/request.js +236 -0
  46. package/packages/dd-trace/src/ci-visibility/test-management/get-test-management-tests.js +1 -1
  47. package/packages/dd-trace/src/config/defaults.js +148 -197
  48. package/packages/dd-trace/src/config/helper.js +43 -1
  49. package/packages/dd-trace/src/config/index.js +36 -14
  50. package/packages/dd-trace/src/config/supported-configurations.json +4115 -512
  51. package/packages/dd-trace/src/constants.js +0 -2
  52. package/packages/dd-trace/src/crashtracking/crashtracker.js +10 -3
  53. package/packages/dd-trace/src/datastreams/pathway.js +22 -3
  54. package/packages/dd-trace/src/datastreams/processor.js +14 -1
  55. package/packages/dd-trace/src/encode/agentless-json.js +141 -0
  56. package/packages/dd-trace/src/exporter.js +2 -0
  57. package/packages/dd-trace/src/exporters/agent/writer.js +22 -8
  58. package/packages/dd-trace/src/exporters/agentless/index.js +89 -0
  59. package/packages/dd-trace/src/exporters/agentless/writer.js +184 -0
  60. package/packages/dd-trace/src/exporters/common/request.js +4 -4
  61. package/packages/dd-trace/src/llmobs/plugins/ai/index.js +5 -3
  62. package/packages/dd-trace/src/opentelemetry/context_manager.js +19 -46
  63. package/packages/dd-trace/src/opentelemetry/otlp/otlp_http_exporter_base.js +3 -4
  64. package/packages/dd-trace/src/opentracing/propagation/text_map.js +3 -5
  65. package/packages/dd-trace/src/opentracing/span.js +6 -4
  66. package/packages/dd-trace/src/plugins/ci_plugin.js +57 -5
  67. package/packages/dd-trace/src/plugins/database.js +15 -2
  68. package/packages/dd-trace/src/plugins/util/test.js +48 -0
  69. package/packages/dd-trace/src/profiling/exporter_cli.js +1 -0
  70. package/packages/dd-trace/src/propagation-hash/index.js +145 -0
  71. package/packages/dd-trace/src/proxy.js +4 -0
  72. package/packages/dd-trace/src/runtime_metrics/runtime_metrics.js +1 -1
  73. package/packages/dd-trace/src/startup-log.js +1 -1
  74. package/packages/datadog-instrumentations/src/helpers/rewriter/instrumentations/bullmq.json +0 -106
  75. package/packages/dd-trace/src/appsec/iast/analyzers/hardcoded-secrets-rules.js +0 -741
  76. package/packages/dd-trace/src/appsec/iast/vulnerabilities-formatter/evidence-redaction/sensitive-regex.js +0 -11
  77. package/packages/dd-trace/src/scope/noop/scope.js +0 -21
@@ -1,741 +0,0 @@
1
- 'use strict'
2
-
3
- const { ValueOnly, NameAndValue } = require('./hardcoded-rule-type')
4
-
5
- module.exports = [
6
- {
7
- id: 'adafruit-api-key',
8
- regex: /(?:adafruit)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9_-]{32})(?:['"\s\x60;]|$)/i,
9
- type: NameAndValue,
10
- },
11
- {
12
- id: 'adobe-client-id',
13
- regex: /(?:adobe)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-f0-9]{32})(?:['"\s\x60;]|$)/i,
14
- type: NameAndValue,
15
- },
16
- {
17
- id: 'adobe-client-secret',
18
- regex: /\b((p8e-)[a-z0-9]{32})(?:['"\s\x60;]|$)/i,
19
- type: ValueOnly,
20
- },
21
- {
22
- id: 'age-secret-key',
23
- regex: /AGE-SECRET-KEY-1[QPZRY9X8GF2TVDW0S3JN54KHCE6MUA7L]{58}/,
24
- type: ValueOnly,
25
- },
26
- {
27
- id: 'airtable-api-key',
28
- regex: /(?:airtable)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{17})(?:['"\s\x60;]|$)/i,
29
- type: NameAndValue,
30
- },
31
- {
32
- id: 'algolia-api-key',
33
- regex: /(?:algolia)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{32})(?:['"\s\x60;]|$)/i,
34
- type: NameAndValue,
35
- },
36
- {
37
- id: 'alibaba-access-key-id',
38
- regex: /\b((LTAI)[a-z0-9]{20})(?:['"\s\x60;]|$)/i,
39
- type: ValueOnly,
40
- },
41
- {
42
- id: 'asana-client-id',
43
- regex: /(?:asana)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([0-9]{16})(?:['"\s\x60;]|$)/i,
44
- type: NameAndValue,
45
- },
46
- {
47
- id: 'asana-client-secret',
48
- regex: /(?:asana)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{32})(?:['"\s\x60;]|$)/i,
49
- type: NameAndValue,
50
- },
51
- {
52
- id: 'atlassian-api-token',
53
- regex: /(?:atlassian|confluence|jira)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{24})(?:['"\s\x60;]|$)/i,
54
- type: NameAndValue,
55
- },
56
- {
57
- id: 'authress-service-client-access-key',
58
- regex: /\b((?:sc|ext|scauth|authress)_[a-z0-9]{5,30}\.[a-z0-9]{4,6}\.acc[_-][a-z0-9-]{10,32}\.[a-z0-9+/_=-]{30,120})(?:['"\s\x60;]|$)/i,
59
- type: ValueOnly,
60
- },
61
- {
62
- id: 'aws-access-token',
63
- regex: /\b((A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16})(?:['"\s\x60;]|$)/,
64
- type: ValueOnly,
65
- },
66
- {
67
- id: 'beamer-api-token',
68
- regex: /(?:beamer)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(b_[a-z0-9=_-]{44})(?:['"\s\x60;]|$)/i,
69
- type: NameAndValue,
70
- },
71
- {
72
- id: 'bitbucket-client-id',
73
- regex: /(?:bitbucket)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{32})(?:['"\s\x60;]|$)/i,
74
- type: NameAndValue,
75
- },
76
- {
77
- id: 'bitbucket-client-secret',
78
- regex: /(?:bitbucket)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9=_-]{64})(?:['"\s\x60;]|$)/i,
79
- type: NameAndValue,
80
- },
81
- {
82
- id: 'bittrex-access-key',
83
- regex: /(?:bittrex)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{32})(?:['"\s\x60;]|$)/i,
84
- type: NameAndValue,
85
- },
86
- {
87
- id: 'clojars-api-token',
88
- regex: /(CLOJARS_)[a-z0-9]{60}/i,
89
- type: ValueOnly,
90
- },
91
- {
92
- id: 'codecov-access-token',
93
- regex: /(?:codecov)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{32})(?:['"\s\x60;]|$)/i,
94
- type: NameAndValue,
95
- },
96
- {
97
- id: 'coinbase-access-token',
98
- regex: /(?:coinbase)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9_-]{64})(?:['"\s\x60;]|$)/i,
99
- type: NameAndValue,
100
- },
101
- {
102
- id: 'confluent-access-token',
103
- regex: /(?:confluent)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{16})(?:['"\s\x60;]|$)/i,
104
- type: NameAndValue,
105
- },
106
- {
107
- id: 'confluent-secret-key',
108
- regex: /(?:confluent)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{64})(?:['"\s\x60;]|$)/i,
109
- type: NameAndValue,
110
- },
111
- {
112
- id: 'contentful-delivery-api-token',
113
- regex: /(?:contentful)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9=_-]{43})(?:['"\s\x60;]|$)/i,
114
- type: NameAndValue,
115
- },
116
- {
117
- id: 'databricks-api-token',
118
- regex: /\b(dapi[a-h0-9]{32})(?:['"\s\x60;]|$)/i,
119
- type: ValueOnly,
120
- },
121
- {
122
- id: 'datadog-access-token',
123
- regex: /(?:datadog)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{40})(?:['"\s\x60;]|$)/i,
124
- type: NameAndValue,
125
- },
126
- {
127
- id: 'defined-networking-api-token',
128
- regex: /(?:dnkey)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(dnkey-[a-z0-9=_-]{26}-[a-z0-9=_-]{52})(?:['"\s\x60;]|$)/i,
129
- type: NameAndValue,
130
- },
131
- {
132
- id: 'digitalocean-access-token',
133
- regex: /\b(doo_v1_[a-f0-9]{64})(?:['"\s\x60;]|$)/i,
134
- type: ValueOnly,
135
- },
136
- {
137
- id: 'digitalocean-pat',
138
- regex: /\b(dop_v1_[a-f0-9]{64})(?:['"\s\x60;]|$)/i,
139
- type: ValueOnly,
140
- },
141
- {
142
- id: 'digitalocean-refresh-token',
143
- regex: /\b(dor_v1_[a-f0-9]{64})(?:['"\s\x60;]|$)/i,
144
- type: ValueOnly,
145
- },
146
- {
147
- id: 'discord-api-token',
148
- regex: /(?:discord)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-f0-9]{64})(?:['"\s\x60;]|$)/i,
149
- type: NameAndValue,
150
- },
151
- {
152
- id: 'discord-client-id',
153
- regex: /(?:discord)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([0-9]{18})(?:['"\s\x60;]|$)/i,
154
- type: NameAndValue,
155
- },
156
- {
157
- id: 'discord-client-secret',
158
- regex: /(?:discord)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9=_-]{32})(?:['"\s\x60;]|$)/i,
159
- type: NameAndValue,
160
- },
161
- {
162
- id: 'doppler-api-token',
163
- regex: /(dp\.pt\.)[a-z0-9]{43}/i,
164
- type: ValueOnly,
165
- },
166
- {
167
- id: 'droneci-access-token',
168
- regex: /(?:droneci)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{32})(?:['"\s\x60;]|$)/i,
169
- type: NameAndValue,
170
- },
171
- {
172
- id: 'dropbox-api-token',
173
- regex: /(?:dropbox)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{15})(?:['"\s\x60;]|$)/i,
174
- type: NameAndValue,
175
- },
176
- {
177
- id: 'dropbox-long-lived-api-token',
178
- regex: /(?:dropbox)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{11}(AAAAAAAAAA)[a-z0-9\-_=]{43})(?:['"\s\x60;]|$)/i,
179
- type: NameAndValue,
180
- },
181
- {
182
- id: 'dropbox-short-lived-api-token',
183
- regex: /(?:dropbox)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(sl\.[a-z0-9\-=_]{135})(?:['"\s\x60;]|$)/i,
184
- type: NameAndValue,
185
- },
186
- {
187
- id: 'duffel-api-token',
188
- regex: /duffel_(test|live)_[a-z0-9_\-=]{43}/i,
189
- type: ValueOnly,
190
- },
191
- {
192
- id: 'dynatrace-api-token',
193
- regex: /dt0c01\.[a-z0-9]{24}\.[a-z0-9]{64}/i,
194
- type: ValueOnly,
195
- },
196
- {
197
- id: 'easypost-api-token',
198
- regex: /\bEZAK[a-z0-9]{54}/i,
199
- type: ValueOnly,
200
- },
201
- {
202
- id: 'etsy-access-token',
203
- regex: /(?:etsy)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{24})(?:['"\s\x60;]|$)/i,
204
- type: NameAndValue,
205
- },
206
- {
207
- id: 'facebook',
208
- regex: /(?:facebook)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-f0-9]{32})(?:['"\s\x60;]|$)/i,
209
- type: NameAndValue,
210
- },
211
- {
212
- id: 'fastly-api-token',
213
- regex: /(?:fastly)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9=_-]{32})(?:['"\s\x60;]|$)/i,
214
- type: NameAndValue,
215
- },
216
- {
217
- id: 'finicity-api-token',
218
- regex: /(?:finicity)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-f0-9]{32})(?:['"\s\x60;]|$)/i,
219
- type: NameAndValue,
220
- },
221
- {
222
- id: 'finicity-client-secret',
223
- regex: /(?:finicity)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{20})(?:['"\s\x60;]|$)/i,
224
- type: NameAndValue,
225
- },
226
- {
227
- id: 'finnhub-access-token',
228
- regex: /(?:finnhub)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{20})(?:['"\s\x60;]|$)/i,
229
- type: NameAndValue,
230
- },
231
- {
232
- id: 'flickr-access-token',
233
- regex: /(?:flickr)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{32})(?:['"\s\x60;]|$)/i,
234
- type: NameAndValue,
235
- },
236
- {
237
- id: 'flutterwave-public-key',
238
- regex: /FLWPUBK_TEST-[a-h0-9]{32}-X/i,
239
- type: ValueOnly,
240
- },
241
- {
242
- id: 'frameio-api-token',
243
- regex: /fio-u-[a-z0-9\-_=]{64}/i,
244
- type: ValueOnly,
245
- },
246
- {
247
- id: 'freshbooks-access-token',
248
- regex: /(?:freshbooks)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{64})(?:['"\s\x60;]|$)/i,
249
- type: NameAndValue,
250
- },
251
- {
252
- id: 'gcp-api-key',
253
- regex: /\b(AIza[0-9a-z\-_]{35})(?:['"\s\x60;]|$)/i,
254
- type: ValueOnly,
255
- },
256
- {
257
- id: 'github-app-token',
258
- regex: /(ghu|ghs)_[0-9a-zA-Z]{36}/,
259
- type: ValueOnly,
260
- },
261
- {
262
- id: 'github-fine-grained-pat',
263
- regex: /github_pat_[0-9a-zA-Z_]{82}/,
264
- type: ValueOnly,
265
- },
266
- {
267
- id: 'github-oauth',
268
- regex: /gho_[0-9a-zA-Z]{36}/,
269
- type: ValueOnly,
270
- },
271
- {
272
- id: 'github-pat',
273
- regex: /ghp_[0-9a-zA-Z]{36}/,
274
- type: ValueOnly,
275
- },
276
- {
277
- id: 'gitlab-pat',
278
- regex: /glpat-[0-9a-zA-Z\-_]{20}/,
279
- type: ValueOnly,
280
- },
281
- {
282
- id: 'gitlab-ptt',
283
- regex: /glptt-[0-9a-f]{40}/,
284
- type: ValueOnly,
285
- },
286
- {
287
- id: 'gitlab-rrt',
288
- regex: /GR1348941[0-9a-zA-Z\-_]{20}/,
289
- type: ValueOnly,
290
- },
291
- {
292
- id: 'gitter-access-token',
293
- regex: /(?:gitter)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9_-]{40})(?:['"\s\x60;]|$)/i,
294
- type: NameAndValue,
295
- },
296
- {
297
- id: 'gocardless-api-token',
298
- regex: /(?:gocardless)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(live_[a-z0-9\-_=]{40})(?:['"\s\x60;]|$)/i,
299
- type: NameAndValue,
300
- },
301
- {
302
- id: 'grafana-api-key',
303
- regex: /\b(eyJrIjoi[a-z0-9]{70,400}={0,2})(?:['"\s\x60;]|$)/i,
304
- type: ValueOnly,
305
- },
306
- {
307
- id: 'grafana-cloud-api-token',
308
- regex: /\b(glc_[a-z0-9+/]{32,400}={0,2})(?:['"\s\x60;]|$)/i,
309
- type: ValueOnly,
310
- },
311
- {
312
- id: 'grafana-service-account-token',
313
- regex: /\b(glsa_[a-z0-9]{32}_[a-f0-9]{8})(?:['"\s\x60;]|$)/i,
314
- type: ValueOnly,
315
- },
316
- {
317
- id: 'hashicorp-tf-api-token',
318
- regex: /[a-z0-9]{14}\.atlasv1\.[a-z0-9\-_=]{60,70}/i,
319
- type: ValueOnly,
320
- },
321
- {
322
- id: 'heroku-api-key',
323
- regex: /(?:heroku)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['"\s\x60;]|$)/i,
324
- type: NameAndValue,
325
- },
326
- {
327
- id: 'hubspot-api-key',
328
- regex: /(?:hubspot)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12})(?:['"\s\x60;]|$)/i,
329
- type: NameAndValue,
330
- },
331
- {
332
- id: 'intercom-api-key',
333
- regex: /(?:intercom)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9=_-]{60})(?:['"\s\x60;]|$)/i,
334
- type: NameAndValue,
335
- },
336
- {
337
- id: 'jfrog-api-key',
338
- regex: /(?:jfrog|artifactory|bintray|xray)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{73})(?:['"\s\x60;]|$)/i,
339
- type: NameAndValue,
340
- },
341
- {
342
- id: 'jwt',
343
- regex: /\b(ey[a-zA-Z0-9]{17,}\.ey[a-zA-Z0-9/_-]{17,}\.(?:[a-zA-Z0-9/_-]{10,}={0,2})?)(?:['"\s\x60;]|$)/,
344
- type: ValueOnly,
345
- },
346
- {
347
- id: 'kraken-access-token',
348
- regex: /(?:kraken)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9/=_+-]{80,90})(?:['"\s\x60;]|$)/i,
349
- type: NameAndValue,
350
- },
351
- {
352
- id: 'kucoin-access-token',
353
- regex: /(?:kucoin)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-f0-9]{24})(?:['"\s\x60;]|$)/i,
354
- type: NameAndValue,
355
- },
356
- {
357
- id: 'launchdarkly-access-token',
358
- regex: /(?:launchdarkly)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9=_-]{40})(?:['"\s\x60;]|$)/i,
359
- type: NameAndValue,
360
- },
361
- {
362
- id: 'linear-api-key',
363
- regex: /lin_api_[a-z0-9]{40}/i,
364
- type: ValueOnly,
365
- },
366
- {
367
- id: 'linkedin-client-secret',
368
- regex: /(?:linkedin|linked-in)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{16})(?:['"\s\x60;]|$)/i,
369
- type: NameAndValue,
370
- },
371
- {
372
- id: 'lob-pub-api-key',
373
- regex: /(?:lob)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}((test|live)_pub_[a-f0-9]{31})(?:['"\s\x60;]|$)/i,
374
- type: NameAndValue,
375
- },
376
- {
377
- id: 'mailchimp-api-key',
378
- regex: /(?:mailchimp)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-f0-9]{32}-us20)(?:['"\s\x60;]|$)/i,
379
- type: NameAndValue,
380
- },
381
- {
382
- id: 'mailgun-private-api-token',
383
- regex: /(?:mailgun)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(key-[a-f0-9]{32})(?:['"\s\x60;]|$)/i,
384
- type: NameAndValue,
385
- },
386
- {
387
- id: 'mailgun-pub-key',
388
- regex: /(?:mailgun)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(pubkey-[a-f0-9]{32})(?:['"\s\x60;]|$)/i,
389
- type: NameAndValue,
390
- },
391
- {
392
- id: 'mailgun-signing-key',
393
- regex: /(?:mailgun)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-h0-9]{32}-[a-h0-9]{8}-[a-h0-9]{8})(?:['"\s\x60;]|$)/i,
394
- type: NameAndValue,
395
- },
396
- {
397
- id: 'mapbox-api-token',
398
- regex: /(?:mapbox)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(pk\.[a-z0-9]{60}\.[a-z0-9]{22})(?:['"\s\x60;]|$)/i,
399
- type: NameAndValue,
400
- },
401
- {
402
- id: 'mattermost-access-token',
403
- regex: /(?:mattermost)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{26})(?:['"\s\x60;]|$)/i,
404
- type: NameAndValue,
405
- },
406
- {
407
- id: 'messagebird-api-token',
408
- regex: /(?:messagebird|message-bird|message_bird)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{25})(?:['"\s\x60;]|$)/i,
409
- type: NameAndValue,
410
- },
411
- {
412
- id: 'netlify-access-token',
413
- regex: /(?:netlify)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9=_-]{40,46})(?:['"\s\x60;]|$)/i,
414
- type: NameAndValue,
415
- },
416
- {
417
- id: 'new-relic-browser-api-token',
418
- regex: /(?:new-relic|newrelic|new_relic)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(NRJS-[a-f0-9]{19})(?:['"\s\x60;]|$)/i,
419
- type: NameAndValue,
420
- },
421
- {
422
- id: 'new-relic-user-api-id',
423
- regex: /(?:new-relic|newrelic|new_relic)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{64})(?:['"\s\x60;]|$)/i,
424
- type: NameAndValue,
425
- },
426
- {
427
- id: 'new-relic-user-api-key',
428
- regex: /(?:new-relic|newrelic|new_relic)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(NRAK-[a-z0-9]{27})(?:['"\s\x60;]|$)/i,
429
- type: NameAndValue,
430
- },
431
- {
432
- id: 'npm-access-token',
433
- regex: /\b(npm_[a-z0-9]{36})(?:['"\s\x60;]|$)/i,
434
- type: ValueOnly,
435
- },
436
- {
437
- id: 'nytimes-access-token',
438
- regex: /(?:nytimes|new-york-times,|newyorktimes)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9=_-]{32})(?:['"\s\x60;]|$)/i,
439
- type: NameAndValue,
440
- },
441
- {
442
- id: 'okta-access-token',
443
- regex: /(?:okta)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9=_-]{42})(?:['"\s\x60;]|$)/i,
444
- type: NameAndValue,
445
- },
446
- {
447
- id: 'openai-api-key',
448
- regex: /\b(sk-[a-z0-9]{20}T3BlbkFJ[a-z0-9]{20})(?:['"\s\x60;]|$)/i,
449
- type: ValueOnly,
450
- },
451
- {
452
- id: 'plaid-api-token',
453
- regex: /(?:plaid)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(access-(?:sandbox|development|production)-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['"\s\x60;]|$)/i,
454
- type: NameAndValue,
455
- },
456
- {
457
- id: 'plaid-client-id',
458
- regex: /(?:plaid)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{24})(?:['"\s\x60;]|$)/i,
459
- type: NameAndValue,
460
- },
461
- {
462
- id: 'plaid-secret-key',
463
- regex: /(?:plaid)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{30})(?:['"\s\x60;]|$)/i,
464
- type: NameAndValue,
465
- },
466
- {
467
- id: 'planetscale-api-token',
468
- regex: /\b(pscale_tkn_[a-z0-9=\-_.]{32,64})(?:['"\s\x60;]|$)/i,
469
- type: ValueOnly,
470
- },
471
- {
472
- id: 'planetscale-oauth-token',
473
- regex: /\b(pscale_oauth_[a-z0-9=\-_.]{32,64})(?:['"\s\x60;]|$)/i,
474
- type: ValueOnly,
475
- },
476
- {
477
- id: 'planetscale-password',
478
- regex: /\b(pscale_pw_[a-z0-9=\-_.]{32,64})(?:['"\s\x60;]|$)/i,
479
- type: ValueOnly,
480
- },
481
- {
482
- id: 'postman-api-token',
483
- regex: /\b(PMAK-[a-f0-9]{24}-[a-f0-9]{34})(?:['"\s\x60;]|$)/i,
484
- type: ValueOnly,
485
- },
486
- {
487
- id: 'prefect-api-token',
488
- regex: /\b(pnu_[a-z0-9]{36})(?:['"\s\x60;]|$)/i,
489
- type: ValueOnly,
490
- },
491
- {
492
- id: 'private-key',
493
- regex: /-----BEGIN[ A-Z0-9_-]{0,100}PRIVATE KEY( BLOCK)?-----[\s\S]*KEY( BLOCK)?----/i,
494
- type: ValueOnly,
495
- },
496
- {
497
- id: 'pulumi-api-token',
498
- regex: /\b(pul-[a-f0-9]{40})(?:['"\s\x60;]|$)/i,
499
- type: ValueOnly,
500
- },
501
- {
502
- id: 'pypi-upload-token',
503
- regex: /pypi-AgEIcHlwaS5vcmc[A-Za-z0-9\-_]{50,1000}/,
504
- type: ValueOnly,
505
- },
506
- {
507
- id: 'rapidapi-access-token',
508
- regex: /(?:rapidapi)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9_-]{50})(?:['"\s\x60;]|$)/i,
509
- type: NameAndValue,
510
- },
511
- {
512
- id: 'readme-api-token',
513
- regex: /\b(rdme_[a-z0-9]{70})(?:['"\s\x60;]|$)/i,
514
- type: ValueOnly,
515
- },
516
- {
517
- id: 'rubygems-api-token',
518
- regex: /\b(rubygems_[a-f0-9]{48})(?:['"\s\x60;]|$)/i,
519
- type: ValueOnly,
520
- },
521
- {
522
- id: 'scalingo-api-token',
523
- regex: /tk-us-[a-zA-Z0-9-_]{48}/,
524
- type: ValueOnly,
525
- },
526
- {
527
- id: 'sendbird-access-id',
528
- regex: /(?:sendbird)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['"\s\x60;]|$)/i,
529
- type: NameAndValue,
530
- },
531
- {
532
- id: 'sendbird-access-token',
533
- regex: /(?:sendbird)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-f0-9]{40})(?:['"\s\x60;]|$)/i,
534
- type: NameAndValue,
535
- },
536
- {
537
- id: 'sendgrid-api-token',
538
- regex: /\b(SG\.[a-z0-9=_\-.]{66})(?:['"\s\x60;]|$)/i,
539
- type: ValueOnly,
540
- },
541
- {
542
- id: 'sendinblue-api-token',
543
- regex: /\b(xkeysib-[a-f0-9]{64}-[a-z0-9]{16})(?:['"\s\x60;]|$)/i,
544
- type: ValueOnly,
545
- },
546
- {
547
- id: 'sentry-access-token',
548
- regex: /(?:sentry)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-f0-9]{64})(?:['"\s\x60;]|$)/i,
549
- type: NameAndValue,
550
- },
551
- {
552
- id: 'shippo-api-token',
553
- regex: /\b(shippo_(live|test)_[a-f0-9]{40})(?:['"\s\x60;]|$)/i,
554
- type: ValueOnly,
555
- },
556
- {
557
- id: 'shopify-access-token',
558
- regex: /shpat_[a-fA-F0-9]{32}/,
559
- type: ValueOnly,
560
- },
561
- {
562
- id: 'shopify-custom-access-token',
563
- regex: /shpca_[a-fA-F0-9]{32}/,
564
- type: ValueOnly,
565
- },
566
- {
567
- id: 'shopify-private-app-access-token',
568
- regex: /shppa_[a-fA-F0-9]{32}/,
569
- type: ValueOnly,
570
- },
571
- {
572
- id: 'shopify-shared-secret',
573
- regex: /shpss_[a-fA-F0-9]{32}/,
574
- type: ValueOnly,
575
- },
576
- {
577
- id: 'sidekiq-secret',
578
- regex: /(?:BUNDLE_ENTERPRISE__CONTRIBSYS__COM|BUNDLE_GEMS__CONTRIBSYS__COM)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-f0-9]{8}:[a-f0-9]{8})(?:['"\s\x60;]|$)/i,
579
- type: NameAndValue,
580
- },
581
- {
582
- id: 'slack-app-token',
583
- regex: /(xapp-\d-[A-Z0-9]+-\d+-[a-z0-9]+)/i,
584
- type: ValueOnly,
585
- },
586
- {
587
- id: 'slack-bot-token',
588
- regex: /(xoxb-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*)/,
589
- type: ValueOnly,
590
- },
591
- {
592
- id: 'slack-config-access-token',
593
- regex: /(xoxe.xox[bp]-\d-[A-Z0-9]{163,166})/i,
594
- type: ValueOnly,
595
- },
596
- {
597
- id: 'slack-config-refresh-token',
598
- regex: /(xoxe-\d-[A-Z0-9]{146})/i,
599
- type: ValueOnly,
600
- },
601
- {
602
- id: 'slack-legacy-bot-token',
603
- regex: /(xoxb-[0-9]{8,14}-[a-zA-Z0-9]{18,26})/,
604
- type: ValueOnly,
605
- },
606
- {
607
- id: 'slack-legacy-token',
608
- regex: /(xox[os]-\d+-\d+-\d+-[a-fA-F\d]+)/,
609
- type: ValueOnly,
610
- },
611
- {
612
- id: 'slack-legacy-workspace-token',
613
- regex: /(xox[ar]-(?:\d-)?[0-9a-zA-Z]{8,48})/,
614
- type: ValueOnly,
615
- },
616
- {
617
- id: 'slack-user-token',
618
- regex: /(xox[pe](?:-[0-9]{10,13}){3}-[a-zA-Z0-9-]{28,34})/,
619
- type: ValueOnly,
620
- },
621
- {
622
- id: 'slack-webhook-url',
623
- regex: /(https?:\/\/)?hooks.slack.com\/(services|workflows)\/[A-Za-z0-9+/]{43,46}/,
624
- type: ValueOnly,
625
- },
626
- {
627
- id: 'snyk-api-token',
628
- regex: /(?:snyk)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['"\s\x60;]|$)/i,
629
- type: NameAndValue,
630
- },
631
- {
632
- id: 'square-access-token',
633
- regex: /\b(sq0atp-[0-9a-z\-_]{22})(?:['"\s\x60;]|$)/i,
634
- type: ValueOnly,
635
- },
636
- {
637
- id: 'square-secret',
638
- regex: /\b(sq0csp-[0-9a-z\-_]{43})(?:['"\s\x60;]|$)/i,
639
- type: ValueOnly,
640
- },
641
- {
642
- id: 'squarespace-access-token',
643
- regex: /(?:squarespace)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['"\s\x60;]|$)/i,
644
- type: NameAndValue,
645
- },
646
- {
647
- id: 'stripe-access-token',
648
- regex: /(sk|pk)_(test|live)_[0-9a-z]{10,32}/i,
649
- type: ValueOnly,
650
- },
651
- {
652
- id: 'sumologic-access-token',
653
- regex: /(?:sumo)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{64})(?:['"\s\x60;]|$)/i,
654
- type: NameAndValue,
655
- },
656
- {
657
- id: 'telegram-bot-api-token',
658
- regex: /(?:^|[^0-9])([0-9]{5,16}:A[a-z0-9_-]{34})(?:$|[^a-z0-9_-])/i,
659
- type: ValueOnly,
660
- },
661
- {
662
- id: 'travisci-access-token',
663
- regex: /(?:travis)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{22})(?:['"\s\x60;]|$)/i,
664
- type: NameAndValue,
665
- },
666
- {
667
- id: 'trello-access-token',
668
- regex: /(?:trello)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z-0-9]{32})(?:['"\s\x60;]|$)/i,
669
- type: NameAndValue,
670
- },
671
- {
672
- id: 'twilio-api-key',
673
- regex: /SK[0-9a-fA-F]{32}/,
674
- type: ValueOnly,
675
- },
676
- {
677
- id: 'twitch-api-token',
678
- regex: /(?:twitch)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{30})(?:['"\s\x60;]|$)/i,
679
- type: NameAndValue,
680
- },
681
- {
682
- id: 'twitter-access-secret',
683
- regex: /(?:twitter)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{45})(?:['"\s\x60;]|$)/i,
684
- type: NameAndValue,
685
- },
686
- {
687
- id: 'twitter-access-token',
688
- regex: /(?:twitter)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([0-9]{15,25}-[a-z0-9]{20,40})(?:['"\s\x60;]|$)/i,
689
- type: NameAndValue,
690
- },
691
- {
692
- id: 'twitter-api-key',
693
- regex: /(?:twitter)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{25})(?:['"\s\x60;]|$)/i,
694
- type: NameAndValue,
695
- },
696
- {
697
- id: 'twitter-api-secret',
698
- regex: /(?:twitter)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{50})(?:['"\s\x60;]|$)/i,
699
- type: NameAndValue,
700
- },
701
- {
702
- id: 'twitter-bearer-token',
703
- regex: /(?:twitter)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(A{22}[a-z0-9%]{80,100})(?:['"\s\x60;]|$)/i,
704
- type: NameAndValue,
705
- },
706
- {
707
- id: 'typeform-api-token',
708
- regex: /(?:typeform)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(tfp_[a-z0-9\-_.=]{59})(?:['"\s\x60;]|$)/i,
709
- type: NameAndValue,
710
- },
711
- {
712
- id: 'vault-batch-token',
713
- regex: /\b(hvb\.[a-z0-9_-]{138,212})(?:['"\s\x60;]|$)/i,
714
- type: ValueOnly,
715
- },
716
- {
717
- id: 'vault-service-token',
718
- regex: /\b(hvs\.[a-z0-9_-]{90,100})(?:['"\s\x60;]|$)/i,
719
- type: ValueOnly,
720
- },
721
- {
722
- id: 'yandex-access-token',
723
- regex: /(?:yandex)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(t1\.[A-Z0-9a-z_-]+[=]{0,2}\.[A-Z0-9a-z_-]{86}[=]{0,2})(?:['"\s\x60;]|$)/i,
724
- type: NameAndValue,
725
- },
726
- {
727
- id: 'yandex-api-key',
728
- regex: /(?:yandex)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(AQVN[a-z0-9_-]{35,38})(?:['"\s\x60;]|$)/i,
729
- type: NameAndValue,
730
- },
731
- {
732
- id: 'yandex-aws-access-token',
733
- regex: /(?:yandex)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}(YC[a-z0-9_-]{38})(?:['"\s\x60;]|$)/i,
734
- type: NameAndValue,
735
- },
736
- {
737
- id: 'zendesk-secret-key',
738
- regex: /(?:zendesk)(?:[0-9a-z\-_\t.]{0,20})(?:[\s|']|[\s|""]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|""|\s|=|\x60){0,5}([a-z0-9]{40})(?:['"\s\x60;]|$)/i,
739
- type: NameAndValue,
740
- },
741
- ]