id: clojars-api-token

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

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)(CLOJARS_)[a-z0-9]{60}
# digest: 4b0a00483046022100c4e0f0f7de48dc2dd0247276fbe20d6bf0c5740cb80dbf5c314e1f6d10737f01022100dcd5cffbba59f39c25dee49f2fb2510cbe9a6188e59fe857eb6918acf5fe90a4:922c64590222798bb761d5b6d8e72950