id: duffel-api-token

info:
  name: Duffel API Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/duffel-api-token.yaml
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/duffel-api-token.go
  metadata:
    verified: true
  tags: keys,file,duffel,token
file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - duffel_(test|live)_(?i)[a-z0-9_\-=]{43}
# digest: 4b0a00483046022100d369371634ca92e26032d401dda1d38ebe06b032402becd446200c9248ccbe25022100a4375cd81ed91f562efb580c4e87b06eb6474e84e5a51e22ce52f05d61858e88:922c64590222798bb761d5b6d8e72950