id: alibaba-accesskey-id

info:
  name: Alibaba Access Key ID
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/alibaba-access-key-id.yaml
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/alibaba-access-key-id.go
  classification:
    cwe-id: CWE-522,CWE-540
  metadata:
    verified: true
    max-request: 1
  tags: alibaba,exposure,tokens,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)\b((LTAI)(?i)[a-z0-9]{20})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 490a0046304402202dfb302ab9cab52113cb3265d7ca1d7d7b3f92390942cf087c649e77643c782c022073c2caa6f5a3534103d6309d1a87050f30b91f3749f857acfc70bf88a3761e89:922c64590222798bb761d5b6d8e72950