generic.secrets.security.detected-mailchimp-api-key.detected-mailchimp-api-key

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

MailChimp API Key detected

Run Locally

Run in CI

Defintion

rules:
  - id: detected-mailchimp-api-key
    pattern-regex: "[0-9a-f]{32}-us[0-9]{1,2}"
    languages:
      - regex
    message: MailChimp API Key detected
    severity: ERROR
    metadata:
      source-rule-url: https://github.com/dxa4481/truffleHogRegexes/blob/master/truffleHogRegexes/regexes.json
      category: security
      cwe:
        - "CWE-798: Use of Hard-coded Credentials"
      technology:
        - secrets
        - mailchimp
      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]
      vulnerability_class:
        - Hard-coded Secrets

Examples

detected-mailchimp-api-key.txt

# ruleid: detected-mailchimp-api-key
ac954d9304919994498d92eb0c1669b0-us8