Skip to content

Stripe Access Token

ID: stripe-access-token

Severity: info

Author: DhiyaneshDK

Tags: sumologic,exposure,tokens

id: stripe-access-token
info:
name: Stripe Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/stripe-access-token.go
- https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/stripe-access-token.yaml
metadata:
verified: true
max-request: 1
tags: sumologic,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)\b((sk|rk)_(test|live|prod)_[0-9a-z]{10,99})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 490a00463044022030fa6f36e05776dfb8b7128d584f8e8e0a0510efa79d9cec2b89ec026c7b63d40220489bbc67f8b73815d11c062ac311f3ff7fa245eb7c8184f8706e8eea26b963ee:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/stripe/stripe-access-token.yaml"

View on Github