forked from realshiremath/react-node-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasafc.sarif
431 lines (431 loc) · 31.7 KB
/
asafc.sarif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
{
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"version": "2.1.0",
"runs": [
{
"tool": {
"driver": {
"informationUri": "https://jfrog.com/help/r/jfrog-security-documentation/jfrog-advanced-security",
"name": "JFrog Secrets scanner",
"rules": [
{
"id": "REQ.SECRET.GENERIC.TEXT",
"name": "REQ.SECRET.GENERIC.TEXT",
"shortDescription": {
"text": "Scanner for REQ.SECRET.GENERIC.TEXT"
},
"fullDescription": {
"text": "Storing hardcoded secrets in your source code or binary artifact could lead to several risks.\n\nIf the secret is associated with a wide scope of privileges, attackers could extract it from the source code or binary artifact and use it maliciously to attack many targets. For example, if the hardcoded password gives high-privilege access to an AWS account, the attackers may be able to query/modify company-wide sensitive data without per-user authentication.\n\n## Best practices\n\nUse safe storage when storing high-privilege secrets such as passwords and tokens, for example -\n\n* ### Environment Variables\n\nEnvironment variables are set outside of the application code, and can be dynamically passed to the application only when needed, for example -\n`SECRET_VAR=MySecret ./my_application`\nThis way, `MySecret` does not have to be hardcoded into `my_application`.\n\nNote that if your entire binary artifact is published (ex. a Docker container published to Docker Hub), the value for the environment variable must not be stored in the artifact itself (ex. inside the `Dockerfile` or one of the container's files) but rather must be passed dynamically, for example in the `docker run` call as an argument.\n\n* ### Secret management services\n\nExternal vendors offer cloud-based secret management services, that provide proper access control to each secret. The given access to each secret can be dynamically modified or even revoked. Some examples include -\n\n* [Hashicorp Vault](https://www.vaultproject.io)\n* [AWS KMS](https://aws.amazon.com/kms) (Key Management Service)\n* [Google Cloud KMS](https://cloud.google.com/security-key-management)\n\n## Least-privilege principle\n\nStoring a secret in a hardcoded manner can be made safer, by making sure the secret grants the least amount of privilege as needed by the application.\nFor example - if the application needs to read a specific table from a specific database, and the secret grants access to perform this operation **only** (meaning - no access to other tables, no write access at all) then the damage from any secret leaks is mitigated.\nThat being said, it is still not recommended to store secrets in a hardcoded manner, since this type of storage does not offer any way to revoke or moderate the usage of the secret.\n",
"markdown": "Storing hardcoded secrets in your source code or binary artifact could lead to several risks.\n\nIf the secret is associated with a wide scope of privileges, attackers could extract it from the source code or binary artifact and use it maliciously to attack many targets. For example, if the hardcoded password gives high-privilege access to an AWS account, the attackers may be able to query/modify company-wide sensitive data without per-user authentication.\n\n## Best practices\n\nUse safe storage when storing high-privilege secrets such as passwords and tokens, for example -\n\n* ### Environment Variables\n\nEnvironment variables are set outside of the application code, and can be dynamically passed to the application only when needed, for example -\n`SECRET_VAR=MySecret ./my_application`\nThis way, `MySecret` does not have to be hardcoded into `my_application`.\n\nNote that if your entire binary artifact is published (ex. a Docker container published to Docker Hub), the value for the environment variable must not be stored in the artifact itself (ex. inside the `Dockerfile` or one of the container's files) but rather must be passed dynamically, for example in the `docker run` call as an argument.\n\n* ### Secret management services\n\nExternal vendors offer cloud-based secret management services, that provide proper access control to each secret. The given access to each secret can be dynamically modified or even revoked. Some examples include -\n\n* [Hashicorp Vault](https://www.vaultproject.io)\n* [AWS KMS](https://aws.amazon.com/kms) (Key Management Service)\n* [Google Cloud KMS](https://cloud.google.com/security-key-management)\n\n## Least-privilege principle\n\nStoring a secret in a hardcoded manner can be made safer, by making sure the secret grants the least amount of privilege as needed by the application.\nFor example - if the application needs to read a specific table from a specific database, and the secret grants access to perform this operation **only** (meaning - no access to other tables, no write access at all) then the damage from any secret leaks is mitigated.\nThat being said, it is still not recommended to store secrets in a hardcoded manner, since this type of storage does not offer any way to revoke or moderate the usage of the secret.\n"
},
"properties": {
"applicability": "applicable",
"conclusion": "negative",
"security-severity": "6.9"
}
},
{
"id": "REQ.SECRET.GENERIC.CODE",
"name": "REQ.SECRET.GENERIC.CODE",
"shortDescription": {
"text": "Scanner for REQ.SECRET.GENERIC.CODE"
},
"fullDescription": {
"text": "Storing hardcoded secrets in your source code or binary artifact could lead to several risks.\n\nIf the secret is associated with a wide scope of privileges, attackers could extract it from the source code or binary artifact and use it maliciously to attack many targets. For example, if the hardcoded password gives high-privilege access to an AWS account, the attackers may be able to query/modify company-wide sensitive data without per-user authentication.\n\n## Best practices\n\nUse safe storage when storing high-privilege secrets such as passwords and tokens, for example -\n\n* ### Environment Variables\n\nEnvironment variables are set outside of the application code, and can be dynamically passed to the application only when needed, for example -\n`SECRET_VAR=MySecret ./my_application`\nThis way, `MySecret` does not have to be hardcoded into `my_application`.\n\nNote that if your entire binary artifact is published (ex. a Docker container published to Docker Hub), the value for the environment variable must not be stored in the artifact itself (ex. inside the `Dockerfile` or one of the container's files) but rather must be passed dynamically, for example in the `docker run` call as an argument.\n\n* ### Secret management services\n\nExternal vendors offer cloud-based secret management services, that provide proper access control to each secret. The given access to each secret can be dynamically modified or even revoked. Some examples include -\n\n* [Hashicorp Vault](https://www.vaultproject.io)\n* [AWS KMS](https://aws.amazon.com/kms) (Key Management Service)\n* [Google Cloud KMS](https://cloud.google.com/security-key-management)\n\n## Least-privilege principle\n\nStoring a secret in a hardcoded manner can be made safer, by making sure the secret grants the least amount of privilege as needed by the application.\nFor example - if the application needs to read a specific table from a specific database, and the secret grants access to perform this operation **only** (meaning - no access to other tables, no write access at all) then the damage from any secret leaks is mitigated.\nThat being said, it is still not recommended to store secrets in a hardcoded manner, since this type of storage does not offer any way to revoke or moderate the usage of the secret.\n",
"markdown": "Storing hardcoded secrets in your source code or binary artifact could lead to several risks.\n\nIf the secret is associated with a wide scope of privileges, attackers could extract it from the source code or binary artifact and use it maliciously to attack many targets. For example, if the hardcoded password gives high-privilege access to an AWS account, the attackers may be able to query/modify company-wide sensitive data without per-user authentication.\n\n## Best practices\n\nUse safe storage when storing high-privilege secrets such as passwords and tokens, for example -\n\n* ### Environment Variables\n\nEnvironment variables are set outside of the application code, and can be dynamically passed to the application only when needed, for example -\n`SECRET_VAR=MySecret ./my_application`\nThis way, `MySecret` does not have to be hardcoded into `my_application`.\n\nNote that if your entire binary artifact is published (ex. a Docker container published to Docker Hub), the value for the environment variable must not be stored in the artifact itself (ex. inside the `Dockerfile` or one of the container's files) but rather must be passed dynamically, for example in the `docker run` call as an argument.\n\n* ### Secret management services\n\nExternal vendors offer cloud-based secret management services, that provide proper access control to each secret. The given access to each secret can be dynamically modified or even revoked. Some examples include -\n\n* [Hashicorp Vault](https://www.vaultproject.io)\n* [AWS KMS](https://aws.amazon.com/kms) (Key Management Service)\n* [Google Cloud KMS](https://cloud.google.com/security-key-management)\n\n## Least-privilege principle\n\nStoring a secret in a hardcoded manner can be made safer, by making sure the secret grants the least amount of privilege as needed by the application.\nFor example - if the application needs to read a specific table from a specific database, and the secret grants access to perform this operation **only** (meaning - no access to other tables, no write access at all) then the damage from any secret leaks is mitigated.\nThat being said, it is still not recommended to store secrets in a hardcoded manner, since this type of storage does not offer any way to revoke or moderate the usage of the secret.\n"
},
"properties": {
"applicability": "applicable",
"conclusion": "negative",
"security-severity": "6.9"
}
},
{
"id": "REQ.SECRET.GENERIC.URL",
"name": "REQ.SECRET.GENERIC.URL",
"shortDescription": {
"text": "Scanner for REQ.SECRET.GENERIC.URL"
},
"fullDescription": {
"text": "Storing hardcoded secrets in your source code or binary artifact could lead to several risks.\n\nIf the secret is associated with a wide scope of privileges, attackers could extract it from the source code or binary artifact and use it maliciously to attack many targets. For example, if the hardcoded password gives high-privilege access to an AWS account, the attackers may be able to query/modify company-wide sensitive data without per-user authentication.\n\n## Best practices\n\nUse safe storage when storing high-privilege secrets such as passwords and tokens, for example -\n\n* ### Environment Variables\n\nEnvironment variables are set outside of the application code, and can be dynamically passed to the application only when needed, for example -\n`SECRET_VAR=MySecret ./my_application`\nThis way, `MySecret` does not have to be hardcoded into `my_application`.\n\nNote that if your entire binary artifact is published (ex. a Docker container published to Docker Hub), the value for the environment variable must not be stored in the artifact itself (ex. inside the `Dockerfile` or one of the container's files) but rather must be passed dynamically, for example in the `docker run` call as an argument.\n\n* ### Secret management services\n\nExternal vendors offer cloud-based secret management services, that provide proper access control to each secret. The given access to each secret can be dynamically modified or even revoked. Some examples include -\n\n* [Hashicorp Vault](https://www.vaultproject.io)\n* [AWS KMS](https://aws.amazon.com/kms) (Key Management Service)\n* [Google Cloud KMS](https://cloud.google.com/security-key-management)\n\n## Least-privilege principle\n\nStoring a secret in a hardcoded manner can be made safer, by making sure the secret grants the least amount of privilege as needed by the application.\nFor example - if the application needs to read a specific table from a specific database, and the secret grants access to perform this operation **only** (meaning - no access to other tables, no write access at all) then the damage from any secret leaks is mitigated.\nThat being said, it is still not recommended to store secrets in a hardcoded manner, since this type of storage does not offer any way to revoke or moderate the usage of the secret.\n",
"markdown": "Storing hardcoded secrets in your source code or binary artifact could lead to several risks.\n\nIf the secret is associated with a wide scope of privileges, attackers could extract it from the source code or binary artifact and use it maliciously to attack many targets. For example, if the hardcoded password gives high-privilege access to an AWS account, the attackers may be able to query/modify company-wide sensitive data without per-user authentication.\n\n## Best practices\n\nUse safe storage when storing high-privilege secrets such as passwords and tokens, for example -\n\n* ### Environment Variables\n\nEnvironment variables are set outside of the application code, and can be dynamically passed to the application only when needed, for example -\n`SECRET_VAR=MySecret ./my_application`\nThis way, `MySecret` does not have to be hardcoded into `my_application`.\n\nNote that if your entire binary artifact is published (ex. a Docker container published to Docker Hub), the value for the environment variable must not be stored in the artifact itself (ex. inside the `Dockerfile` or one of the container's files) but rather must be passed dynamically, for example in the `docker run` call as an argument.\n\n* ### Secret management services\n\nExternal vendors offer cloud-based secret management services, that provide proper access control to each secret. The given access to each secret can be dynamically modified or even revoked. Some examples include -\n\n* [Hashicorp Vault](https://www.vaultproject.io)\n* [AWS KMS](https://aws.amazon.com/kms) (Key Management Service)\n* [Google Cloud KMS](https://cloud.google.com/security-key-management)\n\n## Least-privilege principle\n\nStoring a secret in a hardcoded manner can be made safer, by making sure the secret grants the least amount of privilege as needed by the application.\nFor example - if the application needs to read a specific table from a specific database, and the secret grants access to perform this operation **only** (meaning - no access to other tables, no write access at all) then the damage from any secret leaks is mitigated.\nThat being said, it is still not recommended to store secrets in a hardcoded manner, since this type of storage does not offer any way to revoke or moderate the usage of the secret.\n"
},
"properties": {
"applicability": "not_applicable",
"conclusion": "positive"
}
},
{
"id": "REQ.SECRET.KEYS",
"name": "REQ.SECRET.KEYS",
"shortDescription": {
"text": "Scanner for REQ.SECRET.KEYS"
},
"fullDescription": {
"text": "\nStoring an API key in the image could lead to several risks.\n\nIf the key is associated with a wide scope of privileges, attackers could extract it from a single image or firmware and use it maliciously to attack many targets. For example, if the embedded key allows querying/modifying data for all cloud user accounts, without per-user authentication, the attackers who extract it would gain access to system-wide data.\n\nIf the cloud/SaaS provider bills by key usage - for example, every million queries cost the key's owner a fixed sum of money - attackers could use the keys for their own purposes (or just as a form of vandalism), incurring a large cost to the legitimate user or operator.\n\n## Best practices\n\nUse narrow scopes for stored API keys. As much as possible, API keys should be unique per host and require additional authentication with the user's individual credentials for any sensitive actions.\n\nAvoid placing keys whose use incurs costs directly in the image. Store the key with any software or hardware protection available on the host for key storage (such as operating system key-stores, hardware cryptographic storage mechanisms or cloud-managed secure storage services such as [AWS KMS](https://aws.amazon.com/kms/)).\n\nTokens that were detected as exposed should be revoked and replaced -\n\n* [AWS Key Revocation](https://aws.amazon.com/premiumsupport/knowledge-center/delete-access-key/#:~:text=If%20you%20see%20a%20warning,the%20confirmation%20box%2C%20choose%20Deactivate.)\n* [GCP Key Revocation](https://www.trendmicro.com/cloudoneconformity/knowledge-base/gcp/CloudIAM/delete-api-keys.html)\n* [Azure Key Revocation](https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#revoke-a-pat)\n* [GitHub Key Revocation](https://docs.github.com/en/rest/apps/oauth-applications#delete-an-app-authorization)\n",
"markdown": "\nStoring an API key in the image could lead to several risks.\n\nIf the key is associated with a wide scope of privileges, attackers could extract it from a single image or firmware and use it maliciously to attack many targets. For example, if the embedded key allows querying/modifying data for all cloud user accounts, without per-user authentication, the attackers who extract it would gain access to system-wide data.\n\nIf the cloud/SaaS provider bills by key usage - for example, every million queries cost the key's owner a fixed sum of money - attackers could use the keys for their own purposes (or just as a form of vandalism), incurring a large cost to the legitimate user or operator.\n\n## Best practices\n\nUse narrow scopes for stored API keys. As much as possible, API keys should be unique per host and require additional authentication with the user's individual credentials for any sensitive actions.\n\nAvoid placing keys whose use incurs costs directly in the image. Store the key with any software or hardware protection available on the host for key storage (such as operating system key-stores, hardware cryptographic storage mechanisms or cloud-managed secure storage services such as [AWS KMS](https://aws.amazon.com/kms/)).\n\nTokens that were detected as exposed should be revoked and replaced -\n\n* [AWS Key Revocation](https://aws.amazon.com/premiumsupport/knowledge-center/delete-access-key/#:~:text=If%20you%20see%20a%20warning,the%20confirmation%20box%2C%20choose%20Deactivate.)\n* [GCP Key Revocation](https://www.trendmicro.com/cloudoneconformity/knowledge-base/gcp/CloudIAM/delete-api-keys.html)\n* [Azure Key Revocation](https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#revoke-a-pat)\n* [GitHub Key Revocation](https://docs.github.com/en/rest/apps/oauth-applications#delete-an-app-authorization)\n"
},
"properties": {
"applicability": "applicable",
"conclusion": "negative",
"security-severity": "6.9"
}
}
],
"version": "1.0"
}
},
"invocations": [
{
"arguments": [
"/home/runner/.jfrog/dependencies/analyzerManager/jas_scanner/jas_scanner",
"scan",
"/tmp/jfrog.cli.temp.-1721808366-2342009255/Secrets_1721808366/config.yaml"
],
"executionSuccessful": true,
"workingDirectory": {
"uri": "/tmp/jfrog.cli.temp.-1721808302-2054180533/image.tar"
}
}
],
"results": [
{
"ruleId": "REQ.SECRET.GENERIC.TEXT",
"message": {
"text": "Hardcoded secrets were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/jwt/documentation/JWT_libraries.adoc"
},
"region": {
"startLine": 28,
"startColumn": 4,
"endLine": 28,
"endColumn": 4,
"snippet": {
"text": "tok************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.GENERIC.TEXT",
"message": {
"text": "Hardcoded secrets were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/jwt/documentation/JWT_libraries.adoc"
},
"region": {
"startLine": 40,
"startColumn": 4,
"endLine": 40,
"endColumn": 4,
"snippet": {
"text": "tok************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.GENERIC.TEXT",
"message": {
"text": "Hardcoded secrets were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/jwt/documentation/JWT_libraries.adoc"
},
"region": {
"startLine": 56,
"startColumn": 4,
"endLine": 56,
"endColumn": 4,
"snippet": {
"text": "tok************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.GENERIC.TEXT",
"message": {
"text": "Hardcoded secrets were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/jwt/documentation/JWT_refresh.adoc"
},
"region": {
"startLine": 32,
"startColumn": 5,
"endLine": 32,
"endColumn": 5,
"snippet": {
"text": "ref************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.GENERIC.TEXT",
"message": {
"text": "Hardcoded secrets were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/jwt/documentation/JWT_signing_solution.adoc"
},
"region": {
"startLine": 35,
"startColumn": 1,
"endLine": 35,
"endColumn": 1,
"snippet": {
"text": "acc************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.GENERIC.TEXT",
"message": {
"text": "Hardcoded secrets were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/lessontemplate/documentation/lesson-template-attack.adoc"
},
"region": {
"startLine": 12,
"startColumn": 25,
"endLine": 12,
"endColumn": 25,
"snippet": {
"text": "sec************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.GENERIC.TEXT",
"message": {
"text": "Hardcoded secrets were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/opt/java/openjdk/conf/management/jmxremote.password.template"
},
"region": {
"startLine": 44,
"startColumn": 2,
"endLine": 44,
"endColumn": 2,
"snippet": {
"text": "has************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.GENERIC.CODE",
"message": {
"text": "Hardcoded secrets were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/jwt/js/jwt-refresh.js"
},
"region": {
"startLine": 10,
"startColumn": 42,
"endLine": 10,
"endColumn": 42,
"snippet": {
"text": "pas************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.GENERIC.CODE",
"message": {
"text": "Hardcoded secrets were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/lib/jruby-stdlib-9.4.3.0.jar/META-INF/jruby.home/lib/ruby/stdlib/bundler/vendor/uri/lib/uri/generic.rb"
},
"region": {
"startLine": 495,
"startColumn": 12,
"endLine": 495,
"endColumn": 12,
"snippet": {
"text": "pas************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.GENERIC.CODE",
"message": {
"text": "Hardcoded secrets were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/lib/jruby-stdlib-9.4.3.0.jar/META-INF/jruby.home/lib/ruby/stdlib/uri/generic.rb"
},
"region": {
"startLine": 495,
"startColumn": 12,
"endLine": 495,
"endColumn": 12,
"snippet": {
"text": "pas************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.KEYS",
"message": {
"text": "Secret keys were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/jwt/documentation/JWT_libraries.adoc"
},
"region": {
"startLine": 28,
"startColumn": 13,
"endLine": 28,
"endColumn": 13,
"snippet": {
"text": "eyJ************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.KEYS",
"message": {
"text": "Secret keys were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/jwt/documentation/JWT_libraries.adoc"
},
"region": {
"startLine": 40,
"startColumn": 14,
"endLine": 40,
"endColumn": 14,
"snippet": {
"text": "eyJ************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.KEYS",
"message": {
"text": "Secret keys were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/jwt/documentation/JWT_libraries.adoc"
},
"region": {
"startLine": 56,
"startColumn": 15,
"endLine": 56,
"endColumn": 15,
"snippet": {
"text": "Jhb************"
}
}
}
}
]
},
{
"ruleId": "REQ.SECRET.KEYS",
"message": {
"text": "Secret keys were found"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///tmp/tmpsgcanxxs/unpacked/filesystem/blobs/sha256/bde451613ef3570e3b66c8cdbe1f880706134d7e02d8b528be5b9957466cc318/home/webgoat/webgoat.jar/BOOT-INF/classes/lessons/jwt/documentation/JWT_libraries.adoc"
},
"region": {
"startLine": 56,
"startColumn": 32,
"endLine": 56,
"endColumn": 32,
"snippet": {
"text": "idH************"
}
}
}
}
]
}
]
}
]
}