generic.secrets.security.detected-paypal-braintree-access-token.detected-paypal-braintree-access-token

Community Favorite
profile photo of returntocorpreturntocorp
Author
37,965
Download Count*

PayPal Braintree Access Token detected

Run Locally

Run in CI

Defintion

rules:
  - id: detected-paypal-braintree-access-token
    pattern-regex: access_token\$production\$[0-9a-z]{16}\$[0-9a-z]{32}
    languages:
      - regex
    message: PayPal Braintree Access Token detected
    severity: ERROR
    metadata:
      cwe:
        - "CWE-798: Use of Hard-coded Credentials"
      source-rule-url: https://github.com/dxa4481/truffleHogRegexes/blob/master/truffleHogRegexes/regexes.json
      category: security
      technology:
        - secrets
        - paypal
        - braintree
      confidence: LOW
      owasp:
        - A07:2021 - Identification and Authentication Failures
      references:
        - https://owasp.org/Top10/A07_2021-Identification_and_Authentication_Failures
      cwe2022-top25: true
      cwe2021-top25: true
      subcategory:
        - audit
      likelihood: LOW
      impact: MEDIUM
      license: Commons Clause License Condition v1.0[LGPL-2.1-only]

Examples

detected-paypal-braintree-access-token.txt

# ruleid: detected-paypal-braintree-access-token
access_token$production$aaa722wk737379q3$afefae5za65de111123a72251111e065