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
  metadata:
    verified: true
    max-request: 1
  tags: alibaba,exposure,tokens

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

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