mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
Merge pull request #6741 from Devang-Solanki/main
Added secret detectors for FCM API keys, mapbox API keys, razorpay client id, zapier webhooks
This commit is contained in:
30
exposures/tokens/mapbox/mapbox-token-disclosure.yaml
Normal file
30
exposures/tokens/mapbox/mapbox-token-disclosure.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
id: mapbox-token-disclosure
|
||||
|
||||
info:
|
||||
name: Mapbox Token Disclosure
|
||||
author: Devang-Solanki
|
||||
severity: medium
|
||||
reference:
|
||||
- https://docs.gitguardian.com/secrets-detection/detectors/specifics/mapbox_token
|
||||
- https://github.com/zricethezav/gitleaks/blob/master/cmd/generate/config/rules/mapbox.go
|
||||
metadata:
|
||||
verified: "true"
|
||||
tags: token,exposure,mapbox,disclosure
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}"
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
name: mapbox-public-token
|
||||
part: body
|
||||
regex:
|
||||
- 'pk\.eyJ1Ijoi\w+\.[\w-]*'
|
||||
|
||||
- type: regex
|
||||
name: mapbox-secret-token
|
||||
part: body
|
||||
regex:
|
||||
- 'sk\.eyJ1Ijoi\w+\.[\w-]*'
|
||||
21
exposures/tokens/razorpay/razorpay-clientid-disclosure.yaml
Normal file
21
exposures/tokens/razorpay/razorpay-clientid-disclosure.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
id: razorpay-clientid-disclosure
|
||||
|
||||
info:
|
||||
name: Razorpay Client ID Disclosure
|
||||
author: Devang-Solanki
|
||||
severity: high
|
||||
reference:
|
||||
- https://github.com/streaak/keyhacks#Razorpay-keys
|
||||
- https://docs.gitguardian.com/secrets-detection/detectors/specifics/razorpay_apikey
|
||||
tags: exposure,token,razorpay
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}"
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
part: body
|
||||
regex:
|
||||
- "rzp_(live|test)_.{14}"
|
||||
16
file/keys/fcm-api-key.yaml
Normal file
16
file/keys/fcm-api-key.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
id: fcm-api-key
|
||||
|
||||
info:
|
||||
name: Firebase Cloud Messaging Token
|
||||
author: Devang-Solanki
|
||||
severity: medium
|
||||
tags: token,file,fcm,firebase,google
|
||||
|
||||
file:
|
||||
- extensions:
|
||||
- all
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
regex:
|
||||
- '[A-Za-z0-9-_]+:APA91b[A-Za-z0-9-_#]+'
|
||||
29
file/keys/mapbox-token.yaml
Normal file
29
file/keys/mapbox-token.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
id: mapbox-token
|
||||
|
||||
info:
|
||||
name: Mapbox Token
|
||||
author: Devang-Solanki
|
||||
severity: medium
|
||||
reference:
|
||||
- https://docs.gitguardian.com/secrets-detection/detectors/specifics/mapbox_token
|
||||
- https://github.com/zricethezav/gitleaks/blob/master/cmd/generate/config/rules/mapbox.go
|
||||
metadata:
|
||||
verified: "true"
|
||||
tags: token,file,mapbox
|
||||
|
||||
file:
|
||||
- extensions:
|
||||
- all
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
name: mapbox-public-token
|
||||
part: body
|
||||
regex:
|
||||
- 'pk\.eyJ1Ijoi\w+\.[\w-]*'
|
||||
|
||||
- type: regex
|
||||
name: mapbox-secret-token
|
||||
part: body
|
||||
regex:
|
||||
- 'sk\.eyJ1Ijoi\w+\.[\w-]*'
|
||||
19
file/keys/razorpay-client-id.yaml
Normal file
19
file/keys/razorpay-client-id.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
id: razorpay-client-id
|
||||
|
||||
info:
|
||||
name: Razorpay Client ID
|
||||
author: Devang-Solanki
|
||||
severity: high
|
||||
reference:
|
||||
- https://github.com/streaak/keyhacks#Razorpay-keys
|
||||
- https://docs.gitguardian.com/secrets-detection/detectors/specifics/razorpay_apikey
|
||||
tags: token,file,razorpay
|
||||
|
||||
file:
|
||||
- extensions:
|
||||
- all
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
regex:
|
||||
- "rzp_(live|test)_.{14}"
|
||||
19
file/keys/zapier-webhook.yaml
Normal file
19
file/keys/zapier-webhook.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
id: zapier-webhook
|
||||
|
||||
info:
|
||||
name: Zapier Webhook
|
||||
author: Devang-Solanki
|
||||
severity: high
|
||||
reference:
|
||||
- https://github.com/streaak/keyhacks#Zapier-Webhook-Token
|
||||
- https://docs.gitguardian.com/secrets-detection/detectors/specifics/zapier_webhook_url
|
||||
tags: token,file,zapier
|
||||
|
||||
file:
|
||||
- extensions:
|
||||
- all
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
regex:
|
||||
- 'https://(?:www.)?hooks\.zapier\.com/hooks/catch/[A-Za-z0-9]+/[A-Za-z0-9]+/'
|
||||
Reference in New Issue
Block a user