id: clojars-token info: name: Clojars 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 max-request: 1 tags: clojars,exposure,tokens http: - method: GET path: - "{{BaseURL}}" extractors: - type: regex part: body regex: - (?i)(CLOJARS_)[a-z0-9]{60} # digest: 490a0046304402200756a05882ded082d16a95c9e5bd73972710aea57dc19d4afafb1b5a35b5d69c022004fe660de06a3d7d843fc0025f2dd6ff85e72d1040d252bbff2b2a2e0aa1a4fc:922c64590222798bb761d5b6d8e72950